-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
StreamingPolicyPlayReadyConfiguration.cs
32 lines (27 loc) · 2.31 KB
/
StreamingPolicyPlayReadyConfiguration.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.ResourceManager.Media.Models
{
/// <summary> Class to specify configurations of PlayReady in Streaming Policy. </summary>
public partial class StreamingPolicyPlayReadyConfiguration
{
/// <summary> Initializes a new instance of StreamingPolicyPlayReadyConfiguration. </summary>
public StreamingPolicyPlayReadyConfiguration()
{
}
/// <summary> Initializes a new instance of StreamingPolicyPlayReadyConfiguration. </summary>
/// <param name="customLicenseAcquisitionUriTemplate"> 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. </param>
/// <param name="playReadyCustomAttributes"> Custom attributes for PlayReady. </param>
internal StreamingPolicyPlayReadyConfiguration(string customLicenseAcquisitionUriTemplate, string playReadyCustomAttributes)
{
CustomLicenseAcquisitionUriTemplate = customLicenseAcquisitionUriTemplate;
PlayReadyCustomAttributes = playReadyCustomAttributes;
}
/// <summary> 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. </summary>
public string CustomLicenseAcquisitionUriTemplate { get; set; }
/// <summary> Custom attributes for PlayReady. </summary>
public string PlayReadyCustomAttributes { get; set; }
}
}