Can't share screen on chromium based browsers or firefox. Works fine on OBS
I am trying to share my screen in a wayland environment in chrome. I am using archlinux, plasma, xdg-desktop-portal-kde and wireplumber as session manager. However, I can't share my screen. When I select a window or screen in the desktop portal popup, all I get is a black video stream.
This works fine in OBS
I have tried to fetch the video stream requested by Chrome directly to OBS using qpwgraph and I get this. I guess OBS is requesting some kind of format and chrome is requesting another
However, connecting the stream requested by OBS to chrome still shows a black screen on chrome.
I have tried also using pipewire-media-session manager, uncommenting the metadata line in the configuration file, as suggested in other similar issues, without success.
I am completely out of ideas. I have also tried wlroots desktop environments, without success.