setScreenShareEnabled method
Shortcut for publishing a TrackSource.screenShareVideo
Implementation
Future<LocalTrackPublication?> setScreenShareEnabled(bool enabled,
{bool? captureScreenAudio,
ScreenShareCaptureOptions? screenShareCaptureOptions}) async {
return setSourceEnabled(TrackSource.screenShareVideo, enabled,
captureScreenAudio: captureScreenAudio,
screenShareCaptureOptions: screenShareCaptureOptions);
}