[mediacapture-screen-share] Capability polling - capture-while-minimized (#257)

eladalon1983 has just created a new issue for https://github.com/w3c/mediacapture-screen-share:

== Capability polling - capture-while-minimized ==
Recall:
> A display surface that is being shared may temporarily or permanently become inaccessible to the application because of actions taken by the operating system or user agent. What makes a display surface considered inaccesible is outside the scope of this specification, but examples MAY include a monitor disconnecting, window or browser closing or becoming minimized, or due to an incoming call on a phone.

So minimizing a window **might** pause the capture.

Suppose a Web developer wants to warn users if minimizing windows would stop the capture; we have an example of such a developer [here](https://bugs.chromium.org/p/webrtc/issues/detail?id=14823#c2):
> We need to give the user a hint that minimizing the window will cause the screen to not capture data

Currently, there's no way for this developer to know if the warning should be issued. It would be nice if developers could query that. Ideally before getDisplayMedia() is ever called, but possibly also after, via a MediaStreamTrackCapability.

Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/issues/257 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 13 January 2023 09:54:01 UTC