adjustPlaybackSignalVolume abstract method

Future<void> adjustPlaybackSignalVolume(
  1. int volume
)

Adjusts the playback signal volume of all remote users.

This method adjusts the playback volume that is the mixed volume of all remote users. You can call this method either before or after joining a channel.

  • volume The volume of the user. The value range is 0,400. 0: Mute. If you only need to mute the audio signal, Agora recommends that you use muteRecordingSignal instead. 100: (Default) The original volume. 400: Four times the original volume (amplifying the audio signals by four times).

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> adjustPlaybackSignalVolume(int volume);