Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio selection with multiple Bluetooth devices #113

Open
ribafish opened this issue Aug 20, 2020 · 2 comments
Open

Audio selection with multiple Bluetooth devices #113

ribafish opened this issue Aug 20, 2020 · 2 comments
Labels
feature-request New feature or request

Comments

@ribafish
Copy link

Describe the bug
When there are multiple Bluetooth audio devices connected to the phone, only the last one added is usable. Even if chooseAudioDevice is called with the first connected BT device, only the last added/connected is used.

To Reproduce
Steps to reproduce the behavior:
0. Connect multiple BT audio devices (headphones, speakers, etc.) - doesn't need to be before the call though.

  1. Connect to a meeting
  2. Click on select audio devices
  3. Select the not-last (first) connected BT device as audio source
  4. Get output/input from last connected BT device even though it was not chosen

Expected behavior
Expected behavior is that the chosen BT device is used regardless of when it was connected to.

Test environment Info (please complete the following information):

  • Devices: Samsung S8 [Android 9 API 28], Samsung Note 9 [Android 10, API 29]
  • Version amazon-chime-sdk: 0.7.1 and 0.5.3
  • Version amazon-chime-sdk-media: 0.6.1 and 0.5.1

Additional context
Looking at the source code, it seems the issue lies in the fact that chime SDK is selecting devices only based on type, not on actual device chosen.

@hokyungh
Copy link
Contributor

It looks like we currently don't support this feature. We only set route and I believe OS will determine the device that will be used for bluetooth. I'll add enhancement label and we'll come up with better solution.

@ribafish
Copy link
Author

That is true. I guess a better issue title would be to change it to Audio device selection with multiple devices of the same type

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
Status: Tell Us What You Need
Development

No branches or pull requests

2 participants