amazon-chime-sdk-ios icon indicating copy to clipboard operation
amazon-chime-sdk-ios copied to clipboard

Audio source switching not working properly when using multiple Bluetooth devices

Open r00li opened this issue 5 years ago • 3 comments

Describe the bug When using the listAudioDevices() functionality on the audioVideo property of the meeting session we get back a list of all audio devices available. If the user has multiple Bluetooth devices connected, you get all of them on that list of devices. If the user then chooses one of them using chooseAudioDevice(mediaDevice:) the choice isn't actually respected and instead the last Bluetooth device connected to the phone is used.

Expected behavior When calling chooseAudioDevice(mediaDevice:) with a specific Bluetooth device that actual device will be used as audio input/output instead of the last connected Bluetooth device.

Test environment Info:

  • Device: iPhone 8
  • OS: 14.1
  • Version AmazonChimeSDK: 0.11.1
  • Version AmazonChimeSDKMedia: 0.7.1

Additional context Besides fixing this bug the SDK should also include the functionality for returning which device from the listAudioDevices() list is actually currently used so that we can clearly communicate to the user what device they are currently using. Not sure if this needs to be a separate feature request though.

r00li avatar Nov 05 '20 08:11 r00li

This is definitely sounds like a bug. We'll put bug label for it. For currently used device, we have implementation ready, so in the next release, we'll have the feature for get currently used device.

Thanks!

hokyungh avatar Nov 05 '20 23:11 hokyungh

@r00li get current audio device is released. We'll keep this thread open for the other issue, which is multiple bluetooth device support.

hokyungh avatar Feb 08 '21 23:02 hokyungh