#[repr(C)]pub enum moq_container_kind {
MOQ_CONTAINER_KIND_LEGACY = 0,
MOQ_CONTAINER_KIND_CMAF = 1,
MOQ_CONTAINER_KIND_LOC = 2,
MOQ_CONTAINER_KIND_UNKNOWN = 3,
}Expand description
How a media track’s frames are wrapped, independent of the codec.
The ABI carries this as a uint32_t, so an unknown discriminant from C is an
error rather than UB.
Variants§
MOQ_CONTAINER_KIND_LEGACY = 0
A QUIC VarInt timestamp prefix followed by the raw codec payload. Timestamps are in microseconds.
MOQ_CONTAINER_KIND_CMAF = 1
Fragmented MP4: each frame is a complete moof+mdat fragment, described by
the init segment in moq_container::init.
MOQ_CONTAINER_KIND_LOC = 2
Low Overhead Container (draft-ietf-moq-loc): a small property block followed by the codec payload.
MOQ_CONTAINER_KIND_UNKNOWN = 3
A container this build does not recognize, so the rendition must be ignored. Only ever read out of a catalog: publishing it is an error.
Trait Implementations§
Source§impl Clone for moq_container_kind
impl Clone for moq_container_kind
Source§fn clone(&self) -> moq_container_kind
fn clone(&self) -> moq_container_kind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for moq_container_kind
Auto Trait Implementations§
impl Freeze for moq_container_kind
impl RefUnwindSafe for moq_container_kind
impl Send for moq_container_kind
impl Sync for moq_container_kind
impl Unpin for moq_container_kind
impl UnsafeUnpin for moq_container_kind
impl UnwindSafe for moq_container_kind
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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