WebRTC cameras via Pipewire not detected by BigBlueButton
Categories
(Core :: WebRTC: Audio/Video, defect)
Tracking
()
People
(Reporter: be.0, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0
Steps to reproduce:
- Go to about:config, set media.webrtc.camera.allow-pipewire to true
- Restart Firefox
- Join BigBlueButton room. I encountered this on https://bbb.sfconservancy.org
- Click webcam button on bottom of page to enable sharing a webcam.
Actual results:
BigBlueButton doesn't detect any available cameras, however the LED indicator on my webcam (Razer Kiyo Pro) lights up. Other WebRTC pages for example https://webrtc.github.io/test-pages/src/single-video/ work fine.
Expected results:
BigBlueButton allows selecting from available cameras.
Comment 2•8 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 3•7 months ago
|
||
The severity field is not set for this bug.
:jib, could you have a look please?
For more information, please visit BugBot documentation.
Comment 4•6 months ago
|
||
Jan, is this something you could try to repo?
Comment 5•6 months ago
•
|
||
I've been testing BBB the whole time while developing PipeWire camera support and it's been always working.
What is your output from:
qdbus-qt5 --session org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Camera.IsCameraPresent
There is also a fix in xdg-desktop-portal that might be related: https://github.com/flatpak/xdg-desktop-portal/pull/1319. Any chance you can try it?
Updated•6 months ago
|
qdbus-qt5 --session org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Camera.IsCameraPresent
prints false
even when I have Kamoso open and accessing a camera feed via Pipewire (verified with qpwgraph).
There is also a fix in xdg-desktop-portal that might be related: https://github.com/flatpak/xdg-desktop-portal/pull/1319. Any chance you can try it?
It looks like that was backported to 1.18.3? I'll test that when xdg-desktop-portal 1.18.3 is available in Fedora. It doesn't seem to be in updates-testing yet.
Comment 7•6 months ago
|
||
(In reply to Be from comment #6)
qdbus-qt5 --session org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Camera.IsCameraPresent
printsfalse
even when I have Kamoso open and accessing a camera feed via Pipewire (verified with qpwgraph).
Ok, this is what makes your camera broken in BBB and the issue is not in Firefox.
There is also a fix in xdg-desktop-portal that might be related: https://github.com/flatpak/xdg-desktop-portal/pull/1319. Any chance you can try it?
It looks like that was backported to 1.18.3? I'll test that when xdg-desktop-portal 1.18.3 is available in Fedora. It doesn't seem to be in updates-testing yet.
I have backported this fix to Fedora and it's in this update https://bodhi.fedoraproject.org/updates/FEDORA-2024-08fe18512d. Can you try it?
Comment 8•6 months ago
|
||
For F39 it's this one https://bodhi.fedoraproject.org/updates/FEDORA-2024-d56e82952e and it has already landed to stable repositories.
I updated to xdg-desktop-portal-1.18.2-6.fc39.x86_64 and qdbus-qt5 --session org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Camera.IsCameraPresent
now prints true. BigBlueButton is able to find and use my camera (and it works when Kamoso is also accessing the camera, and with multiple Firefox tabs accessing the camera). Thanks!
Comment 10•6 months ago
|
||
Closing as invalid since it was fixed by an update to xdg-desktop-portal.
Comment 11•6 months ago
|
||
(In reply to Be from comment #9)
I updated to xdg-desktop-portal-1.18.2-6.fc39.x86_64 and
qdbus-qt5 --session org.freedesktop.portal.Desktop /org/freedesktop/portal/desktop org.freedesktop.portal.Camera.IsCameraPresent
now prints true. BigBlueButton is able to find and use my camera (and it works when Kamoso is also accessing the camera, and with multiple Firefox tabs accessing the camera). Thanks!
Great!! I'm glad it works now.
Description
•