Поделиться через


CencDrmConfiguration Class

Definition

Class to specify DRM configurations of CommonEncryptionCenc scheme in Streaming Policy.

public class CencDrmConfiguration : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.Models.CencDrmConfiguration>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.Models.CencDrmConfiguration>
public class CencDrmConfiguration
type CencDrmConfiguration = class
    interface IJsonModel<CencDrmConfiguration>
    interface IPersistableModel<CencDrmConfiguration>
type CencDrmConfiguration = class
Public Class CencDrmConfiguration
Implements IJsonModel(Of CencDrmConfiguration), IPersistableModel(Of CencDrmConfiguration)
Public Class CencDrmConfiguration
Inheritance
CencDrmConfiguration
Implements

Constructors

CencDrmConfiguration()

Initializes a new instance of CencDrmConfiguration.

Properties

PlayReady

PlayReady configurations.

WidevineCustomLicenseAcquisitionUriTemplate

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.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<CencDrmConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CencDrmConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CencDrmConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CencDrmConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CencDrmConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to