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.

Stream identifier.

Sound format.

Sound rate.

Sound size.

Sound yype.

AAC packet type.

This is only present if sound_format == SoundFormat::Aac.

Audio data.

Methods

impl<Data: AsRef<[u8]>> AudioTag<Data>
[src]

Returns the number of bytes required to encode this tag.

Trait Implementations

impl<Data> From<AudioTag<Data>> for Tag<Data>
[src]

Performs the conversion.

impl<Data: Debug> Debug for AudioTag<Data>
[src]

Formats the value using the given formatter. Read more

impl<Data: Clone> Clone for AudioTag<Data>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Data> Send for AudioTag<Data> where
    Data: Send

impl<Data> Sync for AudioTag<Data> where
    Data: Sync