[help] What is the best way to screenshare a single window with audio?
Hello guys! sometimes I watch movies with friends over jitsi meet, and in order to share just a single window with just its own audio I use chromium, that has the "share tab" option. However, I'd like a more general solution (I cannot play mkv files on browser, for example). I'd like a compact way that creates a virtual device sharing the window (even if the window gets minimized or hidden behind other windows!) and its audio, without the audio of all other windows (I don't want my notification sounds to be shared too). a quick online search gave me only "complex" answers, that I'll try only if a more convenient way is not available.
This is your best option. I did do movie nights with friends during the pandemic in a similar way, but I used OBS Studio to create the stream and Monaserver to stream it to all users. I did not know VLC can handle the streaming to users directly, making this dead simple to setup without additional software. You just need to know how to configure your router to allow the needed port forwarding.
You use Jitsi meet, their free service, to watch movies???
You can use OBS to do that, it looks like a lot but it is the best tool for that. Dont know if it has some ffplay/MPV plugin to internally play videos but I think so
A bit less simple, but for a great solution, you could host a jellyfin server and give each friend their own user account in order to then use the syncplay feature.
If OP gets Jellyfin working they can just share the tab or window that the Jellyfin web interface is running in. Jellyfin will take care of the playback. No need for the other people to use Jellyfin too.
Your half right. It's not really the OS's fault but rather the fault of the browsers and app-frameworks that use the browser in the background (electron). Because neither Firefox nor chrome have this feature implemented for Linux. The official Discord client doesn't do it either but other ones such as Sunroof do. It's possible that at least one Matrix client has learnt to share the screen with sound on Linux but I don't know of any (I also don't use Matrix a lot so don't pay too much attention to my experience on that)