Class: shaka.media.Capabilities

This is for capturing all media source capabilities on current platform. And this is for static check and can not be constructed.

Constructor

new Capabilities()

This is for capturing all media source capabilities on current platform. And this is for static check and can not be constructed.

Source:

Members

MediaSourceTypeSupportMap :Map.<string, boolean>

Public it for unit test, and developer could also check the support map.
Type:
  • Map.<string, boolean>
Source:

Methods

isTypeSupported(type) → {boolean}

Cache browser engine call to improve performance on some poor platforms
Parameters:
Name Type Description
type string
Source:
Returns:
Type
boolean