pub struct BitstreamSwitching {
pub source_url: Option<String>,
pub range: Option<String>,
}
Expand description
Information on the bitstream switching capabilities for Representations.
When bitstream switching is enabled, the player can seamlessly switch between Representations in the manifest without reinitializing the media decoder. This means fewer perturbations for the viewer when the network conditions change. It requires the media segments to have been encoded respecting a certain number of constraints.
Fields§
§source_url: Option<String>
§range: Option<String>
Trait Implementations§
Source§impl Clone for BitstreamSwitching
impl Clone for BitstreamSwitching
Source§fn clone(&self) -> BitstreamSwitching
fn clone(&self) -> BitstreamSwitching
Returns a copy 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 BitstreamSwitching
impl Debug for BitstreamSwitching
Source§impl Default for BitstreamSwitching
impl Default for BitstreamSwitching
Source§fn default() -> BitstreamSwitching
fn default() -> BitstreamSwitching
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BitstreamSwitchingwhere
BitstreamSwitching: Default,
impl<'de> Deserialize<'de> for BitstreamSwitchingwhere
BitstreamSwitching: Default,
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 Hash for BitstreamSwitching
impl Hash for BitstreamSwitching
Source§impl PartialEq for BitstreamSwitching
impl PartialEq for BitstreamSwitching
Source§impl Serialize for BitstreamSwitching
impl Serialize for BitstreamSwitching
impl StructuralPartialEq for BitstreamSwitching
Auto Trait Implementations§
impl Freeze for BitstreamSwitching
impl RefUnwindSafe for BitstreamSwitching
impl Send for BitstreamSwitching
impl Sync for BitstreamSwitching
impl Unpin for BitstreamSwitching
impl UnwindSafe for BitstreamSwitching
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,
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>
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