When you set the volume of a device, you set either the in-call volume or the media volume.
The differences between the two are as follows:
The SDK provides six audio scenarios with the setAudioProfile
method: CHATROOM_ENTERTAINMENT
, EDUCATION
, GAME_STREAMING
, SHOWROOM
, CHATROOM_GAMING and DEFAULT
.
GAME_STREAMING
, all users use the media volume.EDUCATION
, SHOWROOM
or DEFAULT
, audience users in the Live-broadcast profile use the media volume, while host users in the Live-broadcast profile and all users in the Communication profile use the in-call volume.CHATROOM_ENTERTAINMENT
and CHATROOM_GAMING
, all users use the in-call volume.Given the system restrictions, the media volume can be set to 0, but the in-call volume cannot. If you want to adjust the volume to 0, ensure that you set an audio scenario where the system uses the media volume.