StreamingPolicyProperties – Media API – MediaKind

StreamingPolicyProperties

object

catalogmap from strings to any Optional

The custom catalog configuration.

[any key] any

commonEncryptionCbcs object CommonEncryptionCbcs Optional

CommonEncryptionCbcs

clearKeyEncryptionConfiguration object ClearKeyEncryptionConfiguration Optional

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, Equal

property enum Required

Track property type

Allowed values: Unknown, FourCC

value string Optional

Track property value

contentKeys 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, Equal

property enum Required

Track property type

Allowed values: Unknown, FourCC

value string Optional

Track property value

drm object CbcsDrmConfiguration Optional

DRM configuration

fairPlay object StreamingPolicyFairPlayConfiguration Optional

FairPlay configuration

allowPersistentLicense boolean Required

Allow persistent license

customLicenseAcquisitionUrlTemplate string Optional

The custom license acquisition URL template for a FairPlay license delivery service.

playReady object StreamingPolicyPlayReadyConfiguration Optional

PlayReady configuration

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

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 protocol

download boolean Required

Enable download protocol

hls boolean Required

Enable HLS protocol

smoothStreaming boolean Required

Smooth streaming is not supported and the value of this field is ignored.

commonEncryptionCenc object CommonEncryptionCenc Optional

CommonEncryptionCenc

clearKeyEncryptionConfiguration object ClearKeyEncryptionConfiguration Optional

Clear key configuration

customKeysAcquisitionUrlTemplate string Optional

The custom license acquisition URL template for a Clear Key license delivery service.

operation enum Required

Track property operation. Only equality is supported.

Allowed values: Unknown, Equal

property enum Required

Track property type

Allowed values: Unknown, FourCC

value string Optional

Track property value

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.

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.

operation enum Required

Track property operation. Only equality is supported.

Allowed values: Unknown, Equal

property enum Required

Track property type

Allowed values: Unknown, FourCC

value string Optional

Track property value

drm object CencDrmConfiguration Optional

DRM configuration

customLicenseAcquisitionUrlTemplate string Optional

The custom license acquisition URL template for a PlayReady license delivery service.

playReadyCustomAttributes string Optional

The custom attributes for PlayReady.

customLicenseAcquisitionUrlTemplate string Optional

The custom license acquisition URL template for a Widevine license delivery service.

dash boolean Required

Enable Dash protocol

download boolean Required

Enable download protocol

hls boolean Required

Enable HLS protocol

smoothStreaming boolean Required

Smooth streaming is not supported and the value of this field is ignored.

defaultContentKeyPolicyName string Optional

The default content key policy name used by current streaming policy.

envelopeEncryption object EnvelopeEncryption Optional

EnvelopeEncryption

clearTracks list of objects StreamingPolicyTrackSelection Optional

Clear tracks. This is the set of tracks that will be delivered without envelope encryption.

operation enum Required

Track property operation. Only equality is supported.

Allowed values: Unknown, Equal

property enum Required

Track property type

Allowed values: Unknown, FourCC

value string Optional

Track property value