Class: shaka.polyfill.EmeEncryptionSchemePolyfillMediaKeySystemAccess

Constructor

new EmeEncryptionSchemePolyfillMediaKeySystemAccess(mksanon-null, videoScheme, audioScheme)

Parameters:
Name Type Description
mksa MediaKeySystemAccess A native MediaKeySystemAccess instance to wrap.
videoScheme string | undefined The encryption scheme to add to the configuration for video.
audioScheme string | undefined The encryption scheme to add to the configuration for audio.
Implements:
  • MediaKeySystemAccess
Source:
See:

Members

audioScheme_ :string

Type:
  • string
Source:

keySystem :string

Type:
  • string
Source:

mksa_ :MediaKeySystemAccess

Type:
  • MediaKeySystemAccess
Source:

videoScheme_ :string

Type:
  • string
Source:

Methods

createMediaKeys() → {Promise<!MediaKeys>}

Source:
Returns:
A passthrough of the native MediaKeys object
Type
Promise<!MediaKeys>

getConfiguration() → {MediaKeySystemConfiguration}

Source:
Returns:
A MediaKeys config with encryptionScheme fields added
Type
MediaKeySystemConfiguration