adjustPublishSignalVolume

Adjusts the volume of the media file for publishing.

virtual int adjustPublishSignalVolume(int volume) = 0;

Timing

You can call this method before or after joining a channel.

Parameters

volume
Volume. The range is [0, 400]:
  • 0: Muted.
  • 100: (Default) Original volume.
  • 400: Four times the original volume (amplifies the audio signal by 4x).

Return Values

  • 0: Success.
  • < 0: Failure.