toggleAudio method
dynamic
toggleAudio()
Implementation
toggleAudio() {
if (audioTrack != null) {
audioTrack!.enabled = !audioTrack!.enabled;
isAudioActive = audioTrack!.enabled;
}
}
toggleAudio() {
if (audioTrack != null) {
audioTrack!.enabled = !audioTrack!.enabled;
isAudioActive = audioTrack!.enabled;
}
}