twilio / audioswitch

An Android audio management library for real-time communication apps.
Apache License 2.0
160 stars 49 forks source link

Select for input device A for output device B #151

Closed Yuriy29 closed 11 months ago

Yuriy29 commented 1 year ago

Implement the possibility to set different source for input and output, for example for input Bluetooth device for output phone microphone. Or it have already been implemented in the lib?

afalls-twilio commented 11 months ago

@Yuriy29 Unfortunately, this feature is not supported by audio switch, and supporting it would require a significant redesign of the library. Feel free to attempt to do it yourself though, It would entail using the androidx.mediarouter APIs and more complicated Bluetooth APIs.