[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] RTP packets are sent too often

From: Simon Morlat
Subject: Re: [Linphone-developers] RTP packets are sent too often
Date: Mon, 20 Dec 2004 14:42:22 +0100
User-agent: KMail/1.7.1


For me the problem can only come from the audio read part. The 
snd_card_has_data() returns true too often, so that the stream of sample is 
too high (maybe 11000 samples/seconds), and so there are too many rtp packets 
per sample.
The rtpsend program from oRTP reads from disk and use its own interrupt-like 
mechanism, thus does not rely on a soundcard to get samples as it is in 


Le Vendredi 17 Décembre 2004 13:17, Daniel Kabs [ML] a écrit :
> Hello,
> I am running linphone on an ARM platform (kernel 2.2). I can call
> linphone from my hardware sip telephone. The RTP transfer from the
> phone to the ARM system is flawless and with very little jitter (<1ms
> according to ethereal). But in the opposite direction ARM platform ->
> telephone the packets are sent too fast. That means, linphone does not
> send the expected 50 packets per second (160 samples every 20 ms gives
> 8000 Hz) but 70. So I guess something goes wrong with the internal
> timers on my ARM platform.
> For this test I replaced the sound card _read() function with a simple
> for-loop that fills the read buffer with zeros. So it returns
> immediately. Can this influence the frequency with which the packets
> are sent? I think no, as the linphone FIFO framework does not rely on
> the read function to work as a timer.
> Cheers
> Daniel Kabs
> Germany
> _______________________________________________
> Linphone-developers mailing list
> address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]