# Muting/Pausing sound while playing IronSource ads on iOS

**URL:** <https://qa.fmod.com/t/muting-pausing-sound-while-playing-ironsource-ads-on-ios/20196>\
**Category:** Unity\
**Created:** [May 5, 2023, 10:47am UTC](https://qa.fmod.com/t/muting-pausing-sound-while-playing-ironsource-ads-on-ios/20196 "2023-05-05T10:47:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mirko.luparelli](https://avatars.discourse-cdn.com/v4/letter/m/5fc32e/32.png) [@mirko.luparelli](https://qa.fmod.com/u/mirko.luparelli)\
**Post date:** [May 5, 2023, 10:47am UTC](https://qa.fmod.com/t/muting-pausing-sound-while-playing-ironsource-ads-on-ios/20196/1 "2023-05-05T10:47:20Z")

</div>

Hello! I’m simply trying to mute the audio while I’m playing ads. I tried with `FMODUnity.RuntimeManager.PauseAllEvents(true)`, `FMODUnity.RuntimeManager.MuteAllEvents(true)` and also setting the bus volume to 0. All of these methods do work in the editor and also when I build for Android. The problem is with iOS, as the audio keeps playing nevertheless. Does this have anything to do with `UnityAppController.mm` and `AVAudioSession`? Is this supposed to be handled natively by FMOD?  
Thank you in advance for any hint.

---

<div class="post-metadata">

**Author:** ![Connor\_FMOD](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/connor_fmod/32/3685_2.png) [@Connor\_FMOD](https://qa.fmod.com/u/Connor_FMOD)\
**Post date:** [May 8, 2023, 6:45am UTC](https://qa.fmod.com/t/muting-pausing-sound-while-playing-ironsource-ads-on-ios/20196/2 "2023-05-08T06:45:30Z")

</div>

Hi,

What version of FMOD are you using?

Could you enable the `Development Build` option in the build settings:  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/7/7b514fdf370a2ed46427b3a97c9aba1f4baec148.png)

And have the FMOD logging level set to warning and see if there are any errors being logged that may help diagnose the issue.  
 ![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/6/68f267a8f3a3eae65c2eb1af08406e0814dbff85.png)
