2

I followed the tutorial to setup the Raspberry pi 3 running on Raspbian Jessie as a bluetooth speaker: https://raspberrypi.stackexchange.com/a/48055

After setting it up, it actually worked for a few seconds. My smartphone could pair to the raspberry pi 3 and I could actually stream music to the 3.5mm audio jack output on the raspberry pi, but a few seconds after I started streaming the music, it suddenly stopped playing music.

It started playing the music again when I restarted everything, but it stopped playing the music just a few seconds after it started playing the music again. So this was very unreliable!

The error shown in dmesg was

Bluetooth: hci0: Frame reassembly failed (-84)

This turns out to be a reproducible error: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=151633

1) Does anyone have an idea of how to make the raspberry pi 3 a more reliable bluetooth speaker that does not stop playing music after just a few seconds?

2) Does anyone know how to make it a dedicated bluetooth speaker, that just works when you boot up the raspberry pi without needing to type in command line commands (such as to start bluetooth, start pulseaudio, confirm the passkey, etc.)

Nofima
  • 53
  • 1
  • 2
  • 7

1 Answers1

3

I was not satisfied with the above solution either, although I had different problems. (More like the ones in the Raspberry forum)

So I made a working solution that doesn't require PulseAudio at all.

You can get it from here: https://github.com/lukasjapan/bt-speaker

Improvements:

  • one liner install
  • a daemon on startup
  • slightly better sound quality
  • automcially accepting players
  • remote volume control

Hope this helps.

Lukas
  • 366
  • 2
  • 4