Share via


StreamingPolicyFairPlayConfiguration Constructors

Definition

Overloads

StreamingPolicyFairPlayConfiguration()

Initializes a new instance of the StreamingPolicyFairPlayConfiguration class.

StreamingPolicyFairPlayConfiguration(Boolean, String)

Initializes a new instance of the StreamingPolicyFairPlayConfiguration class.

StreamingPolicyFairPlayConfiguration()

Initializes a new instance of the StreamingPolicyFairPlayConfiguration class.

public StreamingPolicyFairPlayConfiguration ();
Public Sub New ()

Applies to

StreamingPolicyFairPlayConfiguration(Boolean, String)

Initializes a new instance of the StreamingPolicyFairPlayConfiguration class.

public StreamingPolicyFairPlayConfiguration (bool allowPersistentLicense, string customLicenseAcquisitionUrlTemplate = default);
new Microsoft.Azure.Management.Media.Models.StreamingPolicyFairPlayConfiguration : bool * string -> Microsoft.Azure.Management.Media.Models.StreamingPolicyFairPlayConfiguration
Public Sub New (allowPersistentLicense As Boolean, Optional customLicenseAcquisitionUrlTemplate As String = Nothing)

Parameters

allowPersistentLicense
Boolean

All license to be persistent or not

customLicenseAcquisitionUrlTemplate
String

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.

Applies to