[Live-devel] Problem with fPresentationTime

Ross Finlayson finlayson at live555.com
Wed Jul 29 12:26:05 PDT 2009


>Yes, you're not aligning these presentation times with 'wall clock' 
>time - i.e., the time that you would get by calling "gettimeofday()".
>
>
>So, the sample times I get from my encoder start at 0 and increase 
>(i.e. a relative timestamp); when you say 'wall clock' time, does 
>this mean I should be taking note of the absolute start time?

Yes.  Note the start 'wall clock' time (by calling "gettimeofday()" 
when you get your first (0) sample time), and then add it to the 
sample time each time you set "fPresentationTime".
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20090729/6657b9af/attachment-0001.html>


More information about the live-devel mailing list