mute

Sets whether to mute the media file.

virtual int mute(bool muted) = 0;

Timing

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

Parameters

muted
Whether to mute the media file:
  • true: Mute the media file.
  • false: (Default) Unmute the media file.

Return Values

  • 0: Success.
  • < 0: Failure.