3 ms·
Wayland is not preventing screen sharing or recoring. The API supports it pretty well. Problem is that existing applications need to adapt for its use, and if t
by nicce 4y ago
Wayland is not preventing screen sharing or recoring.
The API supports it pretty well. Problem is that existing applications need to adapt for its use, and if the demand is low, it is not worth the money.
- xbar 4y agoIt sounds like you are supporting the author's claim that Wayland will never be a 1:1 replacement for xorg.
- doodlesdev 4y agoTo be fair for it to be a 1:1 replacement for xorg that does not mean it also needs to be drop-in (as in all software that works on xorg will work on Wayland right away).
- happymellon 4y agoYes it does. The solution is to use Pipewire and DBus to connect to proprietary APIs. The arguement whether it is the correct location to provide a standardised API is a separate one. But Wayland does not support this.
- nicce 4y ago> The solution is to use Pipewire and DBus to connect to proprietary APIs. I don't understand this at all. Can you open a bit more? To my understanding, current screen recording is relying mainly on xdg-desktop-portal and it's variations. It depends on flatpak and glib and uses D-bus. None of these are proprietary to my knowledge. With these, it supports WebRTC out of the box for browser, and for example OBS studio supports natively, and works really well. Apps need to implement and use org.freedesktop.portal.* interfaces to support screen recording in Wayland.
- happymellon 4y agoProprietary is probably the wrong word. Non-standardised perhaps, specific to the desktop implementation and by implementing the Wayland specification does not give you appropriate screensharing APIs in that namespace. Because the APIs that are exposed by Gnome, KDE, and wl-roots are all different. Flatpak has access to the `xdg-desktop-portal.*` namespace, but everyone has their own implementation so saying they use the standard namespace is misleading as it makes it sound like all the work is done. Pipewire masks all that by implementing everyone's API and then exposing this via the Pipewire API, neatly solving the Wayland limitation and providing a standard. The original statement was: > Wayland is not preventing screen sharing or recoring. The API supports it pretty well. No it does not. Pipewire does.
- nicce 4y agoI see now. Thanks for the info.
- vetinari 4y agoThis is a fight implementations cannot win. So there is demand for API. Gnome, KDE, wl-roots implement it, in the discovery phase by their unique way, so we have 3 different APIs. Then, once the requirements are known, standardization happens and every compositor implements the standard API. So far, good. But what happens with the old, experimental APIs? Because meanwhile, there are apps, that do use them. Remove the old APIs and you will have cries on the Internets, how you break compatibility again (even if you announce deprecation plan years upfront). Do not remove them, and you have complains, that every compositor has its own API (ignoring, that there is a standardized one too, now). So, there's no pleasing everyone. Someone will complain. > No it does not. Pipewire does. xdg-deskop-portal-(gnome|kde|wlr), among other things, which do include desktop-specific dialogs related to the functionality.