opentok-android-sdk-samples icon indicating copy to clipboard operation
opentok-android-sdk-samples copied to clipboard

No control over WebRTC audio processing (AEC, NS, AGC) from a custom audio driver

Open MatthewWhitmer opened this issue 2 years ago • 1 comments

It appears there is no way to control the software audio processing options in a custom audio driver which OpenTok configures in WebRTC.

Did I miss something in the API where I can do this? Or is this something that could be exposed?

For my use case I would very much like control for enabling/disabling the WebRTC based echo cancellation (as well as NS and AGC) while using a custom audio driver. Not all mic sources on Android support hardware cancellation on the device, and you can't get access to the unprocessed PCM audio data (to simultaneously save a high resolution video with unprocessed audio of the live directed video or broadcast) while hardware echo cancellation is in use.

Thank you!

MatthewWhitmer avatar Mar 16 '22 14:03 MatthewWhitmer

@Daniel085, @kapilmishr, FYI, it'll be nice if we could add advanced audio controls API to the Android SDK like we did for the Linux SDK.

v-kpheng avatar Oct 13 '22 21:10 v-kpheng