Struct flv_codec::AudioTag [−][src]
pub struct AudioTag<Data = Vec<u8>> { pub timestamp: Timestamp, pub stream_id: StreamId, pub sound_format: SoundFormat, pub sound_rate: SoundRate, pub sound_size: SoundSize, pub sound_type: SoundType, pub aac_packet_type: Option<AacPacketType>, pub data: Data, }
Audio tag.
Fields
timestamp: Timestamp
Timestamp.
stream_id: StreamId
Stream identifier.
sound_format: SoundFormat
Sound format.
sound_rate: SoundRate
Sound rate.
sound_size: SoundSize
Sound size.
sound_type: SoundType
Sound yype.
aac_packet_type: Option<AacPacketType>
AAC packet type.
This is only present if sound_format == SoundFormat::Aac
.
data: Data
Audio data.
Methods
impl<Data: AsRef<[u8]>> AudioTag<Data>
[src]
impl<Data: AsRef<[u8]>> AudioTag<Data>
Trait Implementations
impl<Data> From<AudioTag<Data>> for Tag<Data>
[src]
impl<Data> From<AudioTag<Data>> for Tag<Data>
impl<Data: Debug> Debug for AudioTag<Data>
[src]
impl<Data: Debug> Debug for AudioTag<Data>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Data: Clone> Clone for AudioTag<Data>
[src]
impl<Data: Clone> Clone for AudioTag<Data>