setMicrophoneMute method
Implementation
@override
void setMicrophoneMute(bool mute) {
if (localStream == null) {
log("Can't perform operation [setMicrophoneMute], cause 'localStream' not initialised");
return;
}
final audioTrack = localStream!
.getAudioTracks()
.firstWhere((track) => track.kind == 'audio');
Helper.setMicrophoneMute(mute, audioTrack);
}