3 ms·
To be clear - the state of screensharing on Wayland is fairly interesting, and integrates a handful of new components. One of them is Pipewire, which is shapin
by vertex-four 7y ago
To be clear - the state of screensharing on Wayland is fairly interesting, and integrates a handful of new components.
One of them is Pipewire, which is shaping up to be the replacement for things like Pulseaudio and JACK - it's a daemon and tooling for slinging audio and video streams around between processes.
The other is xdg-desktop-portal - designed for use with Flatpak, it has now become a set of standard dbus APIs for interacting with your desktop manager and window manager on any Linux system. Specifically, org.freedesktop.portal.ScreenCast[0] gives you a Pipewire handle to the screen, possibly after asking for permission. This is supported in recent Firefox versions.
There are xdg-desktop-portal implementations for GNOME, KDE, and wlroots-based compositors, although the wlroots implementation only supports screenshots so far, and does not yet implement screencasts.
[0] https://flatpak.github.io/xdg-desktop-portal/portal-docs.html#gdbus-org.freedesktop.portal.ScreenCast https://flatpak.github.io/xdg-desktop-portal/portal-docs.htm...