pub enum VideoStreamSetup {
H264(NalFormat),
Hevc(NalFormat),
Vp8,
Vp9(Option<Vec<u8>>),
Av1(Option<Vec<u8>>),
}Expand description
A stream’s codec with what a decoder needs to begin on it.
Variants§
H264(NalFormat)
Hevc(NalFormat)
Vp8
Vp9(Option<Vec<u8>>)
With its vpcC record, where the container has one.
Av1(Option<Vec<u8>>)
With its av1C record, where the container has one. The chunks are AV1’s low-overhead
form, as MP4 and WebM hold them.
Implementations§
Source§impl VideoStreamSetup
impl VideoStreamSetup
pub fn codec(&self) -> VideoCodec
Trait Implementations§
Source§impl Clone for VideoStreamSetup
impl Clone for VideoStreamSetup
Source§impl Debug for VideoStreamSetup
impl Debug for VideoStreamSetup
impl Eq for VideoStreamSetup
Source§impl PartialEq for VideoStreamSetup
impl PartialEq for VideoStreamSetup
impl StructuralPartialEq for VideoStreamSetup
Auto Trait Implementations§
impl Forget for VideoStreamSetup
impl Freeze for VideoStreamSetup
impl Move for VideoStreamSetup
impl RefUnwindSafe for VideoStreamSetup
impl Send for VideoStreamSetupwhere
RawVecInner: Send,
impl Sync for VideoStreamSetupwhere
RawVecInner: Sync,
impl Unpin for VideoStreamSetup
impl UnsafeUnpin for VideoStreamSetup
impl UnwindSafe for VideoStreamSetupwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.