Bluetooth audio source plays without sound randomly
- PipeWire version (
pipewire --version
):0.3.71 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
):Arch Linux - Desktop Environment: GNOME
- Kernel version (
uname -r
):6.3.3-arch1-1 - BlueZ version (
bluetoothctl --version
):5.66 - Bluetooth devices:Bus 001 Device 005: ID 8087:0a2a Intel Corp. Bluetooth wireless interface
Description of Problem:
I use my computer as a bluetooth speaker for my Android phone,since it's the default behavior when connecting a phone to computer with bluetooth, both pulseaudio and pipewire. Recently I found when I start to play some media on my phone, sometime there's no sound, and the other times it goes well. I can't remember which version of which software make things different, but it seems the issue didn't show in the past.
There's a way to reproduce stably:
- connect phone to computer with bluetooth.
- play some media(video, music) on the phone. It may start to play normally, and a output node and connections shows in helvum application.
- pause the media on the phone. the node will disappear in 2~3 seconds later.
- when the node disappear, start to play again at the same time, there will be no sound, but video and process bar will be still active on the phone. In helvum, the node will shows for a while, and then disappear rapidly, when video still playing on my phone.
- If repeating play and pause after the node disappear, the sound may start to play again.
Besides, there's also other conditions will cause the problem, such as play media quickly after connecting may lead to it. I tried to change some config for wireplumber or bluetooth, but solved nothing.