[mediacapture-main] getUserMedia "hanging" indefinitely (#846)

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

== getUserMedia "hanging" indefinitely ==
From the [getUserMedia() algorithm](https://www.w3.org/TR/mediacapture-streams/#dom-mediadevices-getusermedia), step 6.1 as of the time of this writing:

> The User Agent MUST wait to proceed to the next step until the relevant settings object's responsible document is fully active and has focus.

Documents might remain inactive for very long times. It is arguable that the Promise resolving after a week might be undesirable.

On the other hand, it's hard to choose sensible limits.

Maybe it could be mentioned that the user agent MAY reject the comment if the conditions (fully active and has focus) don't materialize for an "unreasonable time" or something similar?

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


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

Received on Monday, 3 January 2022 11:28:20 UTC