Add instructions for screen sharing
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2020-12-08 19:00:33 +01:00
parent 7cc20db4db
commit 4dc4ebf55f
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -141,3 +141,14 @@ Imagemagick supports JPEG. Set your desired output density and JPEG quality.
:::shell :::shell
convert -density 300 -compress jpeg -quality 80 document.pdf downscaled.pdf convert -density 300 -compress jpeg -quality 80 document.pdf downscaled.pdf
## Screen sharing
Since there is no good support for WebRTC screensharing with wayland, a virtual
webcam device can be used.
:::shell
sudo modprobe v4l2loopback exclusive_caps=1 card_label=screensharing # only has to be done once
wf-recorder --muxer=v4l2 --codec=rawvideo --file=/dev/video2 -x yuv420p # adjust /dev/video2 to the actual device
To remove the virtual webcam device run `sudo modprobe -r v4l2loopback`