W3C home > Mailing lists > Public > public-media-capture@w3.org > May 2013

[Bug 22217] New: What happens if mediastream source becomes unavailable during the consent prompt?

From: <bugzilla@jessica.w3.org>
Date: Thu, 30 May 2013 15:44:28 +0000
To: public-media-capture@w3.org
Message-ID: <bug-22217-5753@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22217

            Bug ID: 22217
           Summary: What happens if mediastream source becomes unavailable
                    during the consent prompt?
    Classification: Unclassified
           Product: WebRTC Working Group
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Capture and Streams
          Assignee: public-media-capture@w3.org
          Reporter: dom@w3.org
                CC: public-media-capture@w3.org

Imagine the following scenario:
* as a user, I get prompted to authorize access to one of my video cameras via
a prompt in the browser
* while I'm taking a decision, the video camera I'm about to grant access to
get reserved by another part of the system and is thus no longer usable by the
browser

What should getUserMedia do?

I don't know if it should invoke the success callback with an ended stream
(this would among other things let the dev access info on other devices), or it
should invoke the error callback with a new error.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Thursday, 30 May 2013 15:44:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:17 UTC