CommonEncryptionCbcs – Media API – MediaKind
CommonEncryptionCbcs
type object
clearKeyEncryptionConfiguration
object ClearKeyEncryptionConfiguration Optional
Clear key configuration
Properties
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.
Properties
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 value
contentKeys
object StreamingPolicyContentKeys Optional
Content keys used by the streaming policy.
Properties
- defaultKey: object DefaultKey Optional
Default content key used by the encryption.
Properties
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.
Properties
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.
Properties
Properties
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 value
drm
object CbcsDrmConfiguration Optional
DRM configuration
Properties
- fairPlay: object StreamingPolicyFairPlayConfiguration Optional
FairPlay configuration
Properties
allowPersistentLicense: boolean Required
Allow persistent licensecustomLicenseAcquisitionUrlTemplate: string Optional
The custom license acquisition URL template for a FairPlay license delivery service.playReady: object StreamingPolicyPlayReadyConfiguration Optional
PlayReady configuration
Properties
customLicenseAcquisitionUrlTemplate: 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
Properties
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.
Properties
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.