I am a bit struggling with getting bluetooth and a2dp running properly. I have a hard time understanding where I should pair my devices and how I can make my pulseaudio container see the bluetooth sink.
I am currently trying to run bluetoothctl in the host os to pair, but I’m failing to connect to the device (a bluetooth speaker) after a successful pairing. The error message is
[bluetooth]# connect B3:63:99:47:C6:CA Attempting to connect to B3:63:99:47:C6:CA Failed to connect: org.bluez.Error.Failed
Trying to run bluetoothctl in the container where I have pulseaudio installed results in a timeout waiting to connect to the bluetoothd daemon (which AFAIK is running directly in the host).
bash-4.4# bluetoothctl Waiting to connect to bluetoothd...
I have been trying both with a single container as well as with a multi container setup using docker-compose.
Any pointers on this? It seems that most of the example projects and documentation I can find is outdated.