Super Gladiator
Super Gladiator

Reputation: 31

How to get info about Bluetooth output device latency in Python

I've been making a Python media player, but the audio and video de-synced when using a Bluetooth speaker, and I've been wondering how to get the Bluetooth latency using Python.

I am using a MacOS device, so the PyBluez module won't work.

I tried using SimplePyBLE but when I use the module, it always gives me an exit code -9 error.

I've also attempted to use blueutil with subprocess but I don't think it has the capability to get the latency of the bluetooth device.

If anyone's wondering, I use PyQt6.QtMultimedia MediaPlayer for audio and video.

Is there any tool for MacOS Monterey 12.7.5 that I can use to get the latency of a Bluetooth device?

Upvotes: 0

Views: 77

Answers (0)

Related Questions