Dev Center
All
Agora.io Community
How can I prevent volume changes when the users switch their roles in an interactive live streaming channel?
Type: Quality issues    Platform: Android / iOS   Last Updated: 2020/11/16 00:19:50

For better audio experience, the SDK automatically switches the volume control when the client role changes:

  • The audience role uses the media volume control.
  • The host role uses the call volume control.

To avoid volume control changes, you can specify using the media or call volume control by setting scenario in the setAudioProfile method. Select CHATROOM_ENTERTAINMENT for Android and GAME_STREAMING for iOS.

score