Closed Bug 1527575 Opened 6 years ago Closed 6 years ago

Digital Camera not working with Firefox

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

67 Branch
x86_64
Windows 8.1
defect

Tracking

()

RESOLVED INACTIVE

People

(Reporter: anand.mishra, Unassigned, NeedInfo)

References

()

Details

(Keywords: parity-chrome)

Attachments

(2 files)

463.86 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document
Details
11.67 KB, text/plain
Details
Attached file Firefox bug.docx

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:

  1. Connect 'Sony hdr-cx405' camera to computer using video card
  2. Open Firefox browser
  3. 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.

Component: Untriaged → WebRTC: Audio/Video
Keywords: parity-chrome
OS: Unspecified → Windows 8.1
Product: Firefox → Core
Hardware: Unspecified → x86_64

Andreas, any thoughts on who could look at this?

Flags: needinfo?(apehrson)

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".

Flags: needinfo?(apehrson) → needinfo?(anand.mishra)

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.

Keywords: stalled
Priority: -- → P3

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.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Attached file moz_log

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.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: