Hi Ross,

I am using Linux.

Before going to read function, the program blocks at 
ByteStreamFileSource::createNew when it tries to do OpenInputFile on a pipe. 
I was not able to find any options to call fopen in non blocking mode. 


Regards,
Sambhav

On Feb 28, 2012, at 9:20 AM, Ross Finlayson wrote:

>> In  ByteStreamFileSource::doReadFromFile(), read/fread blocks until there is 
>> any data. 
> 
> No, that happens only if READ_FROM_FILES_SYNCHRONOUSLY is defined, and that's 
> defined only for Windows, where you have no choice in the matter (because 
> Windows doesn't let you treat open files as select()able sockets).  To 
> overcome this, you need to use some other OS.
> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> 
> _______________________________________________
> live-devel mailing list
> [email protected]
> http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to