w3ctag / design-reviews

W3C specs and API reviews
Creative Commons Zero v1.0 Universal
318 stars 55 forks source link

DisplayMediaStreamOptions monitorTypeSurfaces #892

Closed beaufortfrancois closed 5 months ago

beaufortfrancois commented 10 months ago

こんにちは TAG-さん!

I'm requesting a TAG review of DisplayMediaStreamOptions monitorTypeSurfaces.

When getDisplayMedia() is called, the browser offers the user a choice of display surfaces: tabs, windows, or monitors. Using the monitorTypeSurfaces option, the web application may now hint to the browser if it prefers to include display surfaces whose type is monitor among the choices offered to the user. The browser may still ignore this hint. Web applications are therefore encouraged to still check the displaySurface setting of the tracks they receive.

Further details:

You should also know that this feature is a simple addition of a single flag to an existing dictionary, following an established pattern that’s also used by a few other keys of the same dictionary (selfBrowserSurface, systemAudio, surfaceSwitching). well-known patterns. We already filed a TAG review for similar options at https://github.com/w3ctag/design-reviews/issues/744 which was marked as satisfied.

We'd prefer the TAG provide feedback as (please delete all but the desired option):

💬 leave review feedback as a comment in this issue and @-notify @beaufortfrancois @eladalon1983

cynthia commented 5 months ago

Discussed this (w/ @martinthomson @rhiaro and @ylafon) during F2F. We discussed the potential security/privacy implications of this, in particular whether there are ways to steer users in a direction that allows extraction of information and there is low (to zero) risk. We're happy to see this move forward.

beaufortfrancois commented 5 months ago

Thank you @cynthia!