Originally created by: vuthuang...@gmail.com
What steps will reproduce the problem?
1.Any in- and out-going calls using CSIPSIMPLE
2.
3.
What is the expected output? What do you see instead?
Correct mic (close to mouth) should be used but the one next to earpiece was used regardless of mic selection in expert mode setting.
What version of the product are you using? On what operating system?
nightly built [r1225] on GB 2.3.6 CKL2 (root)
Please provide any additional information below.
The wrong mic resulted in a lot of surrounding noise was picked up. The latency was significantly reduced (using openSL-ES) compared with the version available on the Android market.
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
Did you tried to change the audio mode for sip calls?
It may also affect the micro in use.
Samsung does really crappy things with their audio layer. Each device needs its own workaround and sometimes it could give headache to get something that is working. And they sometimes mess themselves with the mode and the micro source (and sometimes also with the frequency ).
The fact that you can't modify volume as stated in issue 1476 is also probably linked to the audio mode for sip calls or another routing option. However, not sure that other audio mode will allow you to choose route between speaker and earpiece.
Theorical normal settings for a clean implementation of android 2.3 is to have sip mode to COMMUNICATION and micro to COMMUNICATION. It's what's used by the stock android sip application. However, many manufacturers postponed the support of sip on their devices and didn't paid attention to do things cleanly on their audio stack.
Without the device on my hands it's hard to tell what are the correct options for this device.
If you find something that works the best, feel free to tell me, and I'll integrate as default setting for this device. (I will also need some logs to be able to know the exact device code name).
Status: Need-Details
Related
Tickets:
#1476View 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
Issue 1476 has been merged into this issue.
Related
Tickets:
#1476View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: vuthuang...@gmail.com
Thank you very much for quick response. It appears that Samsung audio may have caused the problem as Viber, MizuDroid that were tested on this phone also picked the wrong mic. Skype does not have this issue though.
the logs collected are as follows
<<<PLEASE ADD THE BUG DESCRIPTION HERE>>>
Based on the GPL CSipSimple version : 0.04-00 [r1235]
Here are important informations about Device :
android.os.Build.BOARD : SGH-I997
android.os.Build.BRAND : samsung
android.os.Build.DEVICE : SGH-I997
android.os.Build.ID : GINGERBREAD
android.os.Build.MODEL : SAMSUNG-SGH-I997
android.os.Build.PRODUCT : SGH-I997
android.os.Build.TAGS : release-keys
android.os.Build.VERSION.INCREMENTAL : UCKL2
android.os.Build.VERSION.RELEASE : 2.3.6
android.os.Build.VERSION.SDK : 10
<<<PLEASE ADD THE BUG DESCRIPTION HERE>>>
I have tried a couple of different settings, tested on Pennytel sip server (supports g711A, g711U and g729) and found the following settings work almost perfectly for me on a 3G network (Telstra NextG, HSPA+, latency about 100ms - 160ms in my area):
microphone source: VOICE_CALL (others work too)
sip mode: IN_CALL (resulted in CORRECT mic being used)
Audio implementation: openSL-ES
codec: G711 resulted in less latency than G729 (less CPU processing?)
speaker amplification: 2.5
microphone amplification: 10.0 (wish to have the default increased by 10 times as I have to talk much louder for the other end to hear me well);
Please note that during a sip call, the in-call volume keys on this phone did not work directly but can be used by first pressing menu/media keys that brought up the volume and microphone amplification. However, pressing the keys only adjusted the volume amplification.
Last night I tested with Viber loaded at the same time with CSIPSIMPLE and surprisedly found that the wrong mic was used by CSIPSIMPLE! When I stopped Viber, CSIPSIMPLE picked the correct mic again. Skype did not cause the issue as Viber did.
That's all for the update. Please let me know if you need further information.
Cheers,
Related
Commit: [r1235]
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: vuthuang...@gmail.com
After removing MizuDroid from this phone, Viber has worked properly with the correct mic used. Running both CSIPSIMPLE and Viber together did not cause any problems.
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: vuthuang...@gmail.com
After further testing one by one application after every reboot of the phone, I would like to confirm that Skype, Viber and MizuDroid use the wrong mic, i.e. the one next to phone's earpiece (tests were done with and without sticky tape covering the mic near the earpiece). CSipSimple only uses the correct mic when sip mode is IN_CALL.
My apology for providing some false information in the earlier comments.
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: vuthuang...@gmail.com
Updated to the latest nightly built [r1250].
After extensive testing, it is now clear that when phone noise suppression is ON, wrong mic is used. Using WebRTC Implementation always results in wrong mic used.
PLEASE have the microphone amplification level increased at least to 15 (instead of 10 as available now). At microphone amplification of 10, my voice through CSipSimple is still much weaker than that going through a normal voice call.
Thank you in advance.
Related
Commit: [r1250]
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: clayton....@gmail.com
I'm still having this problem with CSipSimple. Did you ever get it to work with the correct mic? Where is the noise suppression option located?
Thank you muchly!
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: vuthuang...@gmail.com
Hi, I have to disable noise suppression on the Infuse and increase
microphone amplification in CsipSimple to max, i.e. 10. cheers, Vu.