twilio / voice-quickstart-android

Quickstart app for the Voice Android SDK
https://www.twilio.com/docs/api/voice-sdk/android/getting-started
MIT License
184 stars 140 forks source link

Android bluetooth headset car commands issue #573

Closed aherman closed 7 months ago

aherman commented 9 months ago

Description

When I connect my Android device to the Bluetooth car headset, I'm experiencing weird behavior. I don't get incoming call UI (on my car) when I get a call invite, and when I accept a call, then I get call UI on my car screen. But, neither of those commands on the car screen work (End call, Hold, DTMF, ..). It is not Android Auto, but just basic Bluetooth handset implementation. Tested on various Bluetooth car implementations.

Steps to Reproduce

  1. Connect Android device to Bluetooth car
  2. Make a call to the device
  3. Observe is there call invite screen / Accept call and try to use car commands

Expected Behavior

Show call invite UI on car; When End Call car command pressed, end call.

Actual Behavior

No call invite UI, commands don't work.

Reproduces How Often

Always.

Versions

All relevant version information for the issue.

Voice Android SDK

6.1.2

OS Version

Android 13 / 14

Device Model

Google Pixel 5A, Samsung S21

afalls-twilio commented 7 months ago

yeah, our provided version of audioswitch, which is open source does not support those additional buttons. Feel free to take the code and extend it to handle/trap bluetooth playback control.

softsan commented 7 months ago

@aherman Have you made any progress on this? as i also looking for solution for car bluetooth