Extends the MediaCapabilities API to support WebRTC streams. The MediaCapabilities API helps web sites to make informed decisions on what codec, resolution, etc. to use for video playback by providing information about whether a configuration is supported and also whether the playback is expected to be smooth. This feature extends the MediaCapabilities API to also include WebRTC streams.

Motivation

This feature extends the MediaCapabilities API to also include WebRTC streams. This will allow an RTC application to determine what media configuration that is suitable to use for this particular client even before setting up the RTC peer connection. Without this feature, the application has to guess what configuration that is suitable. This may result in poor quality due to the application using unnecessary low resolution, frame rate, etc. Or stuttering if the client is not capable of handling the stream at the desired frame rate.

Specification

Editor's draft

Status in Chromium

Blink>Media>Capabilities


No active development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • No signals

Owner

Comments

Implementation of the WebRTC part which was recently merged to the specification: https://github.com/w3c/media-capabilities/issues/159

Last updated on 2021-03-15