nginx-rtmp-module
nginx-rtmp-module copied to clipboard
Gracefully handling lost publisher connection; configurable message output
When you're using nginx-rtmp to accept an input stream and then send out an output stream, is it possible to output some kind of "connection lost; please wait" message when the input stream is abruptly cut off?
This question certainly seems to be related to this SE post: http://video.stackexchange.com/questions/14502/how-to-display-static-image-if-the-input-stream-ends-using-ffmpeg
Perhaps the message could be easily configurable, and perhaps there would be a time-out parameter so that a connection that is lost for more than X number of minutes will result in the end of the output streams?
Does the "drop_idle_publisher" directive already handle this kind of time-out? And in either case, what about the output message?
Thank you!