Class: shaka.polyfill.MediaCapabilities

A polyfill to provide navigator.mediaCapabilities on all browsers. This is necessary for Tizen 3, Xbox One and possibly others we have yet to discover.

Constructor

new MediaCapabilities()

A polyfill to provide navigator.mediaCapabilities on all browsers. This is necessary for Tizen 3, Xbox One and possibly others we have yet to discover.

Source:

Methods

decodingInfo_(mediaDecodingConfignon-null) → {Promise.<!MediaCapabilitiesDecodingInfo>}

Parameters:
Name Type Description
mediaDecodingConfig MediaDecodingConfiguration
Source:
Returns:
Type
Promise.<!MediaCapabilitiesDecodingInfo>

install()

Install the polyfill if needed.
Source: