ContentKeyPolicyPlayReadyLicense – Media API – MediaKind

ContentKeyPolicyPlayReadyLicense

The PlayReady license

allowTestDevices

Type: boolean
Required: Yes
A flag indicating whether test devices can use the license.

beginDate

Type: string
Format: date-time
Required: No
The begin date of license.

contentKeyLocation

Type: object
Required: Yes
The content key location.

Discriminated by @odata.type. Select one variant:

Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

Type: object
ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader
Specifies that the content key ID is in the PlayReady header.

Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

Type: object
ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier
Specifies that the content key ID is specified in the PlayReady configuration.

keyId

Type: string or null
Required: Yes
Format: uuid
The content key ID.

contentType

Type: enum
Required: Yes
The PlayReady content type.

Allowed values: Unknown, Unspecified, UltraVioletDownload, UltraVioletStreaming

expirationDate

Type: string
Optional: Yes
Format: date-time
The expiration date of license.

gracePeriod

Type: string
Optional: Yes
Format: duration
The grace period of license.

licenseType

Type: enum
Required: Yes
The license type.

Allowed values: Unknown, NonPersistent, Persistent

playRight

Type: object
ContentKeyPolicyPlayReadyPlayRight
Optional The license PlayRight.

Properties

Allowed values: Unknown, NotAllowed, Allowed, AllowedWithVideoConstriction

Allowed values: Unknown, SL150, SL2000, SL3000