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: Timestamp
Timestamp.
stream_id: StreamId
Stream identifier.
frame_type: FrameType
Frame type.
codec_id: CodecId
Codec identifier.
avc_packet_type: Option<AvcPacketType>
AAC packet type.
This is only present if codec_id == CodecId::Avc
and
frame_type != FrameType::VideoInfoOrCommandFrame
.
composition_time: Option<TimeOffset>
Composition time offset.
This is only present if codec_id == CodecId::Avc
and
frame_type != FrameType::VideoInfoOrCommandFrame
.
data: Vec<u8>
Video data.
Trait Implementations
impl From<VideoTag> for Tag
[src]
impl From<VideoTag> for Tag
impl Debug for VideoTag
[src]
impl Debug for VideoTag
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 Clone for VideoTag
[src]
impl Clone for VideoTag