Skip to content

Commit 10f6fcd

Browse files
comments
1 parent 39f5637 commit 10f6fcd

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

livekit/src/room/track/local_video_track.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ pub enum PublishingLayerQuality {
5858
Medium,
5959
/// High video quality.
6060
High,
61-
/// Disabled video quality.
61+
/// 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.
6268
Off,
6369
}
6470

0 commit comments

Comments
 (0)