[Live-devel] How to detect packet loss

Pushkar Pradhan pushkar at ipvideosys.com
Tue Aug 17 08:24:29 PDT 2010


Hi,
While running the liveMedia client to receive RTP packets I acquire some statistics on the streamed data. I can easily get the total number of packets received and the number of bytes received like this:
pVideoSrc->RTPgs()->statsGroupIncoming.totNumPackets()
pVideoSrc->RTPgs()->statsGroupIncoming.totNumBytes()
(RTPSource *pVideoSrc = pSubSession->rtpSource();)
 
I would also like to check if packet loss occurred. I don't see any public method or member that can give me this. There is just this private member variable fPacketLossInFragmentedFrame of MultiFramedRTPSouce.
 
Is there any method I can use on the source to find number of packets lost so far?
Thanks,
pushkar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100817/096fa75d/attachment.html>


More information about the live-devel mailing list