pub struct Vp8Packet {}
Expand description
Vp8Packet represents the VP8 header that is stored in the payload of an RTP Packet
Fields§
§x: u8
Required Header extended controlbits present
n: u8
when set to 1 this frame can be discarded
s: u8
start of VP8 partition
pid: u8
partition index
i: u8
Extended control bits 1 if PictureID is present
l: u8
1 if tl0picidx is present
t: u8
1 if tid is present
k: u8
1 if KEYIDX is present
picture_id: u16
Optional extension 8 or 16 bits, picture ID
tl0_pic_idx: u8
8 bits temporal level zero index
tid: u8
2 bits temporal layer index
y: u8
1 bit layer sync bit
key_idx: u8
5 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>
fn depacketize(&mut self, packet: &Bytes) -> Result<Bytes>
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
impl Eq for Vp8Packet
impl StructuralPartialEq for Vp8Packet
Auto Trait Implementations§
impl Freeze for Vp8Packet
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