StreamingPolicyFairPlayConfiguration Class

Class to specify configurations of FairPlay in Streaming Policy.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.media._serialization.Model
StreamingPolicyFairPlayConfiguration

Constructor

StreamingPolicyFairPlayConfiguration(*, allow_persistent_license: bool, custom_license_acquisition_url_template: str | None = None, **kwargs)

Keyword-Only Parameters

Name Description
custom_license_acquisition_url_template
str

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

allow_persistent_license

All license to be persistent or not. Required.

Variables

Name Description
custom_license_acquisition_url_template
str

Template for the URL of the custom service delivering licenses to end user players. Not required when using Azure Media Services for issuing licenses. The template supports replaceable tokens that the service will update at runtime with the value specific to the request. The currently supported token values are {AlternativeMediaId}, which is replaced with the value of StreamingLocatorId.AlternativeMediaId, and {ContentKeyId}, which is replaced with the value of identifier of the key being requested.

allow_persistent_license

All license to be persistent or not. Required.