pub struct FlvTag {
pub header: FlvTagHeader,
pub data: FlvTagData,
}Expand description
The FLV tag has three types: script tag, audio tag and video tag.
Each tag contains tag header and tag data.
The structure of each type of tag header is the same.
Fields§
§header: FlvTagHeaderThe header part of FLV tag.
data: FlvTagDataData specific for each media type:
- 8 = audio data.
- 9 = video data.
- 18 = script data.
Trait Implementations§
impl StructuralPartialEq for FlvTag
Auto Trait Implementations§
impl !Freeze for FlvTag
impl RefUnwindSafe for FlvTag
impl Send for FlvTag
impl Sync for FlvTag
impl Unpin for FlvTag
impl UnsafeUnpin for FlvTag
impl UnwindSafe for FlvTag
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