Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

Echo cancellation cuts off mic input unless you talk real loud. #2837

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Turn on echo cancellation.
2.Make call.
3.Talk.

What is the expected output? What do you see instead?

I would expect it to pick up my entire conversation without having to talk real 
loud.
Instead it cuts off your voice (mic) when you speak a little soft.

What version of the product are you using? On what device / operating
system?

I'm currently running the latest nightly build but also have tried the current 
stable version.
I'm running it on a samsung skyrocket s2 with custom rom ( beanstalk ).

Please provide any additional information below.

If I turn off echo cancellation it works as expected but of course I then have 
an echo.
I'm currently using the Zoiper sip client which seems to work with no problem 
but would prefer to use Csipsimple.

It doesn't matter what echo method I use simple, webrtc etc.
One other thing I have noticed is if I set the echo cancellation to auto 
Csipsimple stops responding and I have to reboot the phone to get it to work 
again.
I have tried every combination of echo cancellation and mic source etc nothing 
makes a difference.

Original issue reported on code.google.com by har...@thepetersclan.com on 23 Nov 2014 at 4:34

GoogleCodeExporter commented 9 years ago
Exact Phone model number: AT&T Samsung Galaxy S II Skyrocket SGH-i727

Original comment by har...@thepetersclan.com on 25 Nov 2014 at 7:39

GoogleCodeExporter commented 9 years ago
Tried multiple roms:
Stock ics 4.0.3 - 4.0.4 = doesn't work same problem as above.
Stock jellybean 4.1.2 = works.
paranoid 4.4.4 = doesn't work same problem as above.
beanstalk 4.4.4 = doesn't work same problem as above.
slim 4.4.4 = doesn't work same problem as above.
slim 4.3.1 = doesn't work same problem as above.
slim 4.3.0 = works but has a lot of static drop out noise in audio.
slim 4.2.2 = doesn't work same problem as above.
slim 4.1.2 = works.

So I guess I will be using slim 4.1.2 jellybean it's the best I found so far.

Original comment by har...@thepetersclan.com on 27 Nov 2014 at 10:35

GoogleCodeExporter commented 9 years ago
Tried some more roms:
CyanogenMod 10.1 (4.2.2) = works with backend set to java.
CyanogenMod 10.1.1 (4.2.2) = doesn't work.
CyanogenMod 10.1.3 (4.2.2) = works with backend set to java but needs the mic 
gain cranked way up.
CyanogenMod 10.2 (4.3.1) = works when echo canceler is set directly (not auto) 
and the Use Mode audio API is set and the OpenSL-ES backend is set.
Beanstalk 4.4.2 = doesn't work either the same problem listed above or if you 
enable the Use Mode audio API it appears to disable echo cancelation and you 
have an echo.
Slim 4.3 Build 2.2 1747 (4.3.1) = works when echo caneler is set directly (not 
auto) and the Use Mode API is set and the OpenSL-ES backend is set.

It appears that most jellybean roms will work when the right setting 
combination is used but no Kitkat roms work.

Original comment by har...@thepetersclan.com on 29 Nov 2014 at 2:24

GoogleCodeExporter commented 9 years ago
Ok after looking into it some more any kitkat rom based off of CyanogenMod 
doesn't work.

Any kitkat rom based off of AOSPA works with the echo canceler set directly and 
the Use Mode audio API set.
The paranoid rom(AOSPA) I mentioned above as not working earlier does work I 
didn't know about the Use Mode audio API yet.

Original comment by har...@thepetersclan.com on 29 Nov 2014 at 10:28

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:31