emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
580 stars 54 forks source link

Feature: Allow v4l2 streams to be selected #221

Closed wernerb closed 1 year ago

wernerb commented 2 years ago

The Share Desktop/Screencast feature is most of the time treated with higher bitrate for Google Meet/Teams etc than the webcam (locked at 720p and low bitrate). Sometimes you might want to broadcast a video source instead of the desktop, e.g., for meetings/conferences. Could xdg-desktop-portal-wlr be modified to allow exposing v4l2 devices?

columbarius commented 2 years ago

xdg-desktop-portal-wlr could be modified to stream either v4l2 devices or relay your v4l2 device exported via PipeWire, but this is a non-goal for this project.