Menu

#1915 Echo cancellation does't work with 0.04-01 - echo cancellation works in r1711.

Duplicate
nobody
None
Medium
Defect
2013-09-01
2012-08-27
Anonymous
No

Originally created by: stefan.k...@gmail.com

On my LG GT540 smartphone with Android 4.0.4 (CM 9) and CSipSimple 0.04-01 from Google Play (actualized at 20120826) the echo cancellation doesn't work.

One of the latest nightly-versions of CSipSimple where echo cancellation works is 0.04-00 [r1711]. Within the next (I think less than 5) nightlys the bug have slipped in. And the bug is still in 0.04-01 from Google Play.

My solution is to work with [r1711]. But these version have another little bugs.

CSipSimple (up to [r1711]) and Skype are the only VoIP-clients that are echo free on my GT540. The integrated android client works up to Android 2.3.3 with echo (in ICS no sound comes) and sipdroid have still an echo. Now CSipSimple has an echo, too.

Can you activate the working echo cancellation from [r1711] in the next nightlys?

I could test these, please write back when you are ready.

Thank You.

Stefan Koch

Related

Commit: [r1711]
Tickets: #119
Tickets: #1996

Discussion

  • Anonymous

    Anonymous - 2012-08-27

    Originally posted by: r3gis...@gmail.com

    Well I think there is a version more close to 1711 that still works (version of the play store and current nightly are about 1840. (more that 100 revision).

    The problem can be several things.
    The first thing you could try is to change the echo canceller implementation.
    To do so, switch to expert setting mode (https://code.google.com/p/csipsimple/wiki/ExpertSettingMode?wl=en#General_settings) and in Media settings, change the implementation from webRTC to speex for example.

    However, since you tell that some other sip app also have problem and some other voip apps doesn't it more looks like something with the audio routing.
    On android it's hard to get something consitant across device and there is various options that could lead to put the phone in a state that naturally eliminate echo or not.
    To play with these option in Media settings, go in Audio troubleshooting section. The "Use mode API" or micro source could for example help.
    The audio implementation (java instead of Open-SL ES) could also all the more so as it's an option that has changed of default value between [r1711] and current version.

    If one of these option help it's more like a bug in the device than something wrong from the app. And apps that choosen one of the strategy over the other will result in different echo while normally all should result in none.

    If you get some positive results from these tests and have still audio routing to speaker/earpiece working properly don't hesitate to share here or on the dedicated issue 119.

    Mergedinto: 119
    Status: Duplicate

     

    Related

    Commit: [r1711]
    Tickets: #119

  • Anonymous

    Anonymous - 2012-08-27

    Originally posted by: stefan.k...@gmail.com

    Thank you.

    If I choose "Java" instead of "Open-SL ES" in Version 0.04-01 from Google Play then echo cancellation works there, too.

     
  • Anonymous

    Anonymous - 2012-08-27

    Originally posted by: stefan.k...@gmail.com

    hands-free talking mode doesn't work with both versions ([r1711] and the actual from Google Play)

     

    Related

    Commit: [r1711]

  • Anonymous

    Anonymous - 2012-08-27

    Originally posted by: r3gis...@gmail.com

    Did you try to modify other settings than the Audio implementation?
    It could have big impact on audio routing so could be interesting to test it as stated in the FAQ entry.

    Mergedinto: 119

     
  • Anonymous

    Anonymous - 2012-08-30

    Originally posted by: stefan.k...@gmail.com

    If i change the cancelling algorithm from WebRTC to speex the echo is quietly hearable in the same way with "Java" or "Open-SL ES". With WebRTC and Open-SL ES is full and loud echo, with WebRTC and Java there is no echo (only the first spoken word reperates as echo - then no echo comes anymore).

    Loudspeaker mode doesn't work with both variants.

     
  • Anonymous

    Anonymous - 2013-09-01

    Originally posted by: q...@mt2014.com

    CyanogenMod 4.3 Nightly, Samsung Galaxy Tab 2 7 inch TFT.

    Yes, you are right. Switching "Open-SL ES" -> "Java" and WebRTC routing implementation and WebRTC echo canceler solved the problem for the moment. It is still far from being good but such setting at least cured the problem for the moment.

    I found another poor phone LG L700 and I gave up some time ago but I will try to set it up to "Java" and then I will tell you.

    In LD L700 the echo is 100% laud. I will check and I will tell...

     

Log in to post a comment.