localToggleVideo method

void localToggleVideo()

Toggles the local video

Implementation

void localToggleVideo() {
  localParticipant!.toggleVideo();
  websocket.changeStreamVideo(
      localParticipant!.connectionId!, localParticipant!.isVideoActive);
}