changeMicrophoneStatus method
Implementation
void changeMicrophoneStatus(bool newValue) {
mediaStream?.getAudioTracks().forEach((element) {
element.enabled = newValue;
});
isAudioActive = newValue;
}
void changeMicrophoneStatus(bool newValue) {
mediaStream?.getAudioTracks().forEach((element) {
element.enabled = newValue;
});
isAudioActive = newValue;
}