pub struct Vp8Packet {}Expand description
Vp8Packet represents the VP8 header that is stored in the payload of an RTP Packet
Fields§
§x: u8Required Header extended controlbits present
n: u8when set to 1 this frame can be discarded
s: u8start of VP8 partition
pid: u8partition index
i: u8Extended control bits 1 if PictureID is present
l: u81 if tl0picidx is present
t: u81 if tid is present
k: u81 if KEYIDX is present
picture_id: u16Optional extension 8 or 16 bits, picture ID
tl0_pic_idx: u88 bits temporal level zero index
tid: u82 bits temporal layer index
y: u81 bit layer sync bit
key_idx: u85 bits temporal key frame index
Trait Implementations§
source§impl Depacketizer for Vp8Packet
impl Depacketizer for Vp8Packet
source§fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes, Error>
fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes, Error>
depacketize parses the passed byte slice and stores the result in the VP8Packet this method is called upon
source§fn is_partition_head(&self, payload: &Bytes) -> bool
fn is_partition_head(&self, payload: &Bytes) -> bool
is_partition_head checks whether if this is a head of the VP8 partition
source§impl PartialEq for Vp8Packet
impl PartialEq for Vp8Packet
impl Eq for Vp8Packet
impl StructuralPartialEq for Vp8Packet
Auto Trait Implementations§
impl RefUnwindSafe for Vp8Packet
impl Send for Vp8Packet
impl Sync for Vp8Packet
impl Unpin for Vp8Packet
impl UnwindSafe for Vp8Packet
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