However, you should - as always - make sure that each of your H.264 NAL units (coming from your "H264VideoStreamFramer" subclass) 1/ Have an accurate "fPresentationTime" (which is aligned with the 'wall clock' time that you'd get by calling "gettimeofday()", and
2/ Have accurate "fDurationInMicroseconds" values

Since the only thing you've changed is the frame rate, perhaps one or both of these things didn't get changed correctly?

is it normal that fDurationInMicroseconds is set to 0 each time deliverFrame is called?

You must set "fDurationInMicroseconds" *yourself*, in your "H264VideoStreamFramer" subclass. You set its value when you copy the new frame data to the downstream object's buffer - i.e., before you call "FramedSource::afterGetting". You set "fPresentationTime" and "fFrameSize" at the same time. (See "liveMedia/DeviceSource.cpp")
--

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to