unmuteMic method

Future<void> unmuteMic([
  1. CustomStreamTrack? customMicrophoneTrack
])

Unmutes the local microphone, optionally with a custom microphone track.

Implementation

Future<void> unmuteMic([CustomStreamTrack? customMicrophoneTrack]) async {
  await _backend.unmuteMic(customAudioTrack: customMicrophoneTrack);
  _micEnabled = true;
}