MediaCapabilities
The MediaCapabilities
interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser.
Functions
Link copied to clipboard
The decodingInfo()
method of the MediaCapabilities interface returns a promise that fulfils with information about how well the user agent can decode/display media with a given configuration.
Link copied to clipboard
fun decodingInfoAsync(configuration: MediaDecodingConfiguration): Promise<MediaCapabilitiesDecodingInfo>
Link copied to clipboard
The encodingInfo()
method of the MediaCapabilities interface returns a promise that fulfills with the tested media configuration's capabilities for encoding media.
Link copied to clipboard
fun encodingInfoAsync(configuration: MediaEncodingConfiguration): Promise<MediaCapabilitiesEncodingInfo>