Struct flv_codec::VideoTag[][src]

pub struct VideoTag {
    pub timestamp: Timestamp,
    pub stream_id: StreamId,
    pub frame_type: FrameType,
    pub codec_id: CodecId,
    pub avc_packet_type: Option<AvcPacketType>,
    pub composition_time: Option<TimeOffset>,
    pub data: Vec<u8>,
}

Video tag.

Fields

Timestamp.

Stream identifier.

Frame type.

Codec identifier.

AAC packet type.

This is only present if codec_id == CodecId::Avc and frame_type != FrameType::VideoInfoOrCommandFrame.

Composition time offset.

This is only present if codec_id == CodecId::Avc and frame_type != FrameType::VideoInfoOrCommandFrame.

Video data.

Trait Implementations

impl From<VideoTag> for Tag
[src]

Performs the conversion.

impl Debug for VideoTag
[src]

Formats the value using the given formatter. Read more

impl Clone for VideoTag
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for VideoTag

impl Sync for VideoTag