[Pipewire] Not switching to DLNA device when pa-dlna is started after the audio stream
Bug report.
When an application has been associated with a DLNA device, starting pa-dlna
and then starting an audio stream from the application works fine, the stream is played by the DLNA device.
However when the audio stream is started before pa-dlna
, the stream is not switched to the DLNA device and keeps being played by the default sink (e.g. the sound card).
Work around: With pa-dlna
still running, stopping the audio stream and re-starting it fixes the problem.
This happens only with Pipewire.
Your environment.
-
Sound server: Pipewire
- pipewire and pipewire-pulse version 0.3.78
- wireplumber version 0.4.14
-
pa-dlna version 0.5
Steps to reproduce.
-
Start
pa-dlna
and set an association between a music player and the DLNA sink usingpavucontrol
. -
Stop
pa-dlna
. -
Start the music player and play a track. The stream is routed to the sound card (the default sink) as expected.
-
Start
pa-dlna
, the stream is not routed to the DLNA device as expected. -
pavucontrol
shows that the stream is still redirected to the sound card. -
wpctl status
and theqpwgraph
graphical tool confirm it. -
Stop the track and re-start it. The track is now played on the DLNA device.