[Live-devel] How framerate is passing to rtsp client

Ross Finlayson finlayson at live555.com
Thu Mar 31 07:31:55 PDT 2016


> I am using testOnDemandRTSPServer example code from live555. I have wrote my implementation of DeviceSource class. I have set presentation time properly:
> 
> gettimeofday(&fPresentationTime, NULL);
> fDurationInMicroseconds = 1100000;

That’s your problem.  You’re telling the server to wait 1100000 microseconds - i.e., 1.1 seconds - between sending each NAL unit.  I think you mean 110000 (or perhaps, to be more accurate: 111222).

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




More information about the live-devel mailing list