pub struct SLConfigDescriptorCustom {Show 20 fields
pub use_access_unit_start_flag: bool,
pub use_access_unit_end_flag: bool,
pub use_random_access_point_flag: bool,
pub has_random_access_units_only_flag: bool,
pub use_padding_flag: bool,
pub use_time_stamps_flag: bool,
pub use_idle_flag: bool,
pub duration_flag: bool,
pub time_stamp_resolution: u32,
pub ocr_resolution: u32,
pub time_stamp_length: u8,
pub ocr_length: u8,
pub au_length: u8,
pub instant_bitrate_length: u8,
pub degradation_priority_length: u8,
pub au_seq_num_length: u8,
pub packet_seq_num_length: u8,
pub reserved: u8,
pub duration: Option<SLConfigDescriptorDuration>,
pub time_stamps: Option<SLConfigDescriptorTimeStamps>,
}Expand description
Present in SLConfigDescriptor when predefined is SLConfigDescriptorPredefined::Custom.
Fields§
§use_access_unit_start_flag: boolIndicates that the accessUnitStartFlag is present in each SL packet
header of this elementary stream.
use_access_unit_end_flag: boolIndicates that the accessUnitEndFlag is present in each SL packet header of
this elementary stream.
use_random_access_point_flag: boolIndicates that the RandomAccessPointFlag is present in each SL
packet header of this elementary stream.
has_random_access_units_only_flag: boolIndicates that each SL packet corresponds to a random access point.
In that case the randomAccessPointFlag need not be used.
use_padding_flag: boolIndicates that the paddingFlag is present in each SL packet header of this elementary stream.
use_time_stamps_flag: boolIndicates that time stamps are used for synchronisation of this elementary stream.
They are conveyed in the SL packet headers. Otherwise, the parameters accessUnitDuration,
compositionUnitDuration, startDecodingTimeStamp and startCompositionTimeStamp
conveyed in this SL packet header configuration shall be used for synchronisation.
use_idle_flag: boolIndicates that idleFlag is used in this elementary stream.
duration_flag: boolIndicates that the constant duration of access units and composition units for this elementary stream is subsequently signaled.
time_stamp_resolution: u32Is the resolution of the time stamps in clock ticks per second.
ocr_resolution: u32Is the resolution of the object time base in cycles per second.
time_stamp_length: u8Is the length of the time stamp fields in SL packet headers. Shall take values between zero and 64 bit.
ocr_length: u8Is the length of the objectClockReference field in SL packet headers. A length of zero
indicates that no objectClockReferences are present in this elementary stream. If OCRstreamFlag is
set, OCRLength shall be zero. Else OCRlength shall take values between zero and 64 bit.
au_length: u8Is the length of the accessUnitLength fields in SL packet headers for this elementary stream. Shall take values between zero and 32 bit.
instant_bitrate_length: u8Is the length of the instantBitrate field in SL packet headers for this
elementary stream.
degradation_priority_length: u8Is the length of the degradationPriority field in SL packet headers
for this elementary stream.
au_seq_num_length: u8Is the length of the AU_sequenceNumber field in SL packet headers for this
elementary stream.
packet_seq_num_length: u8Is the length of the packetSequenceNumber field in SL packet headers for this
elementary stream.
reserved: u8Reserved 2 bits.
duration: Option<SLConfigDescriptorDuration>Present if duration_flag is set.
time_stamps: Option<SLConfigDescriptorTimeStamps>Present if use_time_stamps_flag is set.