toggleAudio

fun toggleAudio(): Boolean

Toggle sending local audio. This API will add or remove an audio track to the local media stream. This is different from toggleMute which simply enables/disables the existing audio track.

Return

'true' if sending audio.