Class: shaka.polyfill.MediaKeyStatusMap

An implementation of MediaKeyStatusMap. This fakes a map with a single key ID. Used by the EME polyfills (Apple and WebKit).

Constructor

new MediaKeyStatusMap()

An implementation of MediaKeyStatusMap. This fakes a map with a single key ID. Used by the EME polyfills (Apple and WebKit).

Implements:
  • MediaKeyStatusMap
Source:

Members

size :number

Type:
  • number
Source:

status_ :string|undefined

Type:
  • string | undefined
Source:

Methods

getStatus() → {string|undefined}

An internal method used by the session to get key status.
Source:
Returns:
Type
string | undefined

setStatus(status)

An internal method used by the session to set key status.
Parameters:
Name Type Description
status string | undefined
Source: