adjustPublishSignalVolume

Adjusts the volume of the media file for publishing.

int adjustPublishSignalVolume(int volume);

You can call this method to adjust the volume of the media file heard by remote users.

Timing

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

Parameters

volume
Volume, ranging from 0 to 400:
  • 0: Mute.
  • 100: (Default) Original volume.
  • 400: Four times the original volume (amplifies the audio signal by four times).

Return Values

  • 0: Success.
  • < 0: Failure.