adjustAudioMixingVolume method Null safety

Future<void> adjustAudioMixingVolume(
  1. int volume
)

Adjusts the volume of audio mixing.

Note

  • Calling this method does not affect the volume of the audio effect file playback invoked by the RtcEngine.playEffect method.
  • Call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing) callback.

Parameter volume Audio mixing volume. The value ranges between 0 and 100 (default).

Implementation

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