krunal09 / csipsimple

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

In call volume issues - GSM and VOIP volumes are not aligned #1005

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Start GSM call, lower the in call volume to minimum
2. Disconnect
3. Start VOIP call with CsipSimple. Raise the volume to maximum
4. See the volume appears at maximum, but you can hear very low

What is the expected output? What do you see instead?
CSipSimple and GSM's "in call volume" to be coordinated

What version of the product are you using? On what operating system?
Market Latest

Please provide any additional information below.
If you start another GSM call and raise the volume, then CsipSimple will have a 
good volume

Original issue reported on code.google.com by arnonse...@gmail.com on 30 May 2011 at 2:05

GoogleCodeExporter commented 9 years ago
This kind of issue is really linked to the way the manufacturer of your device 
implement things. 
It is sometimes absolutely impossible to get a proper audio routing at all. 
Search on this issue list about audio routing issues, and echo issues.
You'll see that having a VoIP app running before android 3.0 with a correct 
implementation are just hacks !

All you could try is to play with audio routing troubleshooting options. But 
keep in mind, in android system GSM chipset and audio for user space software 
are very linked to the way the manufacturer did things. 
And unfortunately, nothing can be done for that except hacks. And search on the 
issue list, csipsimple provide ways to hack a lot ;).

If you find something that improves things for your device, do not hesitate to 
feedback with the exact device so that I can switch some hack for your device 
automatically.

Original comment by r3gis...@gmail.com on 30 May 2011 at 2:45

GoogleCodeExporter commented 9 years ago
This issue was introduced in the latest version of CSS.
How come it is invalid?
It was ok before 

Original comment by arnonse...@gmail.com on 30 May 2011 at 3:11

GoogleCodeExporter commented 9 years ago
What version of android you are running?

Original comment by r3gis...@gmail.com on 30 May 2011 at 3:19

GoogleCodeExporter commented 9 years ago
And also, what device :) - as I said all depends on the ROM/manufacturer and 
audio driver.
Sometimes default hacks changes from a version to another in order to reflect 
what are the best settings according to users feedback

Original comment by r3gis...@gmail.com on 30 May 2011 at 3:20

GoogleCodeExporter commented 9 years ago
Nexus One, Android 2.3.4

Original comment by arnonse...@gmail.com on 30 May 2011 at 5:12

GoogleCodeExporter commented 9 years ago
Ok, so 2.3.4 introduce a new mode for voip calls. This mode is the one used by 
the stock android app.

In lastest versions CSipSimple use this new mode by default. However, this new 
mode is very young and even if it is announced to be better (specialy for echo 
cancellation).
It may explain other difference such as relation with the GSM calls.

If you want to revert to the previous modes, that's pretty easy : 
 * Activate the ExpertSettingMode (see the wiki page about that)
 * Go in media settings, and change 
   - The micro source to DEFAULT instead of VOICE_CALL
   - The audio mode for sip calls to NORMAL instead of VOICE_COMMUNICATION

Doing that will not make you benefit everything done by google to try to 
support better voice over IP in the 2.3.4....
Well.. they probably didn't finish everything... just compare the quality of 
the stock sip app and csipsimple... but that's the "official way" and that's 
what will be the good settings for the future.
I did tests on android 3.0 tablets and quality using these settings are awesome.

However, if for now you prefer the old settings, you can easily revert ;).

Original comment by r3gis...@gmail.com on 30 May 2011 at 5:20