rhysmorgan134 / react-carplay

MIT License
382 stars 58 forks source link

How to output sound from bluetooth? #12

Closed Zhouxiaolei1396 closed 2 years ago

Zhouxiaolei1396 commented 2 years ago

This is a great project, may I ask how the sound is output from bluetooth?

rhysmorgan134 commented 2 years ago

If you mean the sound from the application, then it should output to default sound device set in the OS. I haven’t tested Bluetooth though, but if set as default, it should output via that.

Zhouxiaolei1396 commented 2 years ago

If you mean the sound from the application, then it should output to default sound device set in the OS. I haven’t tested Bluetooth though, but if set as default, it should output via that.

Thank you for your reply. I currently use the Raspberry Pi 3B, 7' MIPI DSI display. Now I am connected to my Bluetooth speaker. There is no sound output when playing music through CarPlay. Is there any way for me to output sound through Bluetooth? Thank you.

ochompsky commented 2 years ago

BT works (only tested in my tesla) but pretty badly. i can get spotify to play but not waze.

i suggest looking into this project, it's much more polished.

rhysmorgan134 commented 2 years ago

As above, the application itself is does not know how it’s playing, it will just play through the whatever the sound output is set to in the OS.

Aslong as output is set to Bluetooth it will play with no issues. Due to this I don’t see why Spotify would work but waze wouldn’t, internally all audio streams are handled the same.

Zhouxiaolei1396 commented 2 years ago

After I replaced the bluetooth speaker, there is sound output, thank you, good luck.