Skip to main content
setLocalAudio(enabled) Requires join() or startCamera() to be called first.

Parameters

enabled
boolean
required
true to unmute the microphone, false to mute it.

Return value

Returns this for chaining.

Example

// Mute the mic
call.setLocalAudio(false);

// Unmute the mic
call.setLocalAudio(true);

See also