[Live-devel] Pipe streaming - read freeze

2016-07-17 Thread bearded_admin
Hi,When I run code testOnDemandRTSPServer for live h264 streaming (read data from linux pipe), streaming stops until at least one client not connected. My app opens pipe to writing, after that Live555 doesn’t open pipe for reading while no clients connected. Thats why my app freezes. So, how I can force live555 testOnDemandRTSPServer to don’t waiting for clients for start reading from pipe immediately?--Thanks in advance.Roman
___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


Re: [Live-devel] Pipe streaming - read freeze

2016-07-27 Thread bearded_admin
Thanks for your answer, but I mean another problem which appears because of using unix pipeline. Lock on my side, while live555 doesn’t open pipe for reading.  In mkfifo docks:«However, it has to be open at both ends simultaneously beforeyou can proceed to do any input or output operations on it.  Openinga FIFO for reading normally blocks until some other process opens thesame FIFO for writing, and vice versa.» I want to force live555 to always open pipe even if there are no one clients — is it possible?After pipe opening my code continue work, because system skips pipe opening for writing from my side.
___
live-devel mailing list
live-devel@lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel