pub struct ESDescriptor<'a> {
pub es_id: u16,
pub stream_priority: u8,
pub depends_on_es_id: Option<u16>,
pub url_string: Option<StringCow<'a>>,
pub ocr_es_id: Option<u16>,
pub dec_config_descr: DecoderConfigDescriptor<'a>,
pub sl_config_descr: Option<SLConfigDescriptor>,
pub unknown_descriptors: Vec<UnknownDescriptor<'a>>,
}Expand description
ES Descriptor
ISO/IEC 14496-1 - 7.2.6.5
Fields§
§es_id: u16Provides a unique label for each elementary stream within its name scope. The values 0 and 0xFFFF are reserved.
stream_priority: u8Indicates a relative measure for the priority of this elementary stream. An elementary stream with a
higher streamPriority is more important than one with a lower streamPriority. The absolute values of
streamPriority are not normatively defined.
depends_on_es_id: Option<u16>Is the ES_ID of another elementary stream on which this elementary stream depends.
The stream with dependsOn_ES_ID shall also be associated to the same object descriptor as the current
ES_Descriptor.
url_string: Option<StringCow<'a>>Points to the location of an SL-packetized stream by name. The parameters of the SL-packetized stream that is retrieved from the URL are fully specified in this ES_Descriptor. See also 7.2.7.3.3. Permissible URLs may be constrained by profile and levels as well as by specific delivery layers.
ocr_es_id: Option<u16>Indicates the ES_ID of the elementary stream within the name scope (see 7.2.7.2.4) from
which the time base for this elementary stream is derived. Circular references between elementary streams
are not permitted.
dec_config_descr: DecoderConfigDescriptor<'a>§sl_config_descr: Option<SLConfigDescriptor>§unknown_descriptors: Vec<UnknownDescriptor<'a>>A list of descriptors that are contained in this descriptor but not deserialized.
Could be any of:
IPI_DescrPointerIP_IdentificationDataSetIPMP_DescriptorPointerLanguageDescriptorQoS_DescriptorRegistrationDescriptorExtensionDescriptor
Implementations§
Source§impl ESDescriptor<'_>
impl ESDescriptor<'_>
Sourcepub fn base_descriptor(&self) -> BaseDescriptor
pub fn base_descriptor(&self) -> BaseDescriptor
Returns the base descriptor of this ESDescriptor.