setRemoteRoomAudioPlaybackVolume abstract method

Future<int?> setRemoteRoomAudioPlaybackVolume(
  1. int volume
)

Adjusts the audio playback volume from all the remote users in a room.

volume Ratio(%) of playback volume to original volume, in the range 0, 400, with overflow protection.
To ensure the audio quality, we recommend setting the volume to 100.

  • 0: Mute.
  • 100: Original volume. Default value.
  • 400: Up to 4 times the original volume (with overflow protection).

Return value:

Suppose a remote user A is always within the range of the target user whose playback volume will be adjusted:

Implementation

Future<int?> setRemoteRoomAudioPlaybackVolume(int volume);