localToggleAudio method

void localToggleAudio()

Toggles the local audio

Implementation

void localToggleAudio() {
  localParticipant!.toggleAudio();
  websocket.changeStreamAudio(
      localParticipant!.connectionId!, localParticipant!.isAudioActive);
}