Struct dash_mpd::SubRepresentation
source · 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<u64>,
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<u64>
§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