Page 1 of 1

Streaming data data via Bluetooth on constant rate from ESP32 to Android

Posted: Fri Jan 15, 2021 5:07 pm
by jjamjohnson
Hello everyone.

I have audio samples at 8kHz sample rate and successfully send them to Android phone via Bluetooth SPP.

The issue I am facing is non constant send rate - but rather fluctuates from 1KBps to 44KBps and causes for playback to snap. I can solve or minimize this by increasing buffer size to couple of seconds before i start with playback thus increasing lag.

I suppose that a2dp should be the appropriate way of doing this but Android does not support a2db sink role without recompiling only the other way around.

I could use WiFi but would try to avoid it.

Does anyone have an idea on how to achieve this?

Kind regards

Re: Streaming data data via Bluetooth on constant rate from ESP32 to Android

Posted: Thu Jan 13, 2022 10:28 pm
by lakshay
Hi,

Did you find any solution to this?

Thankyou!