Camera takes long to get turned off when using xdg-portal
Observed on Pipewire 0.3.34 on Fedora 34 (also previous Pipewire versions, so likely not a recent regression): when using the camera via the xdg-portal, after stopping the stream and closing the program in question, the camera indicator light stays on for quite a while. It turns off after some seconds to some minutes, as far as I can tell.
This was observed with three different implementations so far:
https://gitlab.gnome.org/matthiasc/video-play (only on unclean shutdown, i.e.
- WIP Firefox/WebRTC support: https://bugzilla.mozilla.org/show_bug.cgi?id=1724900