VLC media player's pipewire audio output module is bugged

I was watching a movie on VLC and i paused checked something else on browser and when i turned back to VLC the sound was gone. It was not muted or something. The only way i can turn on the sound is to close it completely and reopen.

Switching the audio output module to Pulseaudio solved my problem.

This is the picture of pw top while the video was playing when pulseaudio mode was active. Seems totally fine.

After i switched to pipewire and at first it’s still running. Sound is good. Though pw top seems a bit different than the first one.

This is the time i resume the video.

This is the time right after i resume the video and sound was completely gone.
This is where things get little bit dubious. As you can see Err format is 1097 and Quant and rate values are 0. VLC’s playback engine is still running and trying to push packets but pipewire is dropping all of them.

The problem in here is pipewire or the VLC?

VLC3 does not support pipewire ootb. Pipewire support has been added in 4.0 (still alpha?)
I’d guess that it’s the vlc pipewire plugin. Last commit is from 2022.
Best avoid the pipewire plugin ( file a bug ) and try if VLC4 dev builds have improved pipewire support.