olleb3 / csipsimple

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

Echo Problems #208

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Call someone.
2. Talk with said someone.

What is the expected output? What do you see instead?
This is a mixed bag, as I have had one person complain of echo and one person 
not. I need to test it more thoroughly. Echo Cancellation and Voice Detection 
were enabled, but the person I called still complained of her voice echoing on 
her end. I couldn't hear echo on my end.

What version of the product are you using? On what operating system?
Stable market version. Have not yet tested it on the development version (but I 
will be). Phone is Droid Incredible running SkyRaider 2.5.2. I have noticed 
that this seems to happen with all the SIP clients I've tried, so maybe it's a 
hardware issue? That would be unfortunate. This was over WiFi when the echo 
issues occurred.

Original issue reported on code.google.com by kni...@gmail.com on 9 Sep 2010 at 5:32

GoogleCodeExporter commented 9 years ago
Unfortunately, some devices manufacturer has not well implemented the audio 
stack...
As consequence on some device what application record is the mix between the 
micro hardware and the output line :(... That's the case for example for the 
Sony Ericson X10.
As direct consequence the person in the other end will both ear your voice 
(from the mic) and his voice (from the earpiece/mic).

Decreasing speaker amplification (in media settings) can helps a lot (for 
example 0.2). But that's just a workaround. You can also try to increase media 
quality (to 5 for example).

However, Echo Cancellation feature should solve this problem, but I guess I'm 
doing something wrong with it (or don't configure it properly). So this is 
indeed an open point and I have to find out why the echo cancellation feature 
(from pjsip sip stack) doesn't work properly.

Anyway, let me know if media quality or speaker amplification feature helps, 
I'm interested in it.

Original comment by r3gis...@gmail.com on 9 Sep 2010 at 5:51

GoogleCodeExporter commented 9 years ago
Forgot to say, could be interesting to ask this ROM authors if there is nothing 
they can do regarding this issue.
I guess they are based on drivers from Motorola but there is maybe something to 
do with this driver to correctly map MIC default source to the micro hardware 
in NORMAL_MODE.

Original comment by r3gis...@gmail.com on 9 Sep 2010 at 6:04

GoogleCodeExporter commented 9 years ago
Well, I don't get echo on regular cell calls. So either they are doing 
something that bypasses a problem in the ROM, or there is a separate audio 
stack being used by Android SIP clients, or there is a quirk elsewhere in the 
ROM that doesn't apply to calls, or...

Endless possibilities at this point. When I get home later I will try to do 
some more testing with some people.

Original comment by kni...@gmail.com on 9 Sep 2010 at 6:08

GoogleCodeExporter commented 9 years ago
> You can also try to increase media quality (to 5 for example).

I'm really interested in the meaning of "media quality". What does it do 
exactly?

Original comment by m...@ufritz.de on 9 Sep 2010 at 6:34

GoogleCodeExporter commented 9 years ago
As far as I understood, android can set audio in mode IN_CALL_MODE. In this 
mode it tell hardware to directly route audio hardware to the GSM chipset. 
It absolutely bypass the rest of the android system.
When set in this mode most android device route a really quiet (or not at all) 
sound from micro. On other device it also can implies cpu pledge or crashes.
So indeed, for cell calls there is no the problem, but as it doesn't use the 
android audio system, it is not contradictory that we don't get the same 
problem on gsm calls.

Original comment by r3gis...@gmail.com on 9 Sep 2010 at 6:42

GoogleCodeExporter commented 9 years ago
For media quality : 
http://www.pjsip.org/pjsip/docs/html/structpjsua__media__config.htm#4cada00a781c
e06cd536c4e56a522065
It's the documentation of the sip stack on which CSipSimple relies (pjsip).

However regarding source code it also impact other things than only resampler.

Btw, testing 16kHz as frequency could be interesting too.

Original comment by r3gis...@gmail.com on 9 Sep 2010 at 6:47

GoogleCodeExporter commented 9 years ago
This could be as simple as feedback from the earpiece to the mic. I found that 
my HTC Incredible's mic is so sensitive it can pick up the earpiece audio even 
with it pressed to my ear. See if turning down the in-call volume helps. 

Original comment by dc3de...@gmail.com on 9 Sep 2010 at 9:19

GoogleCodeExporter commented 9 years ago
I turned down the speaker gain in the latest development version (29), and it 
seemed to get rid of echo. This test was with the person originally complaining 
about echo, and the call was over WiFi. I left Media Quality at the default. I 
will try to test with some other people and change the media quality.

Original comment by kni...@gmail.com on 10 Sep 2010 at 2:22

GoogleCodeExporter commented 9 years ago
On my galaxy 9000 there is also an issue, with incoming calls. I have set the 
gain for call-in volume to 0.2

If I pick up the phone, the back speaker is on all the times an produce an echo.

If I pick up the phone, there is some times no call-in sound at all. If I open 
the settings and close it again, all is fine, even since the update to V29.

Original comment by m...@ufritz.de on 10 Sep 2010 at 8:43

GoogleCodeExporter commented 9 years ago
Tested in 32 over 3G with default media quality and .2in call gain and person 
said there was echo. Will experiment with media quality next time I test. Will 
also test on both 3G and WiFi.

Original comment by kni...@gmail.com on 26 Sep 2010 at 5:38

GoogleCodeExporter commented 9 years ago
This is still a major issue for me on my Hero, even with the settings suggested 
above. Hope something can be found soon.

Cheers

Original comment by fatrodmc...@gmail.com on 19 Oct 2010 at 5:25

GoogleCodeExporter commented 9 years ago
On htc hero is the sound going through the rear speaker? If yes what android 
version are you running on the hero?
The HTC hero on which I test is running official 2.1 and I don't observe echo. 
So I guess it's something with the android version, If you can precise me the 
version I'll probably be able to reproduce and maybe solve the issue.
Another question when you say that there is echo, I assume that's the remote 
party that is experimenting echo, isn't it? Else if you are hearing the echo of 
your voice on your hero and your remote party has on his side no echo... it 
means that who produce the echo is the remote party and not you. The party 
annoyed with echo is quietly never the cause of the problem.

Original comment by r3gis...@gmail.com on 19 Oct 2010 at 6:34

GoogleCodeExporter commented 9 years ago
@fatrodmcdjs : If your hero were running android 1.6 or 1.5, lastest build 
(0.00-15-03 available on download section) should fix the problem (routing to 
earpiece only instead of earpiece + rear speaker).

Original comment by r3gis...@gmail.com on 23 Oct 2010 at 9:22

GoogleCodeExporter commented 9 years ago
Been testing with .15-01 and according to my test subj--err, other parties, the 
echo problem seems to have vanished. Tested on both 3G and wifi with two three 
different people, one of which was on a landline. I believe my earpiece volume 
is still at .2 amplification. If I experience any other problems, I will post 
here again. 

Original comment by kni...@gmail.com on 23 Oct 2010 at 2:54

GoogleCodeExporter commented 9 years ago
When using my HTC Hero on Zoom Mobile network (Sprint Towers) there are several 
people I speak with on a regular basis who always tell me that they hear their 
own voice echo when we talk. They say it only happens with me. I'm on Android 
2.1.

Is there a lay person remedy for this issue?
All this chatter about stacks, ROMs, "sip stack on which CSipSimple relies 
(pjsip)" and other technical babble does not help. And turning down the speaker 
when it's not on speaker phone mode is moot too. 

What does "testing with .15-01" mean?
And how do I do that?

Original comment by iamj...@gmail.com on 4 Nov 2010 at 1:00

GoogleCodeExporter commented 9 years ago
Version .15-01. Try installing the dev version Apk from the home page and see 
if that improves anything. It should be at 15-09 right now at the time of this 
posting. 

Original comment by kni...@gmail.com on 4 Nov 2010 at 3:04

GoogleCodeExporter commented 9 years ago
@iamjayj :
Devs version are available here :
http://code.google.com/p/csipsimple/downloads/list
Devs version have a code name like that : 0.00-xx-xx while market (production) 
version have a version like that 0.00-xx 
You can follow this tutorial :
http://code.google.com/p/csipsimple/wiki/HowToInstallDevVersion

To know how to install a dev version :)...  This is the documentation !!!

Here it's a place to solve bugs and I consider users as not just monkey and try 
to explain them what is happening.
This is an opensource application, and I develop it on my own time ! As an 
opensource application, users made the software ! 
So I try to educate users in order they help to improve the software. If you 
are not pleased with this approach just use a proprietary software ;p

Original comment by r3gis...@gmail.com on 4 Nov 2010 at 10:09

GoogleCodeExporter commented 9 years ago
Hello, same problem with Motorola Defy (2.1)

To me, communication is good, but my correspondent ear my voice and echo of his 
own voice. 
Echo reduce is ticked.

Original comment by stf.gil...@gmail.com on 11 Mar 2011 at 10:05

GoogleCodeExporter commented 9 years ago
Motorola defy 2.1
Same echo pb for the people i call. 
For me sound is good whithout echo

Original comment by stephane...@gmail.com on 15 Mar 2011 at 8:52

GoogleCodeExporter commented 9 years ago
I've had a Motorola Defy since December 2010 and it't been back for repair 3 
times with the issue of echoing on the other end.  When they test it at the 
Telstra shop it works fine so I don't know if it's an issue with distance but 
several callers refuse to call me as they said the echoing is too annoying.  
I'm hoping that third time lucky and I'll get to choose another mobile on my 
plan.  I definetly won't be asking for another Motorola, rather go back to my 
old Nokia than put up with that @#*!.
Kerry

Original comment by ticket...@hotmail.com on 16 Jul 2011 at 8:51