Make constraints processing for screen capture spec compliant |
||
Issue descriptionThe existing constraints processing for screen capture, while following the mediaccapture-main spec in terms of how the constrainable pattern should be implemented, is written for the nonstandard extension API in Chrome. Now that we are going to support the standard getDisplayMedia(), we should update the algorithm (or introduce a new one) so that it follows any variations specified in the mediacapture-screen-share spec.
,
Nov 13
,
Jan 10
When I provide constraints object for navigator.mediaDevices.getDisplayMedia() like this:
{
displaySurface: ["application", "browser"]
}
the browser (Chrome 73.0.3667.0 64-bit on OS X 10.13.6) shows selection with every type of source (e.g. screen, apps, browser tabs).
Previously we used extension with chrome.desktopCapture.chooseDesktopMedia() call and it showed only requested variants.
|
||
►
Sign in to add a comment |
||
Comment 1 by guidou@chromium.org
, Nov 13