Help me on audio issue samsung galaxy s5360 y

798 views
Skip to first unread message

Bensly Shanmugam

unread,
Feb 15, 2012, 1:18:26 AM2/15/12
to Doubango
Hi,
I am using samsung galaxy s5360 y.i can able to make voice call from
imsdroid to kapanga softphone. i can able to hear kapanga audio in my
mobile clearly.but imsdroid transmitting audio is very noise on
kapanga phone.i tried with mirial and sj phone. result same.

kindly let me know how to solve this issue.

Regards
Bensly

Mamadou

unread,
Feb 17, 2012, 7:08:04 AM2/17/12
to Doubango
What is your Android version? What is the SVN revision?
Which codec are you using? Do you have same issue with all codecs?
Do you have an RTP proxy?
Do you have same issue on other Android devices (e.g. HTC, LG...)?
Is "Noise suppression", or "AEC" enabled?
If you are developer, try to change the "audio buffer factor" (http://
code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-
stack/src/org/doubango/ngn/media/NgnProxyAudioProducer.java#43) to 8.f
or 10.f.

Bensly Shanmugam

unread,
Feb 18, 2012, 4:26:33 AM2/18/12
to doub...@googlegroups.com
Hi Mamadou,
Thanks for the response.Please find the answer for your query.

1. What is your Android version?
Android version 2.3.6
2. What is the SVN revision?
2.0
3. Which codec are you using?
Tried with all the codec which support by imsdroid
4. Do you have same issue with all codecs?
Facing the same problem with all the codecs.
5. Do you have an RTP proxy?
No
6. Do you have same issue on other Android devices (e.g. HTC, LG...)?
We are checking with other handset.
7. Is "Noise suppression", or "AEC" enabled?
Tried with enabled both option and tired with disabled mode result same

and also i have tried changing this parameter AUDIO_BUFFER_FACTOR
= 2.f to 8.f and 10.f as you said.but still result same.

I have attached the wireshark trace for your reference.kindly help
me to resolve this issue

Thanks & Regards
bensly

Trace.rar

Bensly Shanmugam

unread,
Feb 28, 2012, 2:21:42 AM2/28/12
to doub...@googlegroups.com
Hi,
    Any update on this?.

Thanks & Regards
bensly

Forwarded conversation
Subject: Help me on audio issue samsung galaxy s5360 y
------------------------


From: Bensly Shanmugam <ben...@gmail.com>
Date: Wed, Feb 15, 2012 at 11:48 AM
To: Doubango <doub...@googlegroups.com>


Hi,
I am using samsung galaxy s5360 y.i can able to make voice call from
imsdroid to kapanga softphone. i can able to hear kapanga audio in my
mobile clearly.but imsdroid transmitting audio is very noise on
kapanga phone.i tried with mirial and sj phone. result same.

kindly let me know how to solve this issue.

Regards
Bensly
----------
From: Mamadou <diopm...@doubango.org>
Date: Fri, Feb 17, 2012 at 5:38 PM
To: Doubango <doub...@googlegroups.com>


What is your Android version? What is the SVN revision?
Which codec are you using? Do you have same issue with all codecs?
Do you have an RTP proxy?
Do you have same issue on other Android devices (e.g. HTC, LG...)?
Is "Noise suppression", or "AEC" enabled?
If you are developer, try to change the "audio buffer factor" (http://
code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-
stack/src/org/doubango/ngn/media/NgnProxyAudioProducer.java#43
) to 8.f
or 10.f.

----------
From: Bensly Shanmugam <ben...@gmail.com>
Date: Sat, Feb 18, 2012 at 2:56 PM
To: doub...@googlegroups.com

Trace.rar

Dev Mhisham

unread,
Jul 28, 2012, 6:23:01 PM7/28/12
to doub...@googlegroups.com
I have the same issue and waiting any answer :S


Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
<Trace.rar>

Mohamed hisham

unread,
Jul 29, 2012, 10:25:12 AM7/29/12
to doub...@googlegroups.com
Hello Finally,
Problem solved by disabled AEC for Samsung s5360
this code can help u

if(android.os.Build.MODEL.equals("GT-S5360")){

aecEnabled = false;

}


in NgnProxyAudioProducer.java

after this line:

boolean aecEnabled = NgnEngine.getInstance()

.getConfigurationService().getBoolean(

NgnConfigurationEntry.GENERAL_AEC,

NgnConfigurationEntry.DEFAULT_GENERAL_AEC);

Mamadou

unread,
Aug 3, 2012, 9:15:41 AM8/3/12
to Doubango
I have a Galaxy Nexus (NEON CPU) but don't have this issue.
CIF video call, AEC ON: CPU=51-53% (G.711, H.264)
> > From: *Bensly Shanmugam* <ben...@gmail.com>
> > Date: Wed, Feb 15, 2012 at 11:48 AM
> > To: Doubango <doub...@googlegroups.com>
>
> > Hi,
> > I am using samsung galaxy s5360 y.i can able to make voice call from
> > imsdroid to kapanga softphone. i can able to hear kapanga audio in my
> > mobile clearly.but imsdroid transmitting audio is very noise on
> > kapanga phone.i tried with mirial and sj phone. result same.
>
> > kindly let me know how to solve this issue.
>
> > Regards
> > Bensly
> > ----------
> > From: *Mamadou* <diopmama...@doubango.org>
> > Date: Fri, Feb 17, 2012 at 5:38 PM
> > To: Doubango <doub...@googlegroups.com>
>
> > What is your Android version? What is the SVN revision?
> > Which codec are you using? Do you have same issue with all codecs?
> > Do you have an RTP proxy?
> > Do you have same issue on other Android devices (e.g. HTC, LG...)?
> > Is "Noise suppression", or "AEC" enabled?
> > If you are developer, try to change the "audio buffer factor" (http://
> > code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-
> > stack/src/org/doubango/ngn/media/NgnProxyAudioProducer.java#43<http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-...>)
> > to 8.f
> > or 10.f.
>
> > ----------
> > From: *Bensly Shanmugam* <ben...@gmail.com>

Dev Mhisham

unread,
Aug 3, 2012, 9:36:51 AM8/3/12
to doub...@googlegroups.com, Doubango
Welcome back mamadou,
First this issue with only samsung s5360
It's famos here in egypt and kuwait cause low price,

After disabled the AEC when make call from s5360 to any sip client call works perfect with all codecs,
But when receive call to s5360, call work one way, s5360 can hear perfect but another party hear some crashes without voice and log appear error in buffer 
I think it's producer buffer issue

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Mamadou

unread,
Aug 3, 2012, 9:43:22 AM8/3/12
to Doubango
Try to increase the buffer size:
http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/src/org/doubango/ngn/media/NgnProxyAudioProducer.java#44
Less the bufferSize is more the CPU consumption is

On Aug 3, 3:36 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Welcome back mamadou,
> First this issue with only samsung s5360
> It's famos here in egypt and kuwait cause low price,
>
> After disabled the AEC when make call from s5360 to any sip client call works perfect with all codecs,
> But when receive call to s5360, call work one way, s5360 can hear perfect but another party hear some crashes without voice and log appear error in buffer
> I think it's producer buffer issue
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Dev Mhisham

unread,
Aug 3, 2012, 9:45:44 AM8/3/12
to doub...@googlegroups.com, Doubango
I did tried from 1.0 to 15.0 and same resault

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Mamadou

unread,
Aug 3, 2012, 9:48:52 AM8/3/12
to Doubango
This is a very very weak phone (http://www.gsmarena.com/
samsung_galaxy_y_s5360-4117.php)
Are you trying audio-only call?

On Aug 3, 3:45 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> I did tried from 1.0 to 15.0 and same resault
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>
> On Aug 3, 2012, at 3:43 PM, Mamadou <diopmama...@doubango.org> wrote:
>
>
>
>
>
>
>
> > Try to increase the buffer size:
> >http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-...

Dev Mhisham

unread,
Aug 3, 2012, 9:51:50 AM8/3/12
to doub...@googlegroups.com
Yes audio only, btw there's weak phones less then this phone 

And other sip clients woeks as well with this cpu

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Mamadou

unread,
Aug 3, 2012, 9:56:01 AM8/3/12
to Doubango
If they are open source, we encourage using them.

On Aug 3, 3:51 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Yes audio only, btw there's weak phones less then this phone
>
> And other sip clients woeks as well with this cpu
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Mamadou

unread,
Aug 3, 2012, 10:06:09 AM8/3/12
to Doubango
'I think it's producer buffer issue ' -> How did you ended to this
conclusion ?
Did you also tried to increase the consumer buffer:
http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/src/org/doubango/ngn/media/NgnProxyAudioConsumer.java#196

On Aug 3, 3:36 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Welcome back mamadou,
> First this issue with only samsung s5360
> It's famos here in egypt and kuwait cause low price,
>
> After disabled the AEC when make call from s5360 to any sip client call works perfect with all codecs,
> But when receive call to s5360, call work one way, s5360 can hear perfect but another party hear some crashes without voice and log appear error in buffer
> I think it's producer buffer issue
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Mamadou

unread,
Aug 3, 2012, 10:11:59 AM8/3/12
to Doubango
You can also try to disable the audio resampler:
At:
http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-ngn-stack/src/org/doubango/ngn/media/NgnProxyAudioConsumer.java#182
replace: mOutputRate =
AudioTrack.getNativeOutputSampleRate(AUDIO_STREAM_TYPE);
with: mOutputRate = mInputRate;

On Aug 3, 4:06 pm, Mamadou <diopmama...@doubango.org> wrote:
> 'I think it's producer buffer issue ' -> How did you ended to this
> conclusion ?
> Did you also tried to increase the consumer buffer:http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-...

Dev Mhisham

unread,
Aug 3, 2012, 10:14:34 AM8/3/12
to doub...@googlegroups.com
Producer buffer cause the second party cant get right sound,
In consumer puffer class u didn't made variable for buffer factory like producer,
I made variable and multiple it with minbiffersize as u did in producer buffer factor and test to increase it's same resalut




Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Dev Mhisham

unread,
Aug 3, 2012, 10:15:11 AM8/3/12
to doub...@googlegroups.com
Csipsple works as well in samsung s5360

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone

> --
>
>

Mamadou

unread,
Aug 3, 2012, 10:18:31 AM8/3/12
to doub...@googlegroups.com, Dev Mhisham
What is 'Csipsple'?

Muhammad Shahzad

unread,
Aug 3, 2012, 10:19:25 AM8/3/12
to doub...@googlegroups.com, Dev Mhisham
I think he means CSIPSimple,


Thank you.


What is 'Csipsple'?
--





--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +92 334 422 40 88
MSN: shari...@hotmail.com
Email: shahe...@googlemail.com

Mamadou

unread,
Aug 3, 2012, 10:22:11 AM8/3/12
to doub...@googlegroups.com, Muhammad Shahzad, Dev Mhisham
I knew. It was a joke.
--
 
 

Dev Mhisham

unread,
Aug 3, 2012, 10:24:07 AM8/3/12
to doub...@googlegroups.com
Sorry csipsimple

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Mamadou

unread,
Aug 3, 2012, 10:31:22 AM8/3/12
to doub...@googlegroups.com, Dev Mhisham

Mamadou

unread,
Aug 3, 2012, 10:38:45 AM8/3/12
to Dev Mhisham, doub...@googlegroups.com
I should receive it on Saturday or Monday.

On 8/3/2012 4:33 PM, Dev Mhisham wrote:
Yes it is but my phone is pink :D

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone

Tayeb Meftah

unread,
Aug 3, 2012, 10:45:47 AM8/3/12
to doub...@googlegroups.com, Dev Mhisham
Good action

Envoyé de mon iPhone
--
 
 

Mamadou

unread,
Aug 6, 2012, 11:44:11 AM8/6/12
to Doubango
I got the GT-S5360. My first tests don't give the same results as
yours: Voice is clear in both ends (G.711) and CPU is at 21% (adb
shell top). I'm calling Boghe.

On Aug 3, 4:14 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Producer buffer cause the second party cant get right sound,
> In consumer puffer class u didn't made variable for buffer factory like producer,
> I made variable and multiple it with minbiffersize as u did in producer buffer factor and test to increase it's same resalut
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>
> On Aug 3, 2012, at 4:06 PM, Mamadou <diopmama...@doubango.org> wrote:
>
>
>
>
>
>
>
> > 'I think it's producer buffer issue ' -> How did you ended to this
> > conclusion ?
> > Did you also tried to increase the consumer buffer:
> >http://code.google.com/p/imsdroid/source/browse/branches/2.0/android-...

Dev Mhisham

unread,
Aug 6, 2012, 11:48:01 AM8/6/12
to doub...@googlegroups.com, Doubango
Don't call from s5360, receive the call 

From any client to s5360
Dont ask me y

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone
--


Mamadou

unread,
Aug 6, 2012, 11:50:34 AM8/6/12
to Doubango
Done! Same result: Voice is clear, CPU=15-21%.
Boghe -> s5360

On Aug 6, 5:48 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Don't call from s5360, receive the call
>
> From any client to s5360
> Dont ask me y
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Mamadou

unread,
Aug 6, 2012, 11:56:17 AM8/6/12
to Doubango
Calling another IMSDroid I got white noise. Is it the kind of noise
that you have?

On Aug 6, 5:48 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Don't call from s5360, receive the call
>
> From any client to s5360
> Dont ask me y
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Dev Mhisham

unread,
Aug 6, 2012, 12:02:06 PM8/6/12
to doub...@googlegroups.com, Doubango
Noise without voice something like crashes

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone

> --
>
>

Mamadou

unread,
Aug 6, 2012, 12:11:03 PM8/6/12
to Doubango
Don't have such result. Perhaps there is something you forgot to
mention

On Aug 6, 6:02 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> Noise without voice something like crashes
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Mamadou

unread,
Aug 6, 2012, 12:15:52 PM8/6/12
to Doubango
Even cannot see the producer logs you mentioned.

Dev Mhisham

unread,
Aug 6, 2012, 12:21:14 PM8/6/12
to doub...@googlegroups.com
I sent to ur mail the log, sorry i cant reply with attament from iPhone

Regards !
Mohamed Hisham
Development Team Leader
Sent from My Lovely iPhone

> --
>
>

Mamadou

unread,
Aug 6, 2012, 12:22:54 PM8/6/12
to Doubango
What I meant is that I cannot see producer error logs when using my
device

On Aug 6, 6:21 pm, Dev Mhisham <dev.mhis...@gmail.com> wrote:
> I sent to ur mail the log, sorry i cant reply with attament from iPhone
>
> Regards !
> Mohamed Hisham
> Development Team Leader
> Sent from My Lovely iPhone
>

Muhammad Shahzad

unread,
Dec 2, 2012, 6:23:26 PM12/2/12
to doub...@googlegroups.com
I have exact same handset which works perfect with imsdroid. What codecs and settings you are using? Also which media server you are using e.g. Asterisk, Freeswitch etc. if any?

Thank you.


On Sun, Dec 2, 2012 at 11:50 PM, Eugene Katsevman <eugene.k...@gmail.com> wrote:
Hello!
I'm having the same issue with my samsung galaxy y gt-s6102. Other party's voice is clear, but they hear some "funny noise" instead of my voice, as they have described.
I'm using not a imsdroid, but modified TestCall example. I'll try to provide more details on that tomorrow.
понедельник, 6 августа 2012 г., 20:22:54 UTC+4 пользователь Mamadou написал:

--
 
 



--
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari...@hotmail.com
Email: shahe...@googlemail.com

Eugene Katsevman

unread,
Dec 2, 2012, 7:11:21 PM12/2/12
to doub...@googlegroups.com
Hello!
We're using asterisk. I'm unable to show its settings for now and I hope I could do it tomorrow.

My current settings are:
AEC is enabled (default)
VAD is default (don't know what the default is, just hadn't touch it)
Noise reduction is default (same as above)
Audio playback level is default
no ICE
no AOR
STUN is ON, because I'm behind a NAT (wifi + adsl router, same setup as in some other issue I've seen before and should have been solved at r755)
codecs are pmca/pmcu

I'll try to use your settings from another thread and post results tomorrow.

Thank you for a quick reply, wasn't ready for that :) (it's 4 am here).

понедельник, 3 декабря 2012 г., 3:23:26 UTC+4 пользователь Shaheryar S. Sheikh написал:

Bensly Shanmugam

unread,
Dec 3, 2012, 1:56:58 AM12/3/12
to doub...@googlegroups.com
Hi,
when i newly bought this samsung galaxy s5360 y phone,that time
imsdroid works fine and both side audio was good.
and after updated new kernal version from samsung for that device
2.6.35.7 dpi@DELL127 #1 only the problem raised. after that the phone
sending audio is horrible to the remote party.the problem still
exists.

Regards
Bensly

On Mon, Dec 3, 2012 at 5:41 AM, Eugene Katsevman
> --
>
>
Message has been deleted

Mamadou

unread,
Feb 12, 2013, 8:29:06 AM2/12/13
to discuss-doubango
I have done tests on GT-S5360 and all is working as expected: Sound is
crystal clear on both sides.
I'm:
- calling from an iPhone5 (iDoubs) to GT-S5360
- audio codec is PCMA
- media is p2p (no proxy)
- both devices use Doubango r816

On Jan 22, 4:07 pm, Aldo Zoccola <aldo.zocc...@gmail.com> wrote:
> Same issue.. Aldo
>
> http://code.google.com/p/imsdroid/issues/detail?q=2.3.6&id=426#makech...
>
> Issue 426 <http://code.google.com/p/imsdroid/issues/detail?id=426>:  Audio
> not working with Samsung GT-S5300 (Galaxy Pocket)
> ‹ Prev <http://code.google.com/p/imsdroid/issues/detail?q=2.3.6&id=396> 5
> of 5
>
>  1 person starred this issue and may be notified of changes.  Back to list<http://code.google.com/p/imsdroid/issues/list?cursor=imsdroid%3A426&q...>
>  Status:  Accepted  Owner:  ----
> *Type-*Defect<http://code.google.com/p/imsdroid/issues/list?q=label:Type-Defect>
>  *Priority-*Medium<http://code.google.com/p/imsdroid/issues/list?q=label:Priority-Medium>
>
> Add a comment below
>
>  Reported by massimo....@gmail.com<http://code.google.com/u/107009470257771193292/>,
> Yesterday (22 hours ago)
>
> *What steps will reproduce the problem?*
> 1. Place an audio call between A using GT-S5300 and B using a different device (e.g. GT-I9000, GT-I9100,...).
> *What is the expected output? What do you see instead?*
> Playback audio quality should be ok on both sides. On the side B the incoming audio is not working instead. No words can be understood.
> *What version of the product are you using? On what operating system?*
> Imsdroid v2.532.758 on Samsung GT-S5300 running Android 2.3.6
>
> Il giorno lunedì 3 dicembre 2012 07:56:58 UTC+1, Bensly Shanmugam ha
> scritto:
> ...
>
> read more »
Reply all
Reply to author
Forward
0 new messages