[Live-devel] how to get rtspClient object

夏江龙 xiajl at inspur.com
Tue Mar 10 06:32:56 PDT 2015


HI,

I am using testRTSPClient demo to receive h264 data on function void DummySink::afterGettingFrame(unsigned frameSize, unsigned numTruncatedBytes, struct timeval presentationTime, unsigned /*durationInMicroseconds*/)  , Now i want to get  the current RTSPClient object in this function. I use RTSPClient* rtspClient=(RTSPClient*)fSubsession.miscPtr to do this , is that right ?

thanks.

aalizzwell
xiajl at inspur.com



More information about the live-devel mailing list