[Live-devel] How to read RR statistics?

Ross Finlayson finlayson at live555.com
Thu Apr 5 01:11:45 PDT 2007


>Hi Ross,
>
>thanks for the answer.
>
>Ross Finlayson wrote:
>[...]
>>>  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).
>So, just to check if I understand well, for accessing the transmission
>stats I will have to create a new "ServerMediaSubsession" subclass?

Yes - that's where you create (and thus can get access to) your 
"RTPSink" object.
-- 

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


More information about the live-devel mailing list