<?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>18443</bug_id>
          
          <creation_ts>2012-07-31 03:36:22 +0000</creation_ts>
          <short_desc>getUserMedia() Test Error in Chrome</short_desc>
          <delta_ts>2012-08-14 06:12:55 +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>WebRTC API</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Gao Wenmei">gaowenmei</reporter>
          <assigned_to name="Web RTC Working Group">public-webrtc</assigned_to>
          <cc>fluffy</cc>
    
    <cc>public-webrtc</cc>
    
    <cc>stefan.lk.hakansson</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>71693</commentid>
    <comment_count>0</comment_count>
    <who name="Gao Wenmei">gaowenmei</who>
    <bug_when>2012-07-31 03:36:22 +0000</bug_when>
    <thetext>Browser: Chrome 21.0.1155.2

I wrote a simple demo to test getUserMedia() function. The demo is just to show the video stream from my local camera.

But I encountered a strange problem: 

1) If I open the test.html directly in the browser(double click or drag to the browser), there will be a popup window to obtain user&apos;s confirmation. I clicked the &quot;Allowed&quot; button, but I could see nothing on the page. At the same time, however, there was a success notification on the taskbar, saying &quot;file:// is using your camera and microphone&quot;. 

2) If I put the test.html to apache&apos;s home directory and open the page through &quot;http://localhost/test.html&quot;, there will also be a popup window. When I clicked the &quot;Allowed&quot; button, I could see the video stream from my camera successfully! At the same time, there was also a success notification on the taskbar, saying &quot;http://localhost is using your camera and microphone&quot;.

I was wondering what is the reason of the problem. Is there any difference between &quot;double-click open&quot; and &quot;localhost open&quot; when calling getUserMedia() function?

Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72124</commentid>
    <comment_count>1</comment_count>
    <who name="Cullen Jennings">fluffy</who>
    <bug_when>2012-08-13 14:51:30 +0000</bug_when>
    <thetext>Uh, is this really a bug that should be here? Can the chairs look at this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72152</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Hakansson LK">stefan.lk.hakansson</who>
    <bug_when>2012-08-14 05:04:28 +0000</bug_when>
    <thetext>This &quot;bug&quot; does not belong here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>72153</commentid>
    <comment_count>3</comment_count>
    <who name="Gao Wenmei">gaowenmei</who>
    <bug_when>2012-08-14 06:12:55 +0000</bug_when>
    <thetext>OK,it is clear now. I agree to remove it, thanks.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>