pub enum AacPacket {
SequenceHeader(Bytes),
Raw(Bytes),
Unknown {
aac_packet_type: AacPacketType,
data: Bytes,
},
}Expand description
AAC Packet This is a container for aac data. This enum contains the data for the different types of aac packets. Defined in the FLV specification. Chapter 1 - AACAUDIODATA
Variants§
SequenceHeader(Bytes)
AAC Sequence Header
Raw(Bytes)
AAC Raw
Unknown
Data we don’t know how to parse
Implementations§
Trait Implementations§
impl StructuralPartialEq for AacPacket
Auto Trait Implementations§
impl !Freeze for AacPacket
impl RefUnwindSafe for AacPacket
impl Send for AacPacket
impl Sync for AacPacket
impl Unpin for AacPacket
impl UnwindSafe for AacPacket
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