pub enum SourceAdaptationPolicy {
None,
ScalableVideo,
ReadableDetail,
}Expand description
receiver bandwidth behavior for one published source
set by SourcePublishIntent to decide
whether the source participates in receiver-video layer selection, route
pausing and over-budget diagnostics
Variants§
None
keep this source out of receiver-video BWE control
useful for audio or metadata-like sources that can route through normal subscriptions without spending visible-video budget
ScalableVideo
let the receiver-video planner budget the source and choose an encoding
useful for sources where thumbnail routes may downswitch or pause under receiver budget pressure
ReadableDetail
keep readable detail ahead of normal thumbnail adaptation
useful for text-heavy visual sources that stay on the highest advertised encoding until lower-priority routes are exhausted then pause if needed
Trait Implementations§
Source§impl Clone for SourceAdaptationPolicy
impl Clone for SourceAdaptationPolicy
Source§fn clone(&self) -> SourceAdaptationPolicy
fn clone(&self) -> SourceAdaptationPolicy
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 SourceAdaptationPolicy
impl Debug for SourceAdaptationPolicy
Source§impl PartialEq for SourceAdaptationPolicy
impl PartialEq for SourceAdaptationPolicy
impl Copy for SourceAdaptationPolicy
impl Eq for SourceAdaptationPolicy
impl StructuralPartialEq for SourceAdaptationPolicy
Auto Trait Implementations§
impl Freeze for SourceAdaptationPolicy
impl RefUnwindSafe for SourceAdaptationPolicy
impl Send for SourceAdaptationPolicy
impl Sync for SourceAdaptationPolicy
impl Unpin for SourceAdaptationPolicy
impl UnsafeUnpin for SourceAdaptationPolicy
impl UnwindSafe for SourceAdaptationPolicy
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
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>
Converts
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>
Converts
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