MediaCapabilitiesKeySystemConfiguration Class

The key system of encrypted media in a decoding configuration (Encrypted Media Extensions) (https://w3c.github.io/media-capabilities/#dictdef-mediacapabilitieskeysystemconfiguration).

public sealed class MediaCapabilitiesKeySystemConfiguration

Constructors

NameDescription
MediaCapabilitiesKeySystemConfiguration()

MediaCapabilitiesKeySystemConfiguration()

MediaCapabilitiesConfigurations.cs
  • Obsolete: Constructors of types with required members are not supported in this version of your compiler.
[Obsolete("Constructors of types with required members are not supported in this version of your compiler.", true)]
public MediaCapabilitiesKeySystemConfiguration()

No documentation is available.

Properties

NameDescription
AudioGets the requirements of the audio track, or null.
DistinctiveIdentifierGets the requirement of a distinctive identifier: a MediaKeysRequirement value (required, optional or not-allowed).
InitDataTypeGets the initialization data type, or an empty string.
KeySystemGets the name of the key system (e.g. org.w3.clearkey).
PersistentStateGets the requirement of a persistent state: a MediaKeysRequirement value (required, optional or not-allowed).
SessionTypesGets the required session types, or null.
VideoGets the requirements of the video track, or null.

Gets the requirements of the audio track, or null.

public KeySystemTrackConfiguration? Audio { get; init; }

Gets the requirement of a distinctive identifier: a MediaKeysRequirement value (required, optional or not-allowed).

public string DistinctiveIdentifier { get; init; }

Gets the initialization data type, or an empty string.

public string InitDataType { get; init; }

Gets the name of the key system (e.g. org.w3.clearkey).

public required string KeySystem { get; init; }

Gets the requirement of a persistent state: a MediaKeysRequirement value (required, optional or not-allowed).

public string PersistentState { get; init; }

Gets the required session types, or null.

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

Gets the requirements of the video track, or null.

public KeySystemTrackConfiguration? Video { get; init; }