Update lib/src/options.dart

This commit is contained in:
CloudWebRTC
2023-07-14 09:49:20 +08:00
committed by GitHub
parent 42c529acd0
commit 936679cbe2
+3
View File
@@ -19,6 +19,9 @@ class TrackOption<E extends Object, T extends Object> {
/// This will enable the local participant to publish tracks on connect, /// This will enable the local participant to publish tracks on connect,
/// instead of having to explicitly publish them. /// instead of having to explicitly publish them.
/// Defaults to false for all three tracks: microphone, camera, and screen. /// Defaults to false for all three tracks: microphone, camera, and screen.
/// You can also create LocalAudio/VideoTrack on your `PreJoin` page
/// (preview camera or select audio device), Automatically publish these
/// tracks after the room is connected.
class FastConnectOptions { class FastConnectOptions {
FastConnectOptions({ FastConnectOptions({
this.microphone = const TrackOption(enabled: false), this.microphone = const TrackOption(enabled: false),