Issue metadata
Sign in to add a comment
|
Cannot getUserMedia video stream on Windows when webcam already in use
Reported by
k...@videolind.com,
Feb 9 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36 Steps to reproduce the problem: 1. open https://mozilla.github.io/webrtc-landing/gum_test.html in Firefox 2. click Video, accept permissions 3. video feed appears 4. open https://mozilla.github.io/webrtc-landing/gum_test.html in Chrome 5. click Video, accept permissions 6. no error appears anywhere, but the video area is black. Note that I'm running this on Windows 10 (64-bit) inside Virtualbox on a Mac. The webcam access was provided by "VBoxManage controlvm "windows-10" webcam attach .1" which attaches the default Macbook webcam to the Windows virtual machine. Having said that, one of our customers is also reporting the same behaviour on both a Dell laptop and a Lenovo one, both running Windows 10 Pro. No error is reported, but the video that is uploaded to our servers does not contain a video stream. Also note, almost the same thing happens when you first open Chrome and then Firefox, although Firefox throws an error saying "NotReadableError: Failed to allocate videosource". Thirdly, that this does not seem to happen in any capacity on a Mac. What is the expected behavior? Video feed should have appeared in both Firefox and Chrome upon clicking Video button in both browsers. What went wrong? The video area is black, but you can record a video. After recording a video and downloading it, the video contains no video stream (only audio) You can use ffprobe to inspect the file and verify that there is no video stream. Did this work before? N/A Does this work in other browsers? No https://bugzilla.mozilla.org/show_bug.cgi?id=1338124 Chrome version: 56.0.2924.87 Channel: stable OS Version: OS X 10.11.6 Flash Version: Shockwave Flash 24.0 r0 I have attached a screenshot of the behaviour. Firefox is on the left and Chrome is on the right. I have also attached a .webm file, which was recorded using https://webrtc.github.io/samples/src/content/getusermedia/record/. I opened Firefox with that URL and then Chrome with the same URL, which allowed me to record a video that only has audio.
,
Feb 13 2017
Hi, Please refer to the matching bug report on the Firefox bug tracker, which has been updated. https://bugzilla.mozilla.org/show_bug.cgi?id=1338124 It seems that Chrome does not report any errors when it cannot capture the stream from the webcam. I can record a "video" on https://webrtc.github.io/samples/src/content/getusermedia/record/ that does not contain the video stream (verified with ffprobe). No video feed appears on the page, but also no errors are reported in the console.
,
Feb 13 2017
This seems to be the same as issue 651910 . karl@, regarding the expected behavior, I don't think the camera driver would allow multiple applications to access the webcam simultaneously, so expected behavior would be that the second browser trying to access it should report an error. Please let me know if you disagree.
,
Feb 13 2017
Hi, Yes, this does seem like the issue I reported. I should've searched harder! I was under the impression that multiple applications accessing the webcam *ought* to work fine under Windows. This was because I (falsely) assumed it should work, because it seems to work on Mac. I agree -- I think the second browser to access the webcam that already in use should report an error. Thanks! |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by nyerramilli@chromium.org
, Feb 9 2017