@nextcloud/dialogs
    Preparing search index...

    Interface MediaCapabilities

    The MediaCapabilities interface of the Media Capabilities API provides information about the decoding abilities of the device, system and browser. The API can be used to query the browser about the decoding abilities of the device based on codecs, profile, resolution, and bitrates. The information can be used to serve optimal media streams to the user and determine if playback should be smooth and power efficient.

    MDN Reference

    interface MediaCapabilities {
        decodingInfo(
            configuration: MediaDecodingConfiguration,
        ): Promise<MediaCapabilitiesDecodingInfo>;
        encodingInfo(
            configuration: MediaEncodingConfiguration,
        ): Promise<MediaCapabilitiesEncodingInfo>;
    }
    Index

    Methods