setRemoteRoomAudioPlaybackVolume method

FutureOr<int> setRemoteRoomAudioPlaybackVolume(
  1. NSInteger volume
)

@detail api @author zhangcaining @brief Adjusts the audio playback volume from all the remote users in a room. @param 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 - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details @note Suppose a remote user A is always within the range of the target user whose playback volume will be adjusted,
- If you use both this method and setRemoteAudioPlaybackVolume:volume:{@link #ByteRTCEngine#setRemoteAudioPlaybackVolume:volume}, the volume that the local user hears from user A is the volume set by the method called later. - If you use both this method and setPlaybackVolume:{@link #ByteRTCEngine#setPlaybackVolume}, the volume that the local user hears from user A is the overlay of both settings.

Implementation

FutureOr<int> setRemoteRoomAudioPlaybackVolume(NSInteger volume) async {
  return await nativeCall('setRemoteRoomAudioPlaybackVolume:', [volume]);
}