[Live-devel] Live H264 Streaming Timing Problem

Marc ARMSTRONG marc.armstrong at st.com
Thu Apr 12 03:41:06 PDT 2012


Thanks Renato,

I'm currently looking into Asynchronous pipes. Hopefully this will fit into the Live555 model.

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Renato MAURO (Libero)
Sent: 12 April 2012 00:20
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Live H264 Streaming Timing Problem

Hello Marc.


    In Windows the ReadFile function reads asynchronously:

1) from a pipe, setting PIPE_NOWAIT via the SetNamedPipeHandleState function (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365787(v=vs.85).aspx);

2) from a file, setting FILE_FLAG_OVERLAPPED via the CreateFile function (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa363858(v=vs.85).aspx); anyway, see http://support.microsoft.com/kb/156932/en-us for some problems you have to deal with when using this feature (but at the end everything always worked fine for me from disks and serial or USB ports);

3) from a socket, using the usual ReadFile function on a socket handle (see http://msdn.microsoft.com/en-us/library/windows/desktop/aa365467(v=vs.85).aspx); but it sounds new for Windows, at least for me: I'll try it one day (please, let me know if it worked for you).


Hope this helps.

    Renato MAURO

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120412/ee760f16/attachment.html>


More information about the live-devel mailing list