Intent to Prototype: MediaCapabilities API for WebRTC

82 views
Skip to first unread message

Johannes Kron

unread,
May 6, 2021, 6:22:05 PMMay 6
to blin...@chromium.org

Contact emails

kr...@google.com

Explainer

None

Specification

https://w3c.github.io/media-capabilities/

API spec

Yes

Summary

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.



Blink component

Blink>Media>Capabilities

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.



Initial public proposal

None

TAG review

None

TAG review status

Pending

Risks



Interoperability and Compatibility

None



Gecko: No signal

WebKit: No signal

Web developers: No signals


Is this feature fully tested by web-platform-tests?

No

Flag name

None

Tracking bug

https://crbug.com/1187565

Launch bug

https://crbug.com/1170306

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/6242376685191168

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages