Hi,<br>I fix it. It's a Windows problem. I add to link options "winmm.lib" library. This library has some functions where you can change Windows timers' precision. Using timeBeginPeriod(1) you set the timer precision to 1 ms. (By default it seems that it's set to 16 ms).
<span class="ital-inline">Though I solved it in Windows, I think I will start to move my project to</span> UNIX, to avoid more future problems.<br><br>Thank you very much,<br><br>Ramon<br><br><br><br><div><span class="gmail_quote">
2007/3/8, Ross Finlayson <<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>Hi all,<br>>I am working on a H264 Streamer. It works very well with VLC and<br>>QuickTime but I need that the frames will be sent exactly (as much<br>>as possible) at 40 mseg, so I set frameDurationInMicroseconds to
<br>>40000. I used Etherreal to analize packet's time and I saw that<br>>packets are sent in intervals of 32-33 mseg. and 47-48 mseg. Main<br>>time is correct but is there any way to send packets regulary to 40
<br>>mseg??<br>><br>>Someone says to me that it is possible an error of using Windows and<br>>Visual C++ to build Live libraries. It can be solved building Live<br>>in UNIX/Linux?<br><br>Perhaps - Windows' timers are notoriously inaccurate.
<br><br>--<br><br>Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a><br>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">
live-devel@lists.live555.com</a><br><a href="http://lists.live555.com/mailman/listinfo/live-devel">http://lists.live555.com/mailman/listinfo/live-devel</a><br></blockquote></div><br>