MediaKeySystemConfiguration Class
A configuration of a key system (https://w3c.github.io/encrypted-media/#mediakeysystemconfiguration-dictionary).
public sealed class MediaKeySystemConfigurationConstructors
| Name | Description |
|---|---|
| MediaKeySystemConfiguration() |
MediaKeySystemConfiguration()
EncryptedMediaTypes.cspublic MediaKeySystemConfiguration()No documentation is available.
Properties
| Name | Description |
|---|---|
| AudioCapabilities | Gets the audio types and their capabilities. |
| DistinctiveIdentifier | Gets whether a Distinctive Identifier is required. |
| InitDataTypes | Gets the Initialization Data Types (cenc, keyids, webm), or an empty list for any type. |
| Label | Gets the label of the configuration, kept in the configuration of the MediaKeySystemAccess. |
| PersistentState | Gets whether the ability to persist state is required (required to create persistent-license sessions). |
| SessionTypes | Gets the session types that must be supported, or null when the member is not present (the configuration then requires temporary). |
| VideoCapabilities | Gets the video types and their capabilities. |
AudioCapabilities
EncryptedMediaTypes.csGets the audio types and their capabilities.
public IReadOnlyList<MediaKeySystemMediaCapability> AudioCapabilities { get; init; }DistinctiveIdentifier
EncryptedMediaTypes.csGets whether a Distinctive Identifier is required.
public MediaKeysRequirement DistinctiveIdentifier { get; init; }InitDataTypes
EncryptedMediaTypes.csGets 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; }Property value
See also
PersistentState
EncryptedMediaTypes.csGets whether the ability to persist state is required (required to create persistent-license sessions).
public MediaKeysRequirement PersistentState { get; init; }SessionTypes
EncryptedMediaTypes.csGets 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.csGets the video types and their capabilities.
public IReadOnlyList<MediaKeySystemMediaCapability> VideoCapabilities { get; init; }