hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

[Feature Request] Allow selecting other Pipewire video sources when sharing #243

Open joedavid0 opened 2 months ago

joedavid0 commented 2 months ago

Lots of other applications and devices (such as OBS/capture cards/cameras) provide video outputs through Pipewire. It would be cool if we were able to select any of these sources in xdp for sharing.

This would enable us to e.g. share the output of capture cards directly through Discord etc. First initiating a screenshare and then trying to reroute the capture card stream to Discord via a patchbay does not work. I am currently unable to find another way to achieve this goal.