[mediacapture-main] Provide a little more transparency into the inner workings of getUserMedia (#764)

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

== Provide a little more transparency into the inner workings of getUserMedia ==
As an application developer I'd like to give the user a bit more help in guiding them through the video calling experience. Particularly when calling `getUserMedia` and the resulting promise does not resolve immediately:

- Does it mean that the user agent is showing the permissions prompt? In that case the application may want to tell the user to find that prompt and deal with that first, which is not always obvious to the user.
- Does it mean that the device (e.g. camera) is simply slow to open? In that case the application may tell the user be patient.
- Does it mean the system is under too much load or is too slow to respond? The application should probably do nothing here.
- Or it could be a bug where the promise never settles. The application could use a reasonably large timeout to catch this, so this is already covered.

Thanks.

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


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

Received on Wednesday, 13 January 2021 00:25:03 UTC