Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect or Approximate Bluetooth Latency on Android (Audio Playback)

I am currently working on an Android audio visualizer using connected smart home devices (such as Philips hue) to visualize music. I have trouble compensating the delay caused by bluetooth speakers.

I have noticed, that the Youtube app, in difference to many other video streaming apps, has almost no delay between audio and video, when using bluetooth speakers. I figure, that they must compensate for the bluetooth latency by adjusting (delaying) the video signal.

Is there a reasonable way of detecting or approximating the latency/delay of bluetooth speakers?

Thank you very much for you help!!

Best, Stefan

like image 956
Stefan S. Avatar asked Feb 01 '16 19:02

Stefan S.


People also ask

How do you fix Bluetooth sound delay on Android?

Sometimes the most effective solution is the most obvious one. Reset your Bluetooth headphones and speakers then try reconnecting them again to your computer after a few seconds. With luck, it would reset the laggy connection and improve audio sync.


1 Answers

This would not work for Bluetooth speakers. However, I have been able to measure the audio latency of a Bluetooth dongle using Google's Dr. Rick O'Rang loopback dongle, using Glenn Kasten test app.

like image 86
cuihtlauac Avatar answered Sep 24 '22 15:09

cuihtlauac