Screen sharing
Tools
Jitsi
Issues with fake loopback video screencast:
Server tools
Screego
screen sharing for developers
Not sure if it works with wayland .. ?
xdg-desktop-portal
Test (run all cmds in different terminals to watch the output):
systemctl --user stop xdg-desktop-portal-hyprland.service \
xdg-desktop-portal.service \
xdg-desktop-portal-gtk.service
ps aux | grep xdg-des
/usr/lib/xdg-desktop-portal-hyprland --verbose
/usr/lib/xdg-desktop-portal-gtk --verbose -r
/usr/lib/xdg-desktop-portal --verbose -r
journalctl -f
After debugging start all xdg services again:
systemctl --user start xdg-desktop-portal-hyprland.service \
xdg-desktop-portal.service \
xdg-desktop-portal-gtk.service
systemctl --user status xdg-desktop-portal-hyprland.service \
xdg-desktop-portal.service \
xdg-desktop-portal-gtk.service
#### Fake screensharing using video loopback
<https://wiki.archlinux.org/index.php/Screen_capture#Via_a_virtual_webcam_video_feed>
Best solution so far!
```sh
screenshare.sh
And then use chromium instead of firefox (see more details below)
Native Screensharing
- Arch wiki: WebRTC screen sharing
- Make screen sharing on wayland (sway) work!
- Chromium: Use
enable-webrtc-pipewire-capturerflag - Arch wiki: Zoom Meetings
Firefox
- Mozilla webrtc gum page cuts the borders of the fake screencast video stream - but the same stream displays fine in chromium (88).
- In jitsi the image is also cropped, and has a very bad resolution → Use chromium for now
Chromium
Ubuntu snap uses X11, not wayland
https://bugs.chromium.org/p/chromium/issues/detail?id=682122 https://fhackts.wordpress.com/2019/07/08/enabling-webrtc-desktop-sharing-under-wayland/
The only solution is to use wf-recorder (see below).
run chrome in wayland mode:
chrome --enable-features=UseOzonePlatform --ozone-platform=wayland
Deprecated / Stale
- Mon2Cam: Archived