adjustAudioMixingVolume abstract method

Future<void> adjustAudioMixingVolume(
  1. int volume
)

Adjusts the playback volume of the music file.

This method adjusts the playback volume of the mixed music file for both local and remote playback. Calling this method does not affect the playback volume of sound effects set via the playEffect method.

  • volume Volume range of the music file is 0~100. 100 (default) is the original file volume.

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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> adjustAudioMixingVolume(int volume);