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.
Members
MediaSourceTypeSupportMap :Map<string, boolean>
    Public it for unit test, and developer could also check the support map.
    Type:
- Map<string, boolean>
Methods
isInfiniteLiveStreamDurationSupported() → {boolean}
    Determine support for MediaSource.setLiveSeekableRange and
MediaSource.clearLiveSeekableRange, which can allow for a media element
duration of Infinite by providing a non-infinite seekable range.
Returns:
- Type
- boolean
isTypeSupported(type) → {boolean}
    Cache browser engine call to improve performance on some poor platforms
    Parameters:
| Name | Type | Description | 
|---|---|---|
| type | string | 
Returns:
- Type
- boolean