Firefox screensharing using pipewire
TLDR: Please add pipewire-0.3 to firefox inputs so I can share my screen
Be running on wayland with all the appropriate environment variables set (and have a session dbus running that also has those variables set (use dbus-update-activation-environment if you need to))
Run pipewire and wireplumber
Have xdg-desktop-portal and xdg-desktop-portal-wlr installed
Try to share your screen on firefox using WebRTC
In you session dbus logs you'll see this error: "[ERROR] - pipewire_loop_iterate failed: Unknown error -1"
Now try running firefox like this LD_LIBRARY_PATH="$(guix build pipewire)/lib" firefox
and see that screensharing now works great!
Could we please add pipewire-0.3 to the inputs of firefox? It's already in the inputs for ungoogled-chromium so I assume webrtc screensharing would work fine using chromium but compiling that takes forever so I'm not going to check.