Native WebRTC audio problems on Android

1,350 views
Skip to first unread message

Mansson

unread,
Feb 2, 2017, 3:36:43 AM2/2/17
to discuss-webrtc
We're testing AppRTCMobile on a Nexus 6P. During video call there is a lot of echo. It seems like the audio from the speakers on the phone are not filtered out before sent to peer. (Despite that logs that are telling us that HW AEC in fact is enabled!) However, when testing the javascript-based version on https://appr.tc/ on the same phone using chrome, the audio is perfect! Why is that?

We would prefer using native WebRTC on android, but with such bad audio its not really an option. 
One solution is perhaps to use the javascript based API + a WebView, but it feels like a ridiculous thing to do just because of some audio problems. We would really prefer to use native WebRTC. 

Matteo C.

unread,
Feb 2, 2017, 3:50:51 AM2/2/17
to discuss...@googlegroups.com
Hi,
the Nexus6P has well-known echo issues, see:
I think you have to disable the built-in echo cancellation, we did this adding this model to the BLACKLISTED_AEC_MODELS in WebRtcAudioUtils.java and it works well.


Cheers,
Matteo

--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrtc+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/discuss-webrtc/5b52b539-e5e0-4282-bdb9-63ad54dbced2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bl...@webrtc.org

unread,
Feb 2, 2017, 3:59:28 AM2/2/17
to discuss-webrtc
Android N MR2 will provide a fix for echo issues on this specific device. As Matteo wrote until then you can add this device to the black list which should provide a solution to your described problem.

Mia

unread,
Feb 3, 2017, 2:42:14 AM2/3/17
to discuss-webrtc
Yes, disabling HW echo cancellation did help a lot. Many thanks!
Reply all
Reply to author
Forward
0 new messages