--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/e3f36dd8-37d2-4aca-ab0d-6f9efddcfb68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/052b9f1a-4074-4978-aed5-329f27df5c00%40googlegroups.com.
Hi Markus,Please note that the team is now actively investigating on this. Rest assured that we will get back to this thread for any official updates.On the other hand, I tested with our sample apps (native Android, Unity) and I was able to verify that the issue is reproducible when using setAppMuted alone, however, the MobileAds.setAppVolume(0.0f) for Android SDK and MobileAds.SetApplicationVolume(0.0f) for the Unity plugin are working. Could you test on your end with our sample apps and see if you can replicate the behavior using setAppVolume()?Regards,Ivan BautistaMobile Ads SDK Team
On 09/10/18 20:48:25 markus.w...@gmail.com wrote:
--Unless it has been fixed recently setAppMuted does not work, see https://groups.google.com/d/msg/google-admob-ads-sdk/_1Arx9XY9ac/hFrhdftxCAAJNeither does setAppVolume(0).
On Thursday, September 6, 2018 at 8:53:54 AM UTC+2, Eneko Egiluz wrote:Hi,I´m trying to control my video ads to start muted or not depending on my AudioManager current status. It´s simple, if the user set the game to be muted, all video ads showing should be muted by default, if not, videos are played with normal volume level.After initializing the AdMob system [MobileAds.Initialize(admobAppID);] I´m using [MobileAds.SetApplicationMuted(bool muted)] each time the user modifies muted value in the game. But it doesn´t seem to work at all... videos (both in rewarded ads and interstitial) are always shown with full volume. Is out there any other way to do this?Thank you.
---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.
|
||||||
Hi Alex,
Thank you for your response.
I'm a colleague of Teejay and will be assisting you on this. We requested a sample video of non working behavior for us to provide it to the rest of the team to proceed in the investigation. In addition to that, can you confirm if it is both happening in Android and iOS? If yes, is there a specific device and versions where this is happening? Can you provide us with your sample APK or sample project file, and what mediation network you're using on this? You can send it via Reply privately to author option or send it directly to mobileads...@gmail.com. Kindly inform us on this thread if you sent it directly to the email provided.
Regards,
|
||||||
|
||||||
Hi Alex,
Thank you for patiently waiting.
Upon checking, the team is still investigating this. I've followed up this again with them for any updates. We will provide it to you once we have more information.
Regards,
|
||||||
Hi Alex,
My name is Nick and I will be helping you with the Android audio issue. I was unable to replicate this problem on my Android device. That said, I reason this might be an order of operations problem, I recommend waiting until after initialization to invoke SetApplicationMuted and SetApplicationVolume. See the attached code below:
private void HandleInitCompleteAction(InitializationStatus initstatus)
{
// Callbacks from GoogleMobileAds are not guaranteed to be called on
// main thread.
// In this example we use MobileAdsEventExecutor to schedule these calls on
// the next Update() loop.
MobileAdsEventExecutor.ExecuteInUpdate(() =>
{
statusText.text = "Initialization complete";
MobileAds.SetApplicationMuted(true);
MobileAds.SetApplicationVolume(0);
RequestBannerAd();
});
}
If you have any more questions, let us know.
-Nick
Hi Alex,
I was unable to replicate this issue with either the provided apk or the HelloWorld sample. In order to diagnose this further, can I get a logcat / network trace of a session where this error occurs. You can read this guide to understand how to setup network tracing.
Thanks,
Nick