toggleVideo()
toggleVideo(newState?: boolean)
//This will toggle the camera state
sambaFrame.toggleVideo();
//This will enable the camera, equivalent to sambaFrame.enableVideo();
sambaFrame.toggleVideo(true);
//This will disable the camera, equivalent to sambaFrame.disableVideo();
sambaFrame.toggleVideo(false);Last updated