Class: shaka.polyfill.PatchedMediaKeysWebkit.MediaKeys

Constructor

new MediaKeys(keySystem)

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

Members

(private) keySystem_ :string

Type:
  • string
Source:

Methods

(private) findSession_(sessionId) → {shaka.polyfill.PatchedMediaKeysWebkit.MediaKeySession}

Parameters:
Name Type Description
sessionId string
Source:
Returns:
Type
shaka.polyfill.PatchedMediaKeysWebkit.MediaKeySession

(private) onWebkitKeyAdded_(eventnon-null)

Parameters:
Name Type Description
event MediaKeyEvent
Source:

(private) onWebkitKeyError_(eventnon-null)

Parameters:
Name Type Description
event MediaKeyEvent
Source:

(private) onWebkitKeyMessage_(eventnon-null)

Parameters:
Name Type Description
event MediaKeyEvent
Source:

(private) onWebkitNeedKey_(eventnon-null)

Parameters:
Name Type Description
event MediaKeyEvent
Source:

(protected) setMedia(media)

Parameters:
Name Type Description
media HTMLMediaElement
Source:

setServerCertificate()

Source: