Detect or Approximate Bluetooth Latency on Android (Audio Playback)
<p>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.</p>

<p>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.</p>

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

<p>Thank you very much for you help!!</p>

<p>Best,
Stefan</p>