Open Nitesh2503 opened 10 months ago
This seems like a Chrome question and was indeed copy-pasted to (or from) https://bugs.chromium.org/p/chromium/issues/detail?id=1517580
@dontcallmedom we surely have the same rules as the netiquette from the 90s regarding this?
FWIW I was telling @eladalon1983 the other day I needed something similar which I called "windowTypeSurfaces"
similar to "monitorTypeSurfaces"
that I'd use to tell the browser I wish to exclude windows in the getDisplayMedia() picker.
copy-pasted to (or from)
I love the soundness of the logic employed here, @fippo. :-)
This seems like a Chrome question
While the question is phrased in terms of Chrome's UX, I think it's straightforward to generalize it to a spec question - OP wants to limit getDisplayMedia()
and only offer users the option to share tabs. (As @beaufortfrancois has noted above.)
I hope not show selected popbox
Problem Description :
When the getDisplayMedia API opens the modal to select the tab/window/entire screen for capture, I only want to display the tabs for selection and remove the options for capturing the entire window.
Currently, there is no option to remove the window's option; only the entire screen option can be eliminated. How can I remove the window's option?
Is there any way to achieve the asked functionality ?
Way to check :
Run the
getDisplayMedia
API and see the options shown on the modalChrome version: latest
OS:Mac OS