There was an error while loading. Please reload this page.
1 parent 39f5637 commit 10f6fcdCopy full SHA for 10f6fcd
1 file changed
livekit/src/room/track/local_video_track.rs
@@ -58,7 +58,13 @@ pub enum PublishingLayerQuality {
58
Medium,
59
/// High video quality.
60
High,
61
- /// Disabled video quality.
+ /// The layer is disabled and not being encoded/sent.
62
+ ///
63
+ /// Mirrors `VideoQuality::OFF` from the LiveKit protocol. In practice this
64
+ /// is not emitted by [`LocalVideoTrack::publishing_layers`] (a disabled
65
+ /// layer is instead reflected by [`PublishingLayer::active`] being
66
+ /// `false`); it exists to fully model the protocol enum and for conversions
67
+ /// to/from it.
68
Off,
69
}
70
0 commit comments