setRemoteAudioVolume abstract method
Set the audio playback volume of a remote user
You can mute the audio of a remote user through
setRemoteAudioVolume(userId, 0)
.
Parameters:
- userId(String):
- ID of the specified remote user.
- volume(int):
- Volume. 100 is the original volume.
- Value range:
0, 150
. - Default value: 100.
Note: If 100 is still not loud enough for you, you can set the volume to up to 150, but there may be side effects.
Implementation
void setRemoteAudioVolume(String userId, int volume);