<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>22217</bug_id>
          
          <creation_ts>2013-05-30 15:44:28 +0000</creation_ts>
          <short_desc>What happens if mediastream source becomes unavailable during the consent prompt?</short_desc>
          <delta_ts>2014-04-03 13:14:49 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebRTC Working Group</product>
          <component>Media Capture and Streams</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>22251</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dominique Hazael-Massieux">dom</reporter>
          <assigned_to name="public-media-capture@w3.org">public-media-capture</assigned_to>
          <cc>public-media-capture</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88455</commentid>
    <comment_count>0</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-05-30 15:44:28 +0000</bug_when>
    <thetext>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&apos;m taking a decision, the video camera I&apos;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&apos;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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92809</commentid>
    <comment_count>1</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2013-09-02 09:38:05 +0000</bug_when>
    <thetext>#22251 suggests a HardwareUnavailable error</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103335</commentid>
    <comment_count>2</comment_count>
    <who name="Dominique Hazael-Massieux">dom</who>
    <bug_when>2014-04-03 12:42:41 +0000</bug_when>
    <thetext>Thinking some more about it, I think the outcome of this situation probably depends on the timing, the UI, and whether capture devices are locked-in by the browser or the OS.

As a result, it&apos;s probably left undefined for the time being, thus I think closing that bug is probably appropriate.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103345</commentid>
    <comment_count>3</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2014-04-03 13:14:49 +0000</bug_when>
    <thetext>Ok, closing.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>