MediaEncryptionScheme Enum

The protection scheme of an encrypted sample (ISO/IEC 23001-7, Common Encryption): the scheme_type of the schm box of an MP4 track, and the scheme of the encrypted blocks of WebM.

public enum MediaEncryptionScheme

Fields

NameValueDescription
Cenc0cenc: AES-128 in counter mode (CTR), on the whole sample or on the protected ranges of its subsamples (WebM encryption uses it too).
Cbcs1cbcs: AES-128 in cipher block chaining mode (CBC) with a pattern of encrypted and clear 16-byte blocks, restarted at each subsample.