setCameraEnabled method

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

Shortcut for publishing a TrackSource.camera

Implementation

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