setScreenShareEnabled method

Future<LocalTrackPublication<LocalTrack>?> setScreenShareEnabled(
  1. bool enabled
)

Shortcut for publishing a TrackSource.screenShareVideo

Implementation

Future<LocalTrackPublication?> setScreenShareEnabled(bool enabled) async {
  return setSourceEnabled(TrackSource.screenShareVideo, enabled);
}