aws / amazon-chime-sdk-android

An Android client library for integrating multi-party communications powered by the Amazon Chime service.
https://aws.amazon.com/chime/chime-sdk/
Apache License 2.0
104 stars 49 forks source link

External USB Audio device is not working #387

Closed Pravinauti9 closed 2 years ago

Pravinauti9 commented 2 years ago

Devices:

Info: Chime SDK version -> amazon-chime-sdk: 0.13.1

Bugs: We are using an external USB device for video and audio with Chime SDK. I can see the video from this external USB device. But Audio is not working with this same external USB device. It uses a default in-build Audio device instead of an External Audio device. Also, this external USB device is not present in the Audio device list.

Can you help me to identify what can be the issue? How this external USB device will work as an Audio as well as Video device at the same time?

ziyiz-amzn commented 2 years ago

Hi @Pravinauti9 Thank you reporting this.

Have you performed test against our demo app with the audio+video device?

Here is the function in our demo app to get all active audio device, audioManager is defines as private val audioManager: AudioManager = context.getSystemService(Context.AUDIO_SERVICE). You may loop through the list and find any entry with type TYPE_USB_DEVICE.

alnlau commented 2 years ago

Let us know if the suggestion above works.