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.
Members
originalMcap :MediaCapabilities
A copy of the MediaCapabilities instance, to prevent Safari from
garbage-collecting the polyfilled method on it. We make it public and export
it to ensure that it is not stripped out by the compiler.
Type:
- MediaCapabilities
Methods
decodingInfo_(mediaDecodingConfignon-null) → {Promise.<!MediaCapabilitiesDecodingInfo>}
Parameters:
Name | Type | Description |
---|---|---|
mediaDecodingConfig |
MediaDecodingConfiguration |
Returns:
- Type
- Promise.<!MediaCapabilitiesDecodingInfo>