Browser links not working
Desktop sharing with Firefox or Chromium doesn't work until disconnecting and then reconnecting output and inputs.
Steps to reproduce:
- Start desktop sharing in Chromium or Firefox
- Note that the sharing window is black or empty
- Disconnect link from command line with
pw-link -d .xdg-desktop-portal-wlr-wrapped:capture_1 firefox:input_1
- Reconnect link from command line with
pw-link .xdg-desktop-portal-wlr-wrapped:capture_1 firefox:input_1
- Note that the screen is now visible in the share window
Environment:
- NixOS Stable 23.05
- Chromium Version 115.0.5790.110 (Official Build) (64-bit)
- Firefox 116.0 (64-bit)
- Wireplumber 0.4.14
- Pipewire 0.3.71
- SwayWM 1.8.1
- xdg-desktop-portal-wlr 0.7.0