pub enum LegacyVideoTagHeader {
VideoCommand(VideoCommand),
AvcPacket(LegacyVideoTagHeaderAvcPacket),
Other {
video_codec_id: VideoCodecId,
},
}
Expand description
FLV VideoTagHeader
Defined by:
- Legacy FLV spec, Annex E.4.3.1
Variants§
VideoCommand(VideoCommand)
A video command with frame type VideoFrameType::Command
.
AvcPacket(LegacyVideoTagHeaderAvcPacket)
AVC video packet.
Other
Any other video data.
Fields
§
video_codec_id: VideoCodecId
The codec id of the video data.
Implementations§
Trait Implementations§
Source§impl Clone for LegacyVideoTagHeader
impl Clone for LegacyVideoTagHeader
Source§fn clone(&self) -> LegacyVideoTagHeader
fn clone(&self) -> LegacyVideoTagHeader
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LegacyVideoTagHeader
impl Debug for LegacyVideoTagHeader
Source§impl PartialEq for LegacyVideoTagHeader
impl PartialEq for LegacyVideoTagHeader
impl StructuralPartialEq for LegacyVideoTagHeader
Auto Trait Implementations§
impl Freeze for LegacyVideoTagHeader
impl RefUnwindSafe for LegacyVideoTagHeader
impl Send for LegacyVideoTagHeader
impl Sync for LegacyVideoTagHeader
impl Unpin for LegacyVideoTagHeader
impl UnwindSafe for LegacyVideoTagHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more