setAudioPlayoutVolume method

Future<void> setAudioPlayoutVolume(
  1. int volume
)

Set the playback volume of remote audio

This function controls the volume of the sound ultimately delivered to the system for playback. It affects the volume of the recorded local audio file but not the volume of in-ear monitoring.

Parameters:

volume Volume. Value range: 0100

Platform not supported:

  • web

Implementation

Future<void> setAudioPlayoutVolume(
    int volume // volume Volume. Value range: 0–100. Default value: 100
    ) {
  return _cloudChannel!.invokeMethod('setAudioPlayoutVolume', {
    "volume": volume,
  });
}