setCameraEnabled method
- bool enabled,
- {CameraCaptureOptions? cameraCaptureOptions}
Shortcut for publishing a TrackSource.camera
Implementation
Future<LocalTrackPublication?> setCameraEnabled(bool enabled,
{CameraCaptureOptions? cameraCaptureOptions}) async {
return setSourceEnabled(TrackSource.camera, enabled,
cameraCaptureOptions: cameraCaptureOptions);
}