PDA

View Full Version : RTMPDump hangs if live stream capture breaks


aisoftware
07-29-2010, 07:32 AM
Is there a patch that will allow/force rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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
Try increasing the timeout parameter: http://rtmpdump.mplayerhq.hu/rtmpdump.1.html

Ed999
09-12-2010, 01:52 PM
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).