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).
|