[Live-devel] How to read RR statistics?

Ross Finlayson finlayson at live555.com
Wed Apr 4 15:14:24 PDT 2007


>when using a class derived from RTSPServer (or from DynamicRTSPServer),
>how can I be notified when an RTCP Receiver Report packet arrives, and
>how can I read the jitter and lost packets number from it?
>
>I see the information I need are stored in an object of class
>RTPTransmissionStats, which is associated to an RTPSink, which (if I
>understand well) is dynamically created when the RTSP server receives a
>PLAY command. Now, how can I access this RTPSink (ideally, I'd like to
>set the RRHandlerTask for the RTCP session, and pass a pointer to the
>RTPSink as a parameter to the handler)?

You can access the "RTPSink" object in your "ServerMediaSubsession" 
subclass (in its implementation of the "createNewRTPSink()" virtual 
function).
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list