Welcome to the new Daily Docs. Please let us know what you think.

setLocalAudio()

setLocalAudio(bool)

Compatibility:
Prebuilt
Custom

Updates the local mic state. Does nothing if not in a call.

Returns this.

Syntactic sugar for this.updateParticipant('local', { setAudio: bool }).