ContentKeyPolicyPlayReadyConfiguration – Media API – MediaKind

ContentKeyPolicyPlayReadyConfiguration

object

Specifies a configuration for PlayReady licenses.

@odata.typestringRequired

The discriminator for derived types.

licenseslist of objects ContentKeyPolicyPlayReadyLicense Required

The PlayReady licenses.

Show 11 propertiesHide 11 properties

allowTestDevicesbooleanRequired

A flag indicating whether test devices can use the license.

beginDatestringOptionalformat: date-time

The begin date of license

contentKeyLocationobjectRequired

The content key location.

Show 2 variantsHide 2 variants

Discriminated by @odata.type. Select one variant:

#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeaderobject ContentKeyPolicyPlayReadyContentEncryptionKeyFromHeader

Specifies that the content key ID is in the PlayReady header.

@odata.typestringRequired

The discriminator for derived types.

#Microsoft.Media.ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifierobject ContentKeyPolicyPlayReadyContentEncryptionKeyFromKeyIdentifier

Specifies that the content key ID is specified in the PlayReady configuration.

@odata.typestringRequired

The discriminator for derived types.

keyIdstring or nullRequiredformat: uuid

The content key ID.

contentTypeenumRequired

The PlayReady content type.

Allowed values:UnknownUnspecifiedUltraVioletDownloadUltraVioletStreaming

expirationDatestringOptionalformat: date-time

The expiration date of license.

gracePeriodstringOptionalformat: duration

The grace period of license.

licenseTypeenumRequired

The license type.

Allowed values:UnknownNonPersistentPersistent

playRightobject ContentKeyPolicyPlayReadyPlayRight Optional

The license PlayRight

Show 13 propertiesHide 13 properties

agcAndColorStripeRestrictionintegerOptional0 to 3

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

allowPassingVideoContentToUnknownOutputenumRequired

Configures Unknown output handling settings of the license.

Allowed values:UnknownNotAllowedAllowedAllowedWithVideoConstriction

analogVideoOplintegerOptional

Specifies the output protection level for compressed digital audio.

compressedDigitalAudioOplintegerOptional

Specifies the output protection level for compressed digital audio.

compressedDigitalVideoOplintegerOptional

Specifies the output protection level for compressed digital video.

digitalVideoOnlyContentRestrictionbooleanRequired

Enables the Image Constraint For Analog Component Video Restriction in the license.

explicitAnalogTelevisionOutputRestrictionobject ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction Optional

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

Show 2 propertiesHide 2 properties

bestEffortbooleanRequired

Indicates whether this restriction is enforced on a Best Effort basis.

configurationDataintegerRequired0 to 3

Configures the restriction control bits. Must be between 0 and 3 inclusive.

firstPlayExpirationstringOptionalformat: duration

The amount of time that the license is valid after the license is first used to play content.

imageConstraintForAnalogComponentVideoRestrictionbooleanRequired

Enables the Image Constraint For Analog Component Video Restriction in the license.

imageConstraintForAnalogComputerMonitorRestrictionbooleanRequired

Enables the Image Constraint For Analog Component Video Restriction in the license.

scmsRestrictionintegerOptional0 to 3

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

uncompressedDigitalAudioOplintegerOptional

Specifies the output protection level for uncompressed digital audio.

uncompressedDigitalVideoOplintegerOptional

Specifies the output protection level for uncompressed digital video.

relativeBeginDatestringOptionalformat: duration

The relative begin date of license.

relativeExpirationDatestringOptionalformat: duration

The relative expiration date of license.

securityLevelenumOptional

The security level.

Allowed values:UnknownSL150SL2000SL3000

responseCustomDatastringOptional

The custom response data.