mute

Sets whether to mute the media file.

int mute(boolean muted);

Timing

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

Parameters

muted
Whether to mute the media file:
  • true: Mutes the media file.
  • false: (Default) Unmutes the media file.

Return Values

  • 0: Success.
  • < 0: Failure.