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.


_______________________________________________
Ccrtp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/ccrtp-devel

Reply via email to