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
isTypeSupported(type) → {boolean}
Cache browser engine call to improve performance on some poor platforms
Parameters:
Name | Type | Description |
---|---|---|
type |
string |
Returns:
- Type
- boolean