StreamingPolicyPlayReadyConfiguration Class

  • java.lang.Object
    • com.azure.resourcemanager.mediaservices.models.StreamingPolicyPlayReadyConfiguration

public final class StreamingPolicyPlayReadyConfiguration

Class to specify configurations of PlayReady in Streaming Policy.

Constructor Summary

Constructor Description
StreamingPolicyPlayReadyConfiguration()

Creates an instance of StreamingPolicyPlayReadyConfiguration class.

Method Summary

Modifier and Type Method and Description
String customLicenseAcquisitionUrlTemplate()

Get the customLicenseAcquisitionUrlTemplate property: Template for the URL of the custom service delivering licenses to end user players.

String playReadyCustomAttributes()

Get the playReadyCustomAttributes property: Custom attributes for PlayReady.

void validate()

Validates the instance.

StreamingPolicyPlayReadyConfiguration withCustomLicenseAcquisitionUrlTemplate(String customLicenseAcquisitionUrlTemplate)

Set the customLicenseAcquisitionUrlTemplate property: Template for the URL of the custom service delivering licenses to end user players.

StreamingPolicyPlayReadyConfiguration withPlayReadyCustomAttributes(String playReadyCustomAttributes)

Set the playReadyCustomAttributes property: Custom attributes for PlayReady.

Methods inherited from java.lang.Object

Constructor Details

StreamingPolicyPlayReadyConfiguration

public StreamingPolicyPlayReadyConfiguration()

Creates an instance of StreamingPolicyPlayReadyConfiguration class.

Method Details

customLicenseAcquisitionUrlTemplate

public String customLicenseAcquisitionUrlTemplate()

Get the customLicenseAcquisitionUrlTemplate property: 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.

Returns:

the customLicenseAcquisitionUrlTemplate value.

playReadyCustomAttributes

public String playReadyCustomAttributes()

Get the playReadyCustomAttributes property: Custom attributes for PlayReady.

Returns:

the playReadyCustomAttributes value.

validate

public void validate()

Validates the instance.

withCustomLicenseAcquisitionUrlTemplate

public StreamingPolicyPlayReadyConfiguration withCustomLicenseAcquisitionUrlTemplate(String customLicenseAcquisitionUrlTemplate)

Set the customLicenseAcquisitionUrlTemplate property: 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.

Parameters:

customLicenseAcquisitionUrlTemplate - the customLicenseAcquisitionUrlTemplate value to set.

Returns:

the StreamingPolicyPlayReadyConfiguration object itself.

withPlayReadyCustomAttributes

public StreamingPolicyPlayReadyConfiguration withPlayReadyCustomAttributes(String playReadyCustomAttributes)

Set the playReadyCustomAttributes property: Custom attributes for PlayReady.

Parameters:

playReadyCustomAttributes - the playReadyCustomAttributes value to set.

Returns:

the StreamingPolicyPlayReadyConfiguration object itself.

Applies to