Sony X10 echo
Brought to you by:
krunalhire
Originally created by: thorstei...@brotocapital.com
Originally owned by: r3gis...@gmail.com
What steps will reproduce the problem?
1. Call or receive call
2. The other party talks
3.
What is the expected output? What do you see instead?
The other party hears echo of oneself
What version of the product are you using? On what operating system?
Csip 16-[r410], andriod 2.1, sony x10
Please provide any additional information below.
Fantastic product, simple and smart. The only problem I have is the echo the other party hears. Otherwise the quality is good. Any ideas how to work with that?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
You should read this thread : https://code.google.com/p/csipsimple/issues/detail?id=89&can=1&q=x10
Problem is that it's actually a remaining bug from Sony.
I tested on a friend phone and tweaking speaker and micro amplification may help.
Also in nightly builds there is some new options for echo cancellation. I didn't test on a X10. But worth to test to set echo cancellation mode to Speex echo canceller and echo tail length to 100ms.
Else we have to wait for Sony to fix that...
They have already fixed their driver in 2.1 cause in 1.6 it was absolutely awful. Sony has really few experience with android so they have this kind of problem with their ROM. They promised to be better in 2011 :)... I hope that they will backport their fix for their future device to X10 and X8 series.
Related
Tickets:
#89View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: thorstei...@brotocapital.com
Thanks, where do I find this version with additional echo cancellation features?
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Here : http://nightlies.csipsimple.com/trunk/
And the how to install : HowToInstallDevVersion wiki page.
If you get some interesting result do not hesitate to share it here or in any open issue about echo cancellation. These kind of settings are really dependent of the device. Increasing echo tail length require more CPU processing but may result better echo cancellation on some device.
So if you find some good settings for X10 I can set your values as defaults ones for X10 users.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Quick update, I've just noticed that speex echo cancellation was not fully enabled :/ (even if it's a workaround for X10 issue, it may reduce the echo so could be itneresting to test).
You can now test [r590]. With speex echo mode and tail length to 100ms; could help...
Related
Commit: [r590]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
My bad, tail length to 1000ms not 100ms.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
I'm using [r615] on my x10. I've enabled speex echo mode and set the tail length at 1000. The echo is almost the same as without echo cancellation. If I set the tail length at 1000 or bigger my calls start to fail more often (calls are hanging while the other party hangup).
I know a lot about SIP since I work at a VoIP provider. I want to find optimal settings to reduce the echo on the x10 and I can test as much as needed to get there.
Do you have any other suggestions?
Related
Commit: [r615]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
Also tried with [r678] but that didn't seem to help. It also has some problems with call setup.
I don't notice any difference between the different echo cancellations.
Related
Commit: [r678]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
I think that I have found some interesting way to significantly reduce echo on X10.
Here's how to try on your side and confirm me it fix the problem :
* Download and install latest nightly build http://nightlies.csipsimple.com/trunk/
* Switch to expert setting mode (wiki : ExpertSettingMode )
* Go in settings > media > Micro source, and choose VOICE_CALL as source.
As far as I could test on a friend's device it helped ;)
Owner: r3gis...@gmail.com
Status: Started
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
When I choose VOICE_CALL as source there is no audio at all on the other side. Do you know the android version on your friend's device?
In the attachment there is a part of the logfile I created. Maybe you can see what the problem is. I am on Froyo with CSipSimple [r816].
Related
Commit: [r816]
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
He has the latest official from Sony Ericson (the phone is rooted but rom is the official one).
What audio mode is setup? (In csipsimple settings > media > Audio mode for sip calls (last entry) ). It should be set up to NORMAL... it's maybe currently set to IN_CALL ~ I'm not sure but regarding logs that maybe the case. (Use mode api and use routing api should be disabled too).
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
Audio mode is set to NORMAL and the mode api and routing api are disabled. But there is still no audio. I can see my device is not capturing the micro source because I can see it IS sending audio (voice audio detection is disabled) on the SIP platform.
Offical rom from Sony Ericsson is based on Android 2.1, custom rom I use is on Android 2.2. Maybe that's the problem? Could there be a difference in selecting the micro source? (that's also what is failing in my log)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Yes indeed if you are using a non official android 2.2 rom, it's quietly sure that it will not work.
In fact this VOICE_CALL input is a hack specific for a "bug" in the way sony interprete the android audio api.
Normally VOICE_CALL should not work on devices cause most of the time in this mode GSM and micro are directly plugged together without giving audio frame to the application layer.
The default micro input should works when the manufacturer do things as it should be.
I guess guys that support your ROM did things more cleanly on with the glue between android and the device driver. So this hack is probably not relevant for you. If with your rom you have a very big echo, you should alert guys that support your ROM that they use the sony driver and that this driver is crappy and as consequence they should allow you to use the driver a way the micro does not record the output sound.
It could be interesting to test other micro source entry.
Some may just make the app crash - simply cause not supported in this android version - so reboot if it crashes to ensure audio driver is not in a bad state.
Hopefully future official upgrade from sony will fix all these crappy things with their driver. I tested an Xperia Arc and they now use the android API the right way (besides with android 2.3, there is an official api specific for call over IP).
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
I'm now on a custom rom based on Android 2.3.3. Which micro source should I try? There is still a big echo with the normal micro source.
Thanks for all your help and explanation. I'll try to let the developer of my rom fix it.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
With android 2.3.3 if everything works correctly on the ROM you should try the source "VOICE_COMMUNICATION" and the mode "IN_COMMUNICATION".
This is not official on android 2.3.3, however all "Official" ROM I tested on android 2.3.3 has this as private API. It's cause this new api is used by the stock SIP application.
If it does not work or does not help, you should try micro source VOICE_CALL. It fixed echo on the current official ROM of the X10.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: tverlaan@gmail.com
I think there is still something wrong with the SE audio driver :-(.
Thanks again!
I'll ask my ROM developer :-)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
Ok.
The new API I use is officially there only for android 11 (android 3.0).
But actually it works with ROM that support the new SIP feature. If ROM developer need more info from my side do not hesitate to ask.
I'd be pleased to help and maybe there is something I could learn too about the way it work on X10 driver :)
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: r3gis...@gmail.com
I close this issue, cause nothing can be done on csipsimple side. The only thing that can be done are using workarounds listed (for example another micro source)
Status: WontFix