Class: shaka.polyfill.PatchedMediaKeysMs.MediaKeys

Constructor

new MediaKeys(keySystem)

An implementation of MediaKeys.
Parameters:
Name Type Description
keySystem string
Implements:
  • MediaKeys
Source:

Members

(private, non-null) eventManager_ :shaka.util.EventManager

Type:
Source:

(private, non-null) nativeMediaKeys_ :MSMediaKeys

Type:
  • MSMediaKeys
Source:

Methods

createSession()

Source:

(protected) setMedia(media) → (non-null) {Promise}

Parameters:
Name Type Description
media HTMLMediaElement
Source:
Returns:
Type
Promise

setServerCertificate()

Source: