MediaKeySystemConfiguration Class

A configuration of a key system (https://w3c.github.io/encrypted-media/#mediakeysystemconfiguration-dictionary).

public sealed class MediaKeySystemConfiguration

Constructors

NameDescription
MediaKeySystemConfiguration()

MediaKeySystemConfiguration()

EncryptedMediaTypes.cs
public MediaKeySystemConfiguration()

No documentation is available.

Properties

NameDescription
AudioCapabilitiesGets the audio types and their capabilities.
DistinctiveIdentifierGets whether a Distinctive Identifier is required.
InitDataTypesGets the Initialization Data Types (cenc, keyids, webm), or an empty list for any type.
LabelGets the label of the configuration, kept in the configuration of the MediaKeySystemAccess.
PersistentStateGets whether the ability to persist state is required (required to create persistent-license sessions).
SessionTypesGets the session types that must be supported, or null when the member is not present (the configuration then requires temporary).
VideoCapabilitiesGets the video types and their capabilities.

AudioCapabilities

EncryptedMediaTypes.cs

DistinctiveIdentifier

EncryptedMediaTypes.cs

Gets whether a Distinctive Identifier is required.

public MediaKeysRequirement DistinctiveIdentifier { get; init; }

Gets the Initialization Data Types (cenc, keyids, webm), or an empty list for any type.

public IReadOnlyList<string> InitDataTypes { get; init; }

Gets the label of the configuration, kept in the configuration of the MediaKeySystemAccess.

public string Label { get; init; }

PersistentState

EncryptedMediaTypes.cs

Gets whether the ability to persist state is required (required to create persistent-license sessions).

public MediaKeysRequirement PersistentState { get; init; }

Gets the session types that must be supported, or null when the member is not present (the configuration then requires temporary).

public IReadOnlyList<string>? SessionTypes { get; init; }

VideoCapabilities

EncryptedMediaTypes.cs