Digital Camera not working with Firefox
Categories
(Core :: WebRTC: Audio/Video, defect, P3)
Tracking
()
People
(Reporter: anand.mishra, Unassigned, NeedInfo)
References
()
Details
(Keywords: parity-chrome)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.96 Safari/537.36
Steps to reproduce:
- Connect 'Sony hdr-cx405' camera to computer using video card
- Open Firefox browser
- Open below URL
https://janus.conf.meetecho.com/videoroomtest.html
Actual results:
Janus Video room not working and throwing below ‘WebRTC error’
WebRTC error.. ("name":"NotReadableError","message":"Failed to allocate videosource"}
Expected results:
User should join to Video room and display the user video on the screen captured by the camera.
The Video room working on Chrome browser with same setup.
Updated•6 years ago
|
Comment 2•6 years ago
|
||
Thanks for filing this bug, Anand.
There could be a number of reasons this fails. Since this is a camcorder, I'm thinking one option could be that it doesn't present formats that we support for capture.
However, we need to verify this, and with that we need your help.
I'd like you to run your steps to reproduce with some logging enabled. The easiest way to do this is to set the following variables in your env:
MOZ_LOG=MediaManager:5,timestamp,sync
MOZ_LOG_FILE=c:\absolute\path\to\a\log\file
This should get you a bunch of files at the path you set in MOZ_LOG_FILE. Please attach the largest one to the bug, it should be one of those suffixed ".child-N".
Comment 3•6 years ago
|
||
One reason why this works in Chrome but not in Firefox could be that Chrome's capturer code on Windows is MediaFoundation based, where Firefox still uses the DirectShow based capturer code from webrtc.org.
Updated•6 years ago
|
Comment 4•6 years ago
|
||
As we haven't received any more information needed to make progress on this bug I'm going to close it.
Please feel free to re-open if new information becomes available.
Comment 5•5 years ago
|
||
Comment 6•5 years ago
|
||
I am having a similar issue using my PlayStation Eye camera. I have attached the MOZ_LOG output requested by Andreas.
I am using https://github.com/jkevin/PS3EyeDirectShow to provide the DirectShow source filter from the camera, so Firefox usin a DirectShow based capturer should not be a problem (on the contrary, I have no source for MediaFoundation based applications).
OP said that his camera *did* work in chrome, and that's not true with the ps3 eye driver (I also tried an older version just to be sure).
Considering this coincidence (and that everything works just fine in both zoom and OBS), I guess the bug is in the webrtc.org/chromium/blink video capture code that both browsers use.
So you'd probably have better complain to them.
OP should instead likely go check bug 1418827.
Description
•