Signal-Android icon indicating copy to clipboard operation
Signal-Android copied to clipboard

Add Xiaomi Mi A2 to echo cancellation blacklist

Open JoaquimCSantos opened this issue 6 years ago • 10 comments

  • [x] I have searched open and closed issues for duplicates
  • [x] I am submitting a bug report for existing functionality that does not work as intended
  • [x] I have read https://github.com/signalapp/Signal-Android/wiki/Submitting-useful-bug-reports
  • [x] This isn't a feature request or a discussion topic

Bug description

On loudspeaker in the Xiaomi Mi A2 and A3, there is no echo cancellation.

Steps to reproduce

  • Call someone and put it on loudspeaker

Actual result:

  • The person on the other side will hear themselves speak, their echo.

Expected result:

  • The person on the other side of the call should not hear themselves speaking, their echo.

Screenshots

Device info

Device: Xiaomi Mi A2 **Android version: 10 Signal version: 4.77.3

Link to debug log

JoaquimCSantos avatar Nov 20 '20 20:11 JoaquimCSantos

I have confirmed this issue on calls with Xiaomi A2

leezu avatar Jan 17 '21 10:01 leezu

This issue is on calls with xiaomi A1 also.

newuser-web avatar Jan 18 '21 02:01 newuser-web

Still an issue on Mi a3

ghost avatar Jan 29 '21 01:01 ghost

Seems to be already added (A1 & A2). https://github.com/signalapp/Signal-Android/blob/29d6d3c041d857bfc5f94b4631f2f7587f599c06/app/src/main/java/org/thoughtcrime/securesms/ApplicationContext.java#L307

Can you check your debug logs what is listed for Model. If it's not misspelled it should be excluded.

if (HARDWARE_AEC_BLACKLIST.contains(Build.MODEL)) { WebRtcAudioUtils.setWebRtcBasedAcousticEchoCanceler(true); }

UserX404 avatar Jan 29 '21 19:01 UserX404

Model: Mi A1 #10768

newuser-web avatar Jan 30 '21 02:01 newuser-web

Yes, I have checked the code. But the problem still happens.

JoaquimCSantos avatar Feb 03 '21 19:02 JoaquimCSantos

Please note there was no echo before https://github.com/signalapp/Signal-Android/issues/7635 (at least). It used to work perfectly fine when I first bought my phone. It worked fine with A1, and A2...then it broke...

After 7635 was solved it was never fixed back.

There have been several issues raised (https://github.com/signalapp/Signal-Android/pull/7956, https://github.com/signalapp/Signal-Android/issues/7635, https://github.com/signalapp/Signal-Android/issues/10215) but in fact this hasn't fixed the problem.

miguelcoelhosantos avatar Feb 04 '21 09:02 miguelcoelhosantos

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Jan 27 '22 02:01 stale[bot]

ahoy there! we made some improvements to the echo-cancellation logic in our android 5.29 release. I’m running through some old AEC issues and resolving them now; please try out the latest release and holler if you have any issues :)

https://github.com/signalapp/Signal-Android/commit/47134e19f18fe7f6e611b7c228520e5d5c0791f5

jimio-signal avatar Jan 28 '22 05:01 jimio-signal

@jimio-signal

Hi, just to give feedback: echo is back on my Mi A2 - has been for several weeks now. Best

maymage avatar May 15 '22 07:05 maymage