encodingInfo method

The MediaCapabilities.encodingInfo() method, part of the MediaCapabilities interface of the Media Capabilities API, returns a promise with the tested media configuration's capabilities information. This contains the three boolean properties supported, smooth, and powerefficient, which describe how compatible the device is with the type of media.

Implementation

external JSPromise<MediaCapabilitiesEncodingInfo> encodingInfo(
    MediaEncodingConfiguration configuration);