CommonEncryptionCenc – Media API – MediaKind
CommonEncryptionCenc
clearKeyEncryptionConfiguration
Type: object ClearKeyEncryptionConfiguration
Description: Clear key configuration
customKeysAcquisitionUrlTemplate: string Optional
The custom license acquisition URL template for a Clear Key license delivery service.clearTracks: list of objects StreamingPolicyTrackSelection Optional
This represents which tracks should not be encrypted.trackSelections: list of objects StreamingPolicyTrackPropertyCondition Optional
track selections is used to specify a set or a subset of track for selection by the streaming policy.operation: enum Required
Track property operation. Only equality is supported.
Allowed values: Unknown, Equalproperty: enum Required
Track property type
Allowed values: Unknown, FourCCvalue: string Optional
Track property valuecontentKeys: object StreamingPolicyContentKeys Optional
Content keys used by the streaming policy.defaultKey: object DefaultKey Optional
Default content key used by the encryption.label: string Optional
Labels are a potential matching field for selecting a content key via a streaming locator.policyName: string Optional
Policy used by the key.keyToTrackMappings: list of objects StreamingPolicyContentKey Optional
List of content keys used by the key. Used to assign different keys to different tracks. For instance, using widevine L3 for SD and L1 for HD.
label: string Optional
Labels are a potential matching field for selecting a content key via a streaming locator.policyName: string Optional
Policy used by the key.tracks: list of objects StreamingPolicyTrackSelection Optional
This represents which tracks should be encrypted.
operation: enum Required
Track property operation. Only equality is supported.
Allowed values: Unknown, Equalproperty: enum Required
Track property type
Allowed values: Unknown, FourCCvalue: string Optional
Track property valuedrm: object CencDrmConfiguration Optional
DRM configurationplayReady: object StreamingPolicyPlayReadyConfiguration Optional
PlayReady configurationcustomLicenseAcquisitionUrlTemplate: string Optional
The custom license acquisition URL template for a PlayReady license delivery service.playReadyCustomAttributes: string Optional
The custom attributes for PlayReady.widevine: object StreamingPolicyWidevineConfiguration Optional
Widevine configuration
customLicenseAcquisitionUrlTemplate: string Optional
The custom license acquisition URL template for a Widevine license delivery service.enabledProtocols: object EnabledProtocols Optional
Enabled protocols. This is the set of protocols (dash, download, and hls) that will be delivered with common encryption.dash: boolean Required
Enable Dash protocoldownload: boolean Required
Enable download protocolhls: boolean Required
Enable HLS protocolsmoothStreaming: boolean Required
Smooth streaming is not supported and the value of this field is ignored.