Re: I have some doubt in ccrtplib

Federico Montesino Pouzols <[email protected]>
Newsgroups gmane.comp.gnu.ccrtp.devel
Message-ID <20050921160018.GC3984@paraguas>
Hi,

1. If you want to get jitter values as recommended in the standard,
the best way to do so is retrieving the info from RTCP packets. Beware
that a not fully tested fix for jitter calculation was made yesterday
in CVS, as it was buggy. Anyway, if you want to do any low-level
operations on the RTP packets, you can write your own class inherited
from AppDataUnit that provides access to the IncomingRTPPkt class.

2. Yes, I think we should add the onGotRR, onGotSR, etc stuff to the
rtpsend demo. It wasn't added at the time just as a way to keep the
example code short, but it is confusing that these virtuals are used
only on the rtplisten side.

HTH.

On Tue, Sep 20, 2005 at 07:16:35PM +0000, sasin janpungtong wrote:
> after i modified RTPSend and RTPlisten to send and receive data from 
> file..... i look result of my program and some confuse was happen......
> 
> 1. I want to calculate jitter between send and receive RTPpacket but when i 
> look at my code..... it use putData and getData (use AppDataUnit) function 
> replace generating RTP packet, so from AppDataUnit i can't get RTP packet 
> timestamp to use for calculate my jitter..... have some way to cast 
> AppDataUnit to RTP packet or someway to replace putData and getData by 
> generate RTP packet and send and receive it in session and i want to know 
> about responsibility of putData and getData functions.
> 
> 2. why have function onSR() and onRR() and other method about RTCP packet 
> only on rtplisten.cpp ..... i think onRR must be on rtpsend because it will 
> retreive data in this packet and when i retreive value of ssrc, jitter and 
> fraction lost of RR packet.... it show unusual value i want to know 
> function to retreive those value .... now i use this way on onRR() function 
> "RR.blocks[1].rinfo.jitter".
> 
> Thanks for your time
> Sasin
> 
> _________________________________________________________________
> Express yourself instantly with MSN Messenger! Download today it's FREE! 
> http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
> 
> 
> 
> _______________________________________________
> Ccrtp-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/ccrtp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.