Pipewire breaks at times

When playing a video from from mpv, pipewire randomly crashes with error:

[ao/pipewire] Error during playback: Broken pipe, connection error
[ao/pipewire] Stream disconnected, trying to reload...

It normally gets fixed when I seek the video.

mpv version: 0.35.1
Compiled with libpipewire 0.3.66
Linked with libpipewire 0.3.66
Kernel: x86_64 Linux 6.1.12-arch1-1

You might want to revert your system to using pulse-audio since it is much more stable.

Or, you could try re-installing pipewire (which itself is still a work in progress).

In any case, it often helps to re-configure your audio-streams in pavucontrol, especially in the config-tab (upper right corner of that window).


you may also update your system 6.2.1.arch1-1 is current
mpv 1:0.35.1-2
libpipewire 1:0.3.66-2

A good first try on all audio issues is also to reset the user configs stored:

mv ~/.local/state/wireplumber ~/.local/state/wireplumber.bak
mv ~/.config/pulse ~/.config/pulse.bak

and reboot or reload DM sudo systemctl restart gdm (if you are still using gnome)
May show also the audio setup info:
inxi -Aaz