adjustPlaybackSignalVolume method

  1. @override
Future<void> adjustPlaybackSignalVolume(
  1. int volume
)

Adjusts the playback volume of all remote users.

Note

  • This method adjusts the playback volume which is mixed volume of all remote users.
  • To mute the local audio playback, call both RtcEngine.adjustPlaybackSignalVolume and RtcEngine.adjustAudioMixingVolume, and set volume as 0.
  • To avoid echoes and improve call quality, recommends setting the value of volume between 0 and 100. If you need to set the value higher than 100, contact hi@dync.cc first.

Parameter volume The playback volume of all remote users. The value ranges from 0 to 400:

  • 0: Mute.
  • 100: The original volume.
  • 400: (Maximum) Four times the original volume with signal clipping protection.

Implementation

@override
Future<void> adjustPlaybackSignalVolume(int volume) {
  return _invokeMethod('adjustPlaybackSignalVolume', {'volume': volume});
}