Re: [Live-devel] 100% cpu usage when 1 or more client connects to RTSP server

2015-03-10 Thread Ross Finlayson
> 1. Actually it seems that reuseFirstSource variable is not used in the > original testOnDemandRTSP for the UDP mpegts example(and in my code too). > Yes, you’re correct. The “MPEG2TransportUDPServerMediaSubsession” implementation sets the “reuseFirstSource” parameter to True when it calls the

Re: [Live-devel] how to get rtspClient object

2015-03-10 Thread Ross Finlayson
> 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

[Live-devel] how to get rtspClient object

2015-03-10 Thread 夏江龙
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