3 ms·
on Linux, screen sharing works very differently on X11 versus wayland, and both are commonly found in the wild right now. has this app been tested on both X11 a
by woodrowbarlow 2y ago
on Linux, screen sharing works very differently on X11 versus wayland, and both are commonly found in the wild right now. has this app been tested on both X11 and wayland? (might be a good thing to add to the website?)
- GorillaMoe 2y agoI tested on X11 and Wayland it works flawless here.
- GorillaMoe 2y agoI'm currently on Wayland and it's working flawless for me. Will test on X11 this evening.
- avhception 2y agoThis is exactly what I was asking myself, too.
- Arnavion 2y agoIt's "just" using Electron's built-in screencasting capability (`desktopCapturer`), and Electron supports both X11 screencasting and the xdg-desktop-portal+pipewire approach used by Wayland compositors.
- GorillaMoe 2y agoYes, that's right. But tbh, getting Mediastream in Electron can be done by a 5y old.
- zamalek 2y agoIf you're using a recent Electron. Nearly everything (Discord, Slack, you name it) does not. This is all from memory, but I believe Wayland was "fixed" in Electron 19, but with a showstopper bug that was never backported. Many Electron apps are on 18 to this day.
- GorillaMoe 2y agoYes, I was just triggered by the "just" somehow :( it is not the hard part that I was trying to solve. The hard part is the UX/UI and the WebRTC part itself.
- Arnavion 2y agoI believe you interpreted it exactly the opposite of what I wanted. I put "just" in quotes precisely to make the point that that there's a lot more to your application than getting the screencast buffer.