[Live-devel] Question on streams in Windows
Ross Finlayson
finlayson at live555.com
Thu Feb 28 15:20:05 PST 2013
> My question is this: can I safely undefine READ_FROM_FILES_SYNCHRONOUSLY
NO! You should not modify the supplied source code. (Windows developers who use "@gmail.com" email addresses should especially not modify the supplied source code :-)
The whole point of this code is that, in Windows, reads from open files (including pipes) can only be done synchronously - i.e., as a blocking read. This means that if you are reading from a pipe, then the writing to the (other end of the) pipe must be done by another process.
However, if your encoder (the thing that writes to the other end of the pipe) is running as another process, then things should still work.
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/20130301/27b009c6/attachment.html>
More information about the live-devel
mailing list