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 MediaCapabilitiesKeySystemConfigurationConstructors
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| Audio | Gets the requirements of the audio track, or null. |
| DistinctiveIdentifier | Gets the requirement of a distinctive identifier: a MediaKeysRequirement value (required, optional or not-allowed). |
| InitDataType | Gets the initialization data type, or an empty string. |
| KeySystem | Gets the name of the key system (e.g. org.w3.clearkey). |
| PersistentState | Gets the requirement of a persistent state: a MediaKeysRequirement value (required, optional or not-allowed). |
| SessionTypes | Gets the required session types, or null. |
| Video | Gets the requirements of the video track, or null. |
Gets the requirements of the audio track, or null.
public KeySystemTrackConfiguration? Audio { get; init; }DistinctiveIdentifier
MediaCapabilitiesConfigurations.csGets the requirement of a distinctive identifier: a MediaKeysRequirement value (required, optional or not-allowed).
public string DistinctiveIdentifier { get; init; }InitDataType
MediaCapabilitiesConfigurations.csGets the initialization data type, or an empty string.
public string InitDataType { get; init; }KeySystem
MediaCapabilitiesConfigurations.csGets the name of the key system (e.g. org.w3.clearkey).
public required string KeySystem { get; init; }PersistentState
MediaCapabilitiesConfigurations.csGets the requirement of a persistent state: a MediaKeysRequirement value (required, optional or not-allowed).
public string PersistentState { get; init; }SessionTypes
MediaCapabilitiesConfigurations.csGets 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; }