I am trying to understand the meaning of the three fields in RTPSource class

named int np_, int snp_. I read the source code and noticed that when the
localsrc_ sends a RTP
packet the inline method adds 1 packet in the np field. That's clear.
However, in the method
void RTPSession::recv(Packet* p, Handler*) we get the source id of the
sender and we add 1 to the inline np function. That means that we count
twice the RTP we send. Any thoughts ?

-- 
Georgios Kioumourtzis
Computer Engineering and Informatics Department
University of Patras, Greece
alt email: [EMAIL PROTECTED]

Reply via email to