Intent to Prototype: MediaTrackConstraintSet.displaySurface

21 views
Skip to first unread message

Elad Alon

unread,
May 25, 2022, 8:46:17 AMMay 25
to blink-dev

Contact emails

elad...@chromium.org

Explainer

https://docs.google.com/document/d/1uI51R4YfFQtfiDTw1KfnLqzIu45OgxhYoUT7khlhmwQ/edit?usp=sharing

Specification

https://github.com/w3c/mediacapture-screen-share/pull/186/files

Summary

When getDisplayMedia() is called, the browser offers the user a choice of display surfaces - tabs, windows and monitors. Using the displaySurface constraint, the Web application may now hint to the browser if it prefers that a certain surface type be more prominently offered to the user.



Blink component

Blink

Motivation

Less friction for user journeys that are tied to specific pairings between the capturing Web application and a specific capture source type.



Initial public proposal

https://github.com/w3c/mediacapture-screen-share/issues/184

TAG review

N/A. This is just an addition of a single flag to an existing dictionary, following well-known patterns.

TAG review status

Not applicable

Risks



Interoperability and Compatibility

Gecko: Positive (https://github.com/mozilla/standards-positions/issues/642) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

WebKit: Positive (https://lists.webkit.org/pipermail/webkit-dev/2022-May/032253.html) Jan-Ivar Bruaroey from Mozilla, and Youenn Fablet from Apple, have both collaborated with us closely in shaping this PR. They have then approved merging this PR into w3c/mediacapture-screen-share. This is implicit support, so I'd consider it POSITIVE even though, as of the time of this writing, the official request for position has not yet been answered.

Web developers: Positive
See Appendix I of the internal design doc: https://docs.google.com/document/d/1U_aNptMZuYFuFWu7leq43V3hqOQ9zMEumG3x413q2pY/edit#heading=h.693jj8mh4gkw

Other signals:

WebView application risks

N/A



Debuggability

N/A


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

No


Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=1224912

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5186392840732672

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