pub enum VideoLayoutIntent {
Featured,
Pinned,
VisibleThumbnail,
Hidden,
Overflow,
}Expand description
receiver-side layout role for a video stream
the room uses this layout hint to prioritize selected video layers under bandwidth pressure it does not name an RTP encoding, simulcast RID or concrete packet gate
Variants§
Featured
main speaker or call focus
Pinned
user-pinned stream protected more strongly than ordinary thumbnails
VisibleThumbnail
thumbnail that is currently visible in the client layout
Hidden
stream hidden by the client layout
Overflow
stream outside the currently visible layout range
currently the same as hidden the distinct value leaves room for more granular client layout policy
Trait Implementations§
Source§impl Clone for VideoLayoutIntent
impl Clone for VideoLayoutIntent
Source§fn clone(&self) -> VideoLayoutIntent
fn clone(&self) -> VideoLayoutIntent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoLayoutIntent
impl Debug for VideoLayoutIntent
Source§impl<'de> Deserialize<'de> for VideoLayoutIntent
impl<'de> Deserialize<'de> for VideoLayoutIntent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VideoLayoutIntent
impl PartialEq for VideoLayoutIntent
Source§impl Serialize for VideoLayoutIntent
impl Serialize for VideoLayoutIntent
impl Copy for VideoLayoutIntent
impl Eq for VideoLayoutIntent
impl StructuralPartialEq for VideoLayoutIntent
Auto Trait Implementations§
impl Freeze for VideoLayoutIntent
impl RefUnwindSafe for VideoLayoutIntent
impl Send for VideoLayoutIntent
impl Sync for VideoLayoutIntent
impl Unpin for VideoLayoutIntent
impl UnsafeUnpin for VideoLayoutIntent
impl UnwindSafe for VideoLayoutIntent
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more