pub struct SchmBox {
pub scheme_type: u32,
pub scheme_version: u32,
pub scheme_uri: Option<String>,
}Available on crate feature
decrypt-cenc only.Expand description
Scheme Type Box (schm) - identifies the protection scheme.
The Scheme Type Box is used to identify the protection scheme applied to the track. Key scheme types include:
cenc(0x63656E63) - AES-CTR full sample encryptioncens(0x63656E73) - AES-CTR subsample pattern encryptioncbc1(0x63626331) - AES-CBC full sample encryptioncbcs(0x63626373) - AES-CBC pattern encryption
Fields§
§scheme_type: u32The scheme type as a 4-byte code (e.g., ‘cenc’, ‘cbcs’).
scheme_version: u32The version of the scheme.
scheme_uri: Option<String>An optional URI providing details on the protection scheme.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SchmBox
impl RefUnwindSafe for SchmBox
impl Send for SchmBox
impl Sync for SchmBox
impl Unpin for SchmBox
impl UnsafeUnpin for SchmBox
impl UnwindSafe for SchmBox
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