W3C home > Mailing lists > Public > public-webrtc@w3.org > July 2012

Re: [Bug 18443] New: getUserMedia() Test Error in Chrome

From: ᛏᚮᛘᛘᚤ <tommyw@google.com>
Date: Tue, 31 Jul 2012 11:33:22 +0200
Message-ID: <CALLKCfPtp2kBC1Hf1kv8NMqk_csS3FLgBRaaSa6UJc=FjXqyWA@mail.gmail.com>
To: bugzilla@jessica.w3.org
Cc: public-webrtc@w3.org
This is definitely the wrong place for this issue, but the short answer is:
Yes, it is by design and for security reasons. The UI in chrome will be
redesigned in the near future to not to show the permissions bar for local
html files.


On Tue, Jul 31, 2012 at 5:36 AM, <bugzilla@jessica.w3.org> wrote:

> https://www.w3.org/Bugs/Public/show_bug.cgi?id=18443
>            Summary: getUserMedia() Test Error in Chrome
>            Product: WebRTC Working Group
>            Version: unspecified
>           Platform: PC
>         OS/Version: Windows NT
>             Status: NEW
>           Severity: normal
>           Priority: P2
>          Component: WebRTC API
>         AssignedTo: public-webrtc@w3.org
>         ReportedBy: gaowenmei@huawei.com
>                 CC: public-webrtc@w3.org
> 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's confirmation. I
> clicked
> the "Allowed" button, but I could see nothing on the page. At the same
> time,
> however, there was a success notification on the taskbar, saying "file://
> is
> using your camera and microphone".
> 2) If I put the test.html to apache's home directory and open the page
> through
> "http://localhost/test.html", there will also be a popup window. When I
> clicked
> the "Allowed" 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
> "http://localhost is using your camera and microphone".
> I was wondering what is the reason of the problem. Is there any difference
> between "double-click open" and "localhost open" when calling
> getUserMedia()
> function?
> Thanks.
> --
> Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are on the CC list for the bug.
> You are the assignee for the bug.

Tommy Widenflycht, Senior Software Engineer
Google Sweden AB, Kungsbron 2, SE-11122 Stockholm, Sweden
Org. nr. 556656-6880
And yes, I have to include the above in every outgoing email according to
EU law.
Received on Tuesday, 31 July 2012 09:33:53 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:17:30 UTC