#960645 firefox: Please build with WebRTC pipewire support for GNOME Wayland

Package:
firefox
Source:
firefox
Description:
Mozilla Firefox web browser
Submitter:
Changwoo Ryu
Date:
2021-07-30 16:45:03 UTC
Severity:
normal
Tags:
#960645#5
Date:
2020-05-15 02:30:28 UTC
From:
To:
Hello,

Currently in Firefox, WebRTC screen capture works only on X11. In Wayland,
only XWayland windows can be captured.

Wayland doesn't support screen capture by defaults but GNOME supports the feature
using pipewire. The pipewire support is already in Firefox source since version 68
(media/webrtc/trunk/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.*)
but it is not built as a default.

Debian GNOME desktop is running on Wayland as defaults since buster, and its
default browser is Firefox. So I think the Debian Firefox package needs to be
built with pipewire capture support.

In Fedora, pipewire support is enabled with this patch:
https://src.fedoraproject.org/rpms/firefox/blob/master/f/firefox-pipewire.patch

#960645#10
Date:
2020-07-28 15:05:02 UTC
From:
To:
This bug is all the more important now that Gnome launches over
Wayland by default.  And more so again in COVID times when we're using
video conferencing more heavily.

There's more discussion of the issue at

https://bugzilla.mozilla.org/show_bug.cgi?id=1430775

https://github.com/emersion/xdg-desktop-portal-wlr/wiki/Screencast-Compatibility

#960645#17
Date:
2020-09-30 11:41:12 UTC
From:
To:
On Tue, 28 Jul 2020 23:05:02 +0800 Drew Parsons <dparsons@debian.org> wrote:
 > Package: firefox
 > Version: 78.0.2-1
 > Followup-For: Bug #960645
 >
 > This bug is all the more important now that Gnome launches over
 > Wayland by default. And more so again in COVID times when we're using
 > video conferencing more heavily.

Anything blocking this?

Is it acceptable to use the Fedora patch in debian or should be patch be
upstreamed first?

Having this fixed is more than welcome I think.

#960645#26
Date:
2021-07-30 16:33:56 UTC
From:
To:
In Firefox 88.0.1-1, this seems to work great under GNOME Shell and
https://meet.jit.si for both single windows and full screen.