ccrtp-devel
[Top][All Lists]
Advanced

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

Re: [Ccrtp-devel] Cannot increase the sending rate


From: Federico Montesino Pouzols
Subject: Re: [Ccrtp-devel] Cannot increase the sending rate
Date: Thu, 25 May 2006 13:20:31 +0200
User-agent: Mutt/1.5.11+cvs20060403

Hi, 

On Wed, May 24, 2006 at 04:10:04PM +0200, neeryl_ka wrote:
> I've oberved this phenomenon using the rtphello
> example. 
> With the values given, the packets of "Hello, brave
> gnu world (#i)" are send at a rate of 1 packet per
> second.
> I changed the gap between timestamp from :
> timestamp += socket->getCurrentRTPClockRate()
> to 
> timestamp += socket->getCurrentRTPClockRate()/100
> and the sleep line from
> TimerPort::incTimer(1000);
> to 
> TimerPort::incTimer(10);
> 
> I successfully obtained a rate of a hundred packets
> per second.
> But I cannot get more than 100 packets/second by
> changing these values again...
> I don't understand where I am wrong...
> 

Umm, I see, you are using Thread::sleep? If so, the limited resolution
that sleep usually provides is probably the issue. I would not rely on
any sleep-like syscall if you require high frecuencies.

And...

> getFirstTimestamp) are all differents. I believed that
> the timestamps that could be the same would be video
> timestamp, not timestamps used with RTP.
> 

You're right, sorry for the mix-up.




reply via email to

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