MediaKeySystemMediaCapability Class

A media type and its capabilities in a MediaKeySystemConfiguration (https://w3c.github.io/encrypted-media/#mediakeysystemmediacapability-dictionary).

public sealed class MediaKeySystemMediaCapability

Constructors

NameDescription
MediaKeySystemMediaCapability()

MediaKeySystemMediaCapability()

EncryptedMediaTypes.cs
public MediaKeySystemMediaCapability()

No documentation is available.

Properties

NameDescription
ContentTypeGets the MIME type of the media resource, with its codecs (e.g. video/mp4;codecs="avc1.4d401e").
EncryptionSchemeGets the encryption scheme of the content type (cenc, cbcs, cbcs-1-9), or null for any scheme.
RobustnessGets the robustness level of the content type, or the empty string for any level.

Gets the MIME type of the media resource, with its codecs (e.g. video/mp4;codecs="avc1.4d401e").

public string ContentType { get; init; }

EncryptionScheme

EncryptedMediaTypes.cs

Gets the encryption scheme of the content type (cenc, cbcs, cbcs-1-9), or null for any scheme.

public string? EncryptionScheme { get; init; }

Gets the robustness level of the content type, or the empty string for any level.

public string Robustness { get; init; }