pub struct SubRepresentation {Show 22 fields
pub level: Option<u32>,
pub dependencyLevel: Option<String>,
pub contentComponent: Option<String>,
pub mimeType: Option<String>,
pub codecs: Option<String>,
pub contentType: Option<String>,
pub profiles: Option<String>,
pub segmentProfiles: Option<String>,
pub scanType: Option<String>,
pub frameRate: Option<String>,
pub sar: Option<String>,
pub bandwidth: Option<u64>,
pub audioSamplingRate: Option<String>,
pub maxPlayoutRate: Option<f64>,
pub codingDependency: Option<bool>,
pub width: Option<u64>,
pub height: Option<u64>,
pub startWithSAP: Option<u64>,
pub maximumSAPPeriod: Option<f64>,
pub AudioChannelConfiguration: Vec<AudioChannelConfiguration>,
pub ContentProtection: Vec<ContentProtection>,
pub FramePacking: Vec<FramePacking>,
}
Expand description
A SubRepresentation contains information that only applies to one media stream in a Representation.
Fields§
§level: Option<u32>
§dependencyLevel: Option<String>
§contentComponent: Option<String>
If present, a whitespace-separated list of values of ContentComponent@id values.
mimeType: Option<String>
§codecs: Option<String>
An RFC6381 string, https://tools.ietf.org/html/rfc6381
contentType: Option<String>
§profiles: Option<String>
§segmentProfiles: Option<String>
Specifies the profiles of Segments that are essential to process the Representation. The semantics depend on the value of the @mimeType attribute.
scanType: Option<String>
If present, this attribute is expected to be set to “progressive”.
frameRate: Option<String>
§sar: Option<String>
The Sample Aspect Ratio, eg. “1:1”
bandwidth: Option<u64>
The average bandwidth of the Representation.
audioSamplingRate: Option<String>
§maxPlayoutRate: Option<f64>
Indicates the possibility for accelerated playout allowed by this codec profile and level.
codingDependency: Option<bool>
§width: Option<u64>
§height: Option<u64>
§startWithSAP: Option<u64>
§maximumSAPPeriod: Option<f64>
§AudioChannelConfiguration: Vec<AudioChannelConfiguration>
§ContentProtection: Vec<ContentProtection>
§FramePacking: Vec<FramePacking>
Trait Implementations§
Source§impl Clone for SubRepresentation
impl Clone for SubRepresentation
Source§fn clone(&self) -> SubRepresentation
fn clone(&self) -> SubRepresentation
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 SubRepresentation
impl Debug for SubRepresentation
Source§impl Default for SubRepresentation
impl Default for SubRepresentation
Source§fn default() -> SubRepresentation
fn default() -> SubRepresentation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SubRepresentationwhere
SubRepresentation: Default,
impl<'de> Deserialize<'de> for SubRepresentationwhere
SubRepresentation: 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 PartialEq for SubRepresentation
impl PartialEq for SubRepresentation
Source§impl Serialize for SubRepresentation
impl Serialize for SubRepresentation
impl StructuralPartialEq for SubRepresentation
Auto Trait Implementations§
impl Freeze for SubRepresentation
impl RefUnwindSafe for SubRepresentation
impl Send for SubRepresentation
impl Sync for SubRepresentation
impl Unpin for SubRepresentation
impl UnwindSafe for SubRepresentation
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