#[repr(u8)]pub enum ExVideoFrameType {
Keyframe = 1,
InterFrame = 2,
DisposableInterFrame = 3,
GeneratedKeyframe = 4,
CommandFrame = 5,
}Expand description
Enhanced video frame type (bits 4-6 when isExVideoHeader=1).
Note: In enhanced mode, frame type is 3 bits (1-5 valid values).
Variants§
Keyframe = 1
Keyframe (IDR for AVC/HEVC, key for VP9/AV1)
InterFrame = 2
Inter frame (P-frame)
DisposableInterFrame = 3
Disposable inter frame
GeneratedKeyframe = 4
Generated keyframe (server-side)
CommandFrame = 5
Command frame (video info)
Implementations§
Trait Implementations§
Source§impl Clone for ExVideoFrameType
impl Clone for ExVideoFrameType
Source§fn clone(&self) -> ExVideoFrameType
fn clone(&self) -> ExVideoFrameType
Returns a duplicate 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 ExVideoFrameType
impl Debug for ExVideoFrameType
Source§impl PartialEq for ExVideoFrameType
impl PartialEq for ExVideoFrameType
impl Copy for ExVideoFrameType
impl Eq for ExVideoFrameType
impl StructuralPartialEq for ExVideoFrameType
Auto Trait Implementations§
impl Freeze for ExVideoFrameType
impl RefUnwindSafe for ExVideoFrameType
impl Send for ExVideoFrameType
impl Sync for ExVideoFrameType
impl Unpin for ExVideoFrameType
impl UnwindSafe for ExVideoFrameType
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