Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

RTMPDump hangs if live stream capture breaks

(http://stream-recorder.com/forum/showthread.php?t=7112)

aisoftware 07-29-2010 07:32 AM

RTMPDump hangs if live stream capture breaks


 
Is there a patch that will allow/force rtmpdump to close the file and exit gracefully if the break in a live stream capture lasts longer than 30 seconds?

Yansky 07-29-2010 09:49 AM

Re: RTMPDump hangs if live stream capture breaks


 
Try increasing the timeout parameter: http://rtmpdump.mplayerhq.hu/rtmpdump.1.html

Ed999 09-12-2010 01:52 PM

Re: RTMPDump hangs if live stream capture breaks


 
In all the versions of RTMPDUMP which I've seen so far, the --resume command is NOT allowed in a Live stream, as no resuming is possible.

But all versions, even the earliest, appear to support the --timeout function, which gracefully closes the connection to the RTMP server at the nominated time. In this case, include the switch --timeout 30 for the connection to timeout after 30 seconds (otherwise you will still time out, but the default is typically 120 seconds).


All times are GMT -6. The time now is 08:44 PM.