pub struct CodecConfig {
pub codec: CodecId,
pub params: VideoParams,
pub config_record: Bytes,
}Available on crate feature
codec only.Expand description
Decoder configuration handed to a Muxer so it can
build an fMP4 init segment and the HLS CODECS attribute.
Fields§
§codec: CodecIdWhich codec this configuration describes.
params: VideoParamsParsed video parameters.
config_record: BytesRaw decoder-configuration record bytes (avcC/hvcC/av1C/vvcC), or
the codec’s config access unit when no boxed record is available.
Trait Implementations§
Source§impl Clone for CodecConfig
impl Clone for CodecConfig
Source§fn clone(&self) -> CodecConfig
fn clone(&self) -> CodecConfig
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 moreAuto Trait Implementations§
impl !Freeze for CodecConfig
impl RefUnwindSafe for CodecConfig
impl Send for CodecConfig
impl Sync for CodecConfig
impl Unpin for CodecConfig
impl UnsafeUnpin for CodecConfig
impl UnwindSafe for CodecConfig
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