News for hackers. Stuff that matters.
Re:Bananas: Cross-Platform screen sharing made simple by woodrowbarlow on Thursday November 28, 2024 @08:24AM (#42265083)
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?)
Re:Bananas: Cross-Platform screen sharing made simple by GorillaMoe on Thursday November 28, 2024 @11:29AM (#42266515)
I tested on X11 and Wayland it works flawless here.
Re:Bananas: Cross-Platform screen sharing made simple by GorillaMoe on Thursday November 28, 2024 @10:56AM (#42266174)
I'm currently on Wayland and it's working flawless for me. Will test on X11 this evening.
Re:Bananas: Cross-Platform screen sharing made simple by avhception on Thursday November 28, 2024 @10:57AM (#42266179)
This is exactly what I was asking myself, too.
Re:Bananas: Cross-Platform screen sharing made simple by Arnavion on Thursday November 28, 2024 @10:49PM (#42270627)
It'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.
Re:Bananas: Cross-Platform screen sharing made simple by GorillaMoe on Thursday November 28, 2024 @11:46PM (#42270892)
Yes, that's right. But tbh, getting Mediastream in Electron can be done by a 5y old.
Re:Bananas: Cross-Platform screen sharing made simple by zamalek on Friday November 29, 2024 @01:28AM (#42271408)
If 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.
Re:Bananas: Cross-Platform screen sharing made simple by GorillaMoe on Friday November 29, 2024 @04:40AM (#42272585)
Yes, 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.
Re:Bananas: Cross-Platform screen sharing made simple by Arnavion on Friday November 29, 2024 @03:28PM (#42276841)
I 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.