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


CbcsDrmConfiguration Class

Definition

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

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

Constructors

CbcsDrmConfiguration()

Initializes a new instance of CbcsDrmConfiguration.

Properties

FairPlay

FairPlay configurations.

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<CbcsDrmConfiguration>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CbcsDrmConfiguration>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CbcsDrmConfiguration>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CbcsDrmConfiguration>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CbcsDrmConfiguration>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to