Firefox (RPM) cannot find all cameras

Problem

Firefox cannot see a second (eg. DSLR) camera in Fedora 41. It doesn’t even show up when selecting a camera in any WebRTC site (eg. test webrtc.github.io, or google meet)

Other browsers can see the extra cameras

Firefox from Mozilla, rather than the RPM can see the second camera.

Fedora 40 (and 39, 38,…) works.

Cause

Not yet confirmed.

Presumed to be the gnome privacy settings, which offered any extra prompt in Fedora 41/Gnome 47. The prompt didn’t happen in Fedora 40.

I don’t know if the privacy settings sandboxed Firefox RPM in Fedora 40.

Related Issues

None yet

Workarounds

Use a different browser

  • Firefox from mozilla.org
  • Chromium
  • Haven’t tried Flatpak Firefox yet.
1 Like

From Proposed Common Issues to Ask Fedora

Added firefox, webcam

I have the same issue. I assume it is because Firefox on Fedora 41 switched to using Pipewire for cameras by default.
I haven’t found a way around this yet. Using Chrome does work.
Maybe there is a way to pipe gphoto2 output directly to pipewire?
Or there is some option use v4l2 cameras in Firefox that I haven’t found.

There is a way to configure Firefox to use v4l2 over pipewire: Firefox doesn't find virtual camera in fedora 41 - #2 by jsnjack

1 Like

There was a fix in PipeWire for this issue so I suspect it’s not longer a problem with recent PipeWire updates.

PipeWire issue for reference: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4388