diff --git a/docs/media/index.md b/docs/media/index.md index abfdc92..543c753 100644 --- a/docs/media/index.md +++ b/docs/media/index.md @@ -141,3 +141,14 @@ Imagemagick supports JPEG. Set your desired output density and JPEG quality. :::shell 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`