MediaKeySystemAccess Class

The access to a key system with a supported configuration (https://w3c.github.io/encrypted-media/#mediakeysystemaccess-interface), returned by Navigator.RequestMediaKeySystemAccess.

public sealed class MediaKeySystemAccess

Properties

NameDescription
KeySystemGets the key system (e.g. org.w3.clearkey).

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

public string KeySystem { get; }

Methods

NameDescription
CreateMediaKeys()Creates a MediaKeys object (a CDM instance) for the key system and the configuration (https://w3c.github.io/encrypted-media/#dom-mediakeysystemaccess-createmediakeys).
GetConfiguration()Returns the supported configuration selected by requestMediaKeySystemAccess(): a new object at each call.

CreateMediaKeys()

MediaKeySystemAccess.cs

Creates a MediaKeys object (a CDM instance) for the key system and the configuration (https://w3c.github.io/encrypted-media/#dom-mediakeysystemaccess-createmediakeys).

public Task<MediaKeys> CreateMediaKeys()

GetConfiguration()

MediaKeySystemAccess.cs

Returns the supported configuration selected by requestMediaKeySystemAccess(): a new object at each call.

public MediaKeySystemConfiguration GetConfiguration()