Notices


Reply
Thread Tools
Posts: 187 | Thanked: 41 times | Joined on May 2010
#11
i am playing with default-fragments and default-fragment-size-msec , and i am getting real nice results ... still testing ....
changed default-fragments from 2 to 5.
 
Posts: 59 | Thanked: 36 times | Joined on Nov 2009
#12
I just found out that the sound is much less choppy using sip if the phone is overclocked to 900MHz. So it seems to be definitely a performance issue.
I have this choppy sound for WLAN and 3G sip calls. I use the g729 codec.
 
Posts: 1,096 | Thanked: 760 times | Joined on Dec 2008
#13
is it possible that the phone is doing transcoding when using g729 and can't keep up? i use g711 ulaw and have never experienced choppy sip audio and i use n900 everyday as office extension.
 
Posts: 59 | Thanked: 36 times | Joined on Nov 2009
#14
Originally Posted by quipper8 View Post
is it possible that the phone is doing transcoding when using g729 and can't keep up? i use g711 ulaw and have never experienced choppy sip audio and i use n900 everyday as office extension.
It seems that it is a codec (performance) issue. If I use the ulaw codec the audio is fine. However if I use g729 or ilbc I get choppy audio.
Because I also want to use sip via 3G/EDGE I have to use a codec that uses low bandwidth.
 
jehan's Avatar
Posts: 55 | Thanked: 14 times | Joined on Mar 2010
#15
Originally Posted by colchaodemola View Post
changed default-fragments from 2 to 5.
how did you do this?

to work around an issue concerning power saving and choppy audio which may be caused by a faulty AP or maybe by Constant Active Mode (CAM) I have good results by disabling power saving in the gui and managing power saving on wlan0 through iwconfig and dbus events.

this way I have a good battery lifetime when I put wlan0 in power saving mode if I do not use sip and I have no more latency problems if I disable power saving mode on wlan0 when I receive or initiate a sip call.

now i can make a phone call for about 15 min, after that the audio is choppy and I can't understand my opponent as described in the bug.
 
jehan's Avatar
Posts: 55 | Thanked: 14 times | Joined on Mar 2010
#16
Originally Posted by colchaodemola View Post
i am playing with default-fragments and default-fragment-size-msec , and i am getting real nice results ... still testing ....
changed default-fragments from 2 to 5.
ah - ok! I found the place where you did this. you modified pulseaudio's daemon.conf.
 
Posts: 187 | Thanked: 41 times | Joined on May 2010
#17
Yep. Sorry the delay....
 
Posts: 59 | Thanked: 36 times | Joined on Nov 2009
#18
A little bit off topic but I don't want to open another thread for this. I have changed the codec once more and now use the speex codec. This seems to work without choppy audio.

Now the question: How can I change the settings of the speex codec? (Speex can be used for different bandwidth usages. There are quality and complexity parameter. Also there is a parameter to configure whether to use static or variable bitrate) Is there a config file on the n900 for this?
On the server side (asterisk) I can change the speex codecs settings in the codecs.conf settings file. But this is only for the audio stream from the server to the client.

Last edited by alex25; 2010-08-17 at 09:35.
 
Posts: 25 | Thanked: 6 times | Joined on Feb 2010
#19
i was thinking i might be the only one - i have choppy audio on sip calls as well. i didn't try skype. but sip definitely is choppy on my pr1.2 device - even with 850mhz and usually from the very beginning of the call no matter weather beeing used over wifi or 3g.
thank you.
 
Posts: 59 | Thanked: 36 times | Joined on Nov 2009
#20
Originally Posted by alex25 View Post
I have changed the codec once more and now use the speex codec. This seems to work without choppy audio.
I have to correct myself. The audio is also choppy after some time using speex. So the only codec that currently works perfect without choppy audio for me is ulaw (g711). However this codec uses too much bandwidth to work nicely on a EDGE network. :-(
All other codecs seems to consume too much cpu power or there is something wrong configured on a stock n900.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:02.