[Live-devel] RTCP Receiver Report

Ross Finlayson finlayson at live555.com
Wed Apr 26 11:38:39 PDT 2006


>As I can understand by the use of fprintf, the lossStats variable is used in a
>hexademical format.
>Why is this format used ?
>This variable represents the total number of lost packets.

No.  The "lossStats" value - a 32-bit word - is a combination of the 
"fraction lost" (8 bits) and "cumulative number of packets lost" (24 
bits) values, as defined for the RTCP SR and RR packets.  See the 
RTP/RTCP specification: RFC 3550, sections 6.4.1 and 6.4.2.

However, you should not have to care about this, because the function 
"RTPTransmissionStats::noteIncomingRR()" automatically converts this 
32-bit word into separate fields in the "RTPTransmissionStats" class.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list