pub enum VideoCodec {
SorensonH263 = 2,
ScreenVideo = 3,
Vp6 = 4,
Vp6Alpha = 5,
ScreenVideoV2 = 6,
Avc = 7,
Hevc = 12,
Av1 = 13,
}Expand description
Video codec ID (lower 4 bits of first byte)
Variants§
SorensonH263 = 2
Sorenson H.263
ScreenVideo = 3
Screen video
Vp6 = 4
VP6
Vp6Alpha = 5
VP6 with alpha
ScreenVideoV2 = 6
Screen video v2
Avc = 7
AVC (H.264)
Hevc = 12
HEVC (H.265) - enhanced RTMP extension
Av1 = 13
AV1 - enhanced RTMP extension
Implementations§
Trait Implementations§
Source§impl Clone for VideoCodec
impl Clone for VideoCodec
Source§fn clone(&self) -> VideoCodec
fn clone(&self) -> VideoCodec
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 VideoCodec
impl Debug for VideoCodec
Source§impl PartialEq for VideoCodec
impl PartialEq for VideoCodec
impl Copy for VideoCodec
impl Eq for VideoCodec
impl StructuralPartialEq for VideoCodec
Auto Trait Implementations§
impl Freeze for VideoCodec
impl RefUnwindSafe for VideoCodec
impl Send for VideoCodec
impl Sync for VideoCodec
impl Unpin for VideoCodec
impl UnwindSafe for VideoCodec
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