#[non_exhaustive]pub struct CodecPlan {
pub primary: PlannedCodec,
pub backup: Option<PlannedCodec>,
pub reason: &'static str,
}Expand description
The video bridge: a kessel-video backend’s cameras, screens and encoders into a call, with
the in-call self-view.
The video bridge: a kessel-video backend’s cameras, screens and encoders into a call, with
the in-call self-view.
The video bridge: a kessel-video backend’s cameras, screens and encoders into a call, with
the in-call self-view.
What a native sender publishes in (choose_codecs).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.primary: PlannedCodecThe codec every subscriber that can decode it gets.
backup: Option<PlannedCodec>The VP8 backup negotiated beside an H.264 primary, whose encoders run only while some
subscriber is on it; None: one codec.
reason: &'static strWhy this plan, for logs and the host’s readback: h264_detected, preferred_h264,
preferred_vp8, h264_not_detected, backup_off (the policy’s backup_codec or
dynacast is off, or it doesn’t list both codecs), no_h264_decode, h264_lost.
Trait Implementations§
impl Eq for CodecPlan
impl StructuralPartialEq for CodecPlan
Auto Trait Implementations§
impl Forget for CodecPlan
impl Freeze for CodecPlan
impl Move for CodecPlan
impl RefUnwindSafe for CodecPlan
impl Send for CodecPlan
impl Sync for CodecPlan
impl Unpin for CodecPlan
impl UnsafeUnpin for CodecPlan
impl UnwindSafe for CodecPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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