pub struct SubRepresentation {Show 31 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 FramePacking: Vec<FramePacking>,
pub AudioChannelConfiguration: Vec<AudioChannelConfiguration>,
pub ContentProtection: Vec<ContentProtection>,
pub OutputProtection: Option<OutputProtection>,
pub essential_property: Vec<EssentialProperty>,
pub supplemental_property: Vec<SupplementalProperty>,
pub InbandEventStream: Vec<InbandEventStream>,
pub Switching: Vec<Switching>,
pub group_label: Vec<Label>,
pub Label: Vec<Label>,
pub ProducerReferenceTime: Option<ProducerReferenceTime>,
pub Resync: Option<Resync>,
}
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>
§FramePacking: Vec<FramePacking>
§AudioChannelConfiguration: Vec<AudioChannelConfiguration>
§ContentProtection: Vec<ContentProtection>
§OutputProtection: Option<OutputProtection>
§essential_property: Vec<EssentialProperty>
§supplemental_property: Vec<SupplementalProperty>
§InbandEventStream: Vec<InbandEventStream>
§Switching: Vec<Switching>
§group_label: Vec<Label>
§Label: Vec<Label>
§ProducerReferenceTime: Option<ProducerReferenceTime>
§Resync: Option<Resync>
Trait Implementations§
Source§impl Clone for SubRepresentation
impl Clone for SubRepresentation
Source§fn clone(&self) -> SubRepresentation
fn clone(&self) -> SubRepresentation
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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