4 ms·
This actually works somewhat today, but it's all a little hit and miss. For Wayland I believe the currently accepted way if doing screen sharing is through xdg
by hansihe 5y ago
This actually works somewhat today, but it's all a little hit and miss.
For Wayland I believe the currently accepted way if doing screen sharing is through xdg-desktop-portal which has a backend for wlroots and a bunch of other common compositors. I have gotten this to work fairly decently with Firefox at least, but some things are a bit hacky.
https://github.com/emersion/xdg-desktop-portal-wlr https://github.com/emersion/xdg-desktop-portal-wlr
- jborean93 5y agoThanks, I use this for sharing the screen but it only allows me to share a specific screen. It does not offer the ability to share a region [1] or specific window [2] on that screen. Supposedly this is due to API limitations in wlroots or some lower component. [1] https://github.com/emersion/xdg-desktop-portal-wlr/issues/154 https://github.com/emersion/xdg-desktop-portal-wlr/issues/15... [2] https://github.com/emersion/xdg-desktop-portal-wlr/issues/107 https://github.com/emersion/xdg-desktop-portal-wlr/issues/10...