adjustPublishSignalVolume abstract method

Future<void> adjustPublishSignalVolume(
  1. int volume
)

Adjusts the volume of the media file for publishing.

After connected to the Agora server, you can call this method to adjust the volume of the media file heard by the remote user.

  • volume The volume, which ranges from 0 to 400: 0: Mute. 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> adjustPublishSignalVolume(int volume);