pub enum SourceRoomPolicySelector {
Pinned,
Featured,
ReadableDetail,
ActiveSpeaker,
VisibleThumbnail,
Hidden,
Overflow,
}Expand description
receiver-specific layout role before a concrete encoding is chosen
the budget planner reads this role to decide quality targets and pause order transport code only sees the final packet gate after the role resolves
Variants§
Pinned
the receiver explicitly pinned this source
pinned routes use featured quality and share the highest budget priority with featured routes
Featured
the receiver explicitly requested featured treatment for this source
featured routes use featured quality and share the highest budget priority with pinned routes
ReadableDetail
source policy says readable detail matters for this route
explicit pinned or featured receiver intent outranks this role
ActiveSpeaker
active-speaker policy promoted this source for the current receiver
explicit receiver intent and readable detail outrank this role
VisibleThumbnail
the source is visible as a secondary tile
visible thumbnails downswitch and pause before higher-priority routes
Hidden
the receiver is subscribed but the source is not visible right now
hidden routes skip visible-video budget and are first candidates for overload pause
Overflow
the source is outside the receiver’s visible tile set
overflow routes behave like hidden routes but keep a distinct pause reason for diagnostics
Implementations§
Source§impl SourceRoomPolicySelector
impl SourceRoomPolicySelector
pub const fn priority(self) -> SourceRoutePriority
pub const fn uses_featured_quality(self) -> bool
pub const fn counts_toward_visible_budget(self) -> bool
Trait Implementations§
Source§impl Clone for SourceRoomPolicySelector
impl Clone for SourceRoomPolicySelector
Source§fn clone(&self) -> SourceRoomPolicySelector
fn clone(&self) -> SourceRoomPolicySelector
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SourceRoomPolicySelector
impl Debug for SourceRoomPolicySelector
Source§impl From<SourceRoomPolicySelector> for DiagnosticsVideoLayoutRole
impl From<SourceRoomPolicySelector> for DiagnosticsVideoLayoutRole
Source§fn from(value: SourceRoomPolicySelector) -> Self
fn from(value: SourceRoomPolicySelector) -> Self
Source§impl PartialEq for SourceRoomPolicySelector
impl PartialEq for SourceRoomPolicySelector
impl Copy for SourceRoomPolicySelector
impl Eq for SourceRoomPolicySelector
impl StructuralPartialEq for SourceRoomPolicySelector
Auto Trait Implementations§
impl Freeze for SourceRoomPolicySelector
impl RefUnwindSafe for SourceRoomPolicySelector
impl Send for SourceRoomPolicySelector
impl Sync for SourceRoomPolicySelector
impl Unpin for SourceRoomPolicySelector
impl UnsafeUnpin for SourceRoomPolicySelector
impl UnwindSafe for SourceRoomPolicySelector
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more