1

I'm creating a basic WebRTC application for Android, so far most of the things works just fine, except for the audio. Whenever the the connection is established, there's a really loud and echoing noise, which doesn't stop until the connection ends. I have looked into some similar problems like this, and this, which suggested something like enabling echo cancellation and disabling local audio playback.

Now, the problem is I can't find any way to disable the local audio playback on Android, is this still something that's controllable on Android?

Jack
  • 5,354
  • 2
  • 29
  • 54
  • Are you developing on Android SDK or Android NDK? Are you using any third party Live streaming SDK? – Buze Jan 14 '19 at 19:08
  • Android SDK, no third party SDKs. – Jack Jan 15 '19 at 07:03
  • AFAIK, the Android SDK does not have WebRTC in it, other than to the extent you load WebRTC stuff into a `WebView`. You might want to check out existing open source WebRTC apps for Android, such as [Riot.im](https://github.com/vector-im/riot-android), and see how they are implementing WebRTC, whether they seem to suffer from the same audio problems, etc. – CommonsWare Jan 19 '19 at 14:40
  • It's not in the Android SDK, but there's a WebRTC native API, and that's what I'd like to use to control the audio and other stuff. But I'll check out the other examples. – Jack Jan 19 '19 at 18:42

0 Answers0