feelfreelinux / cspot

A Spotify Connect player targeting, but not limited to embedded devices (ESP32).
Other
460 stars 43 forks source link

Playing music through Bluetooth #125

Open fellowmean5 opened 2 years ago

fellowmean5 commented 2 years ago

Hello! Its actually isnt issue. But i d like to know, is it possible to connect bluetooth headset to esp32 and play music into it? Thank you!

kYc0o commented 1 year ago

I think it can be theoretically possible by implementing void feedPCMFrames(std::vector<uint8_t> &data) on a A2DP codec. Maybe some inspiration can be gathered from https://github.com/pschatzmann/ESP32-A2DP

I feel inspired now so I may take a look, I'm interested on playing music from a phone using wifi towards a BT Boombox (e.g. JBL Charge 5)