-
Notifications
You must be signed in to change notification settings - Fork 118
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using LiveKit's AudioSwitchHandler to retrieve available audio devices, the Bluetooth device name returned on certain devices is incorrect.
On Xiaomi MI 9 connected to QCY-T5 Bluetooth earbuds, the name reported by BluetoothHeadset (surfaced through room.audioSwitchHandler.availableAudioDevices) is the phone’s Bluetooth name "MI 9", not the actual Bluetooth device name "QCY-T5".
This causes incorrect identification of the connected Bluetooth audio route.
To Reproduce
Steps to reproduce the behavior:
- Use a Xiaomi MI 9 device running Android 11.
- Pair and connect QCY-T5 Bluetooth earbuds.
- Join a room and query audio devices via:
room.audioSwitchHandler.availableAudioDevices
- Inspect the returned Bluetooth device name.
- The name appears as
"MI 9"instead of"QCY-T5".
Example code:
room.audioSwitchHandler.availableAudioDevices.forEach { device ->
Log.d("BT", "device.name = ${device.name}")
}Observed output:
device.name = MI 9
Expected behavior
The SDK should return the actual connected Bluetooth device name, such as:
QCY-T5
instead of the phone's own name.
Screenshots
(Logs or screenshots can be provided if needed.)
Device Info:
- Device: Xiaomi MI 9
- OS: Android 11
- Live: 2.23.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working