Video stream on wayland linux
Discord just needs to update their electron to a newer one, that already supports wayland screensharing natively, or add compatibility for PipeWire. See https://www.reddit.com/r/gnome/comments/gzpi0l/comment/fthle6x?utm_source=amp&utm_medium=&cid=1*tgnjl6*cid*YW1wLXh4SlJKeG93bFlMVThja3lDazhIZEE.1
Please Discord add Wayland support !0
I think it's not "just" the Electron version because I use the system-packaged version of Electron together with Discord and it still does not work but yes: Discord c'mon.0
Posting this here as well: No, it's not an Electron thing.
The Discord desktop client has their own WebRTC module; Chromium/Electron do not touch any multimedia.
So, upgrading Electron is useless (unless you can patch the code to use the webapp browser implementation). Discord needs to touch their native code, particularly enable the 'rtc_use_pipewire' flag when building libwebrtc.
For more info see: https://support.discord.com/hc/en-us/community/posts/360047644231/comments/44111470474471