-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
Describe the bug
When I connect to my agent from my android device, it does not use my connected Bluetooth headset for audio output.
We've tested on 3 different android devices with bluetooth headsets.
- In one case things worked as expected
- In another case the audio never came out of the bluetooth headset
- In another case the audio initially came out of the bluetooth headset, but then switched and started coming from phone speakers
We experience the same issues in the following environments:
- The Livekit playground
- The LiveKit Agents Playground: running in mobile Chrome, connected to a simple agent running locally.
- Web App in Mobile Chrome: utilizing:
- @livekit/components-react version 2.9.3
- livekit-client version 2.11.4
- Capacitor Deployment: The same app as above, but deployed in a webview
Things work as expected on iOS devices
When running this in our own app with a debugger, I can see that the devices
returned from useMediaDeviceSelect({kind: 'audiooutput'})
is empty
This issue could be related to:
- Audio device selection client-sdk-android#650
- Audio Device Selected device Given wrongly from LiveKit client-sdk-android#649
- [iOS/Android] Switching audio output only works when microphone is enabled #1493
Reproduction
Steps:
- Activate bluetooth headphones
- Confirm that audio from the app is coming through the headphones
- Connect to agent via Livekit Playground
- When the remote agent speaks, the audio comes out of the phone speaker rather than the bluetooth headset
Logs
System Info
System:
OS: macOS 15.4.1
CPU: (10) arm64 Apple M1 Max
Memory: 114.69 MB / 64.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 22.13.1 - ~/.asdf/installs/nodejs/22.13.1/bin/node
Yarn: 4.9.1 - ~/.asdf/installs/nodejs/22.13.1/bin/yarn
npm: 10.9.2 - ~/.asdf/installs/nodejs/22.13.1/bin/npm
Browsers:
Chrome: 136.0.7103.49
Safari: 18.4
Severity
blocking all usage of LiveKit
Additional Information
No response
barillax, romancavry, jgnt32 and heath-pack
Metadata
Metadata
Assignees
Labels
No labels