Hi, I’m working on multiplayer mobile game but i have a problem in iOS device when silent switch set to silent mode. The problem is BGM not muted when iOS silent switch set to silent mode. Beside that when silent switch set into not silent mode will BGM not mute.
My goal is to fix BGM become muted when in silent mode iOS.
I’m really appreciate it if someone can help me with this problem.
version : 5.14 Vivox version
Hi @michaeljack , this is an OS related issue. Please see this article we have about the silent switch on iOS: https://support.unity.com/hc/en-us/articles/4418772155412-Vivox-Why-does-audio-continue-on-iOS-with-the-Ring-Silent-switch-set-to-silent- This should guide you about how to work around this issue.
1 Like

Thanks to reply me.
after build done, Open the workspace I found required background modes but didn’t find audio run in background on my workspace. I guess i should change the AudioSession category must be set to AVAudioSessionCategoryPlayAndRecord before initialize vivox ? is there any guide to set into AVAudioSessionCategoryPlayAndRecord ?
1 Like