How to Check the mute state of the video controller in iOS

108 views
Skip to first unread message

Dhana Srinivasan

unread,
Mar 23, 2021, 1:10:51 AM3/23/21
to Google Mobile Ads SDK Developers
Hello , 
In My App I use   Google-Mobile-Ads-SDK (pod 'Google-Mobile-Ads-SDK', '7.69.0') to render video ads .

Now,  I want to enable video ads with custom video controls , curies to know how to 
Check the mute state of the video controller . 
There is no API to get the muted state from  GADVideoController. could you please help me to solve this .
but its  available  in  android , why this difference ?

Problem statement :
1. Video ads enabled with custom video control , now I am able to set mute/unmute or play/pause without any issue .
But when the video ads loaded  , unable to get isMuted state to set my  sound button status ? what is the current state or what was the current state .

Thanks & Regards,
Saroj

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 23, 2021, 3:42:39 AM3/23/21
to google-adm...@googlegroups.com

Hi Saroj,

Thank you for bringing this to us.

I can confirm that there are no "isMuted" boolean state for iOS GADVideoController. Could you please provide us a use case for why do you need "isMuted" boolean state in iOS GADVideoController. For us to bring this to the team and make a request for this to be added in the SDK.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2Dxxa5:ref

Dhana Srinivasan

unread,
Mar 24, 2021, 3:14:29 AM3/24/21
to Google Mobile Ads SDK Developers
Thanks @Pamela for your response , please find my use case here 
use case : 
In our App we use video Ads cards in a list(UICollectionView) manner with vertical scroll , here each cell as a video ad card .
when cell on visible area will play the video with sound mute/unmute , if user scroll up or down will leave the visible area will stop/pause  it .
Once again when it on visible area  it will resume the play but difficult part is how to set the mute or unmute state of sound button on ad card ? because from 
GADVideoController we can't get the previous mute state .

One more scenario when user tap on each Ads card , we navigate to detail screen with video Ads custom control enabled .
This detail screen is common for all Ads , Now , how to set sound button state ? was it mute or unmute ? because GADVideoController  does not say anything about that .

please have a look to my attachment , may be it can explain my problem . if I didn't explained it properly  feel free to reach me .

PFA

Thanks & Regards,
Saroj 
ad_customcontrol.png

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 24, 2021, 6:31:05 AM3/24/21
to google-adm...@googlegroups.com
Hi there,

I work along with Pamela. Thank you for providing your use case.

I've created a feature request for this so the team can review if this is feasible. However, we cannot guarantee if and when this would become available. You can monitor our release notes for future updates regarding this.

Regards,
Google Logo
Teejay Wennie Pimentel
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2Dxxa5:ref

Dhana Srinivasan

unread,
May 31, 2021, 12:01:39 AM5/31/21
to Google Mobile Ads SDK Developers

Hi Teejay ,
Any update on this API , when will be released ? 
Thanks .

Mobile Ads SDK Forum Advisor Prod

unread,
May 31, 2021, 2:35:47 AM5/31/21
to google-adm...@googlegroups.com

Hi there,

Thank you for your patience. This feature is still under team review. Let me follow up the team regarding this.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2Dxxa5:ref

Mobile Ads SDK Forum Advisor

unread,
Feb 14, 2023, 1:19:07 PM2/14/23
to google-adm...@googlegroups.com
Hello,

Thank you for your patience. Reporting that we have addressed the issue and the update for this fix will be in the next release of the iOS Google Mobile Ads SDK (10.1.0). 

Thanks,
Justin

ref:_00D1U1174p._5004Q2Dxxa5:ref
Reply all
Reply to author
Forward
0 new messages