setMicrophoneEnabled method
- bool enabled,
- {AudioCaptureOptions? audioCaptureOptions}
Shortcut for publishing a TrackSource.microphone
Implementation
Future<LocalTrackPublication?> setMicrophoneEnabled(bool enabled,
{AudioCaptureOptions? audioCaptureOptions}) async {
return setSourceEnabled(TrackSource.microphone, enabled,
audioCaptureOptions: audioCaptureOptions);
}