[Live-devel] using stdin for live555MediaServer
Ross Finlayson
finlayson at live555.com
Tue Aug 25 02:44:27 PDT 2020
> It would transpire that the onDemandRTSP server doesn't open stdin or pull data from it until it gets an RTSP request from the outside world. But our encoder is pushing data out on stdout continuously.
Why is it doing that? Is it doing non-blocking writes to ’stdout’? If so, then it probably shouldn’t. If you do blocking writes to ’stdout’, and nothing is currently reading from the other side, then your encoder will just block until the other side needs data.
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the live-devel
mailing list