W3C home > Mailing lists > Public > public-webrtc@w3.org > January 2022

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

From: Elad Alon via GitHub <sysbot+gh@w3.org>
Date: Mon, 03 Jan 2022 11:28:18 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-1092432552-1641209297-sysbot+gh@w3.org>
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:19 UTC

This archive was generated by hypermail 2.4.0 : Monday, 3 January 2022 11:28:20 UTC