toggleAudio()
toggleAudio(newState?: boolean)
//This will toggle the microphone state
sambaFrame.toggleAudio();
//This will enable the microphone, equivalent to sambaFrame.enableAudio();
sambaFrame.toggleAudio(true);
//This will disable the microphone, equivalent to sambaFrame.disableAudio();
sambaFrame.toggleAudio(false);Last updated