[Live-devel] Problem with gettimeofday() in GroupsockHelper.cpp

Ross Finlayson finlayson at live555.com
Tue Oct 24 11:59:25 PDT 2006


>We have been having many timing and synchonization problems that I believe I
>have isolated to a problem in the implementation of gettimeofday() in
>groupsockHelper.cpp for Windoze.  The problem is the time returned from
>ftime() has a resolution of about 15 milliseconds.  Since the task scheduler
>uses this time for scheduling and interval times for frames for our
>application are 24000 microseconds and 66667 microseconds, gettimeofday()
>needs to return times of higher resolution.  The changes I have made to
>gettimeofday() are included below.

Great, thanks.  This will get included in the next release of the 
software.  (I assume/hope that "QueryPerformance*" works OK on Win2k 
(and presumably Vista) as well as Windows XP...)
-- 

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


More information about the live-devel mailing list