mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2025-12-28 18:40:05 +01:00
When current output target of a media player application is removed, it can be useful if playback is paused (to avoid e.g. music playback to going to speakers when headset is accidentally unplugged). Android etc. implement a policy like this. Add a policy script that monitors stream target removals. When it detects a media player application that is linked to a no longer present output target, it checks whether the stream is associated with a media player seen in MPRIS. If yes, it sends MPRIS Pause() command to the media player. Enable this policy by default. |
||
|---|---|---|
| .. | ||
| daemon | ||
| design | ||
| library | ||
| policies | ||
| resources | ||
| scripting | ||
| index.rst | ||
| meson.build | ||