RTMP_ReadPacket, failed to read RTMP packet header
RTMP_ReadPacket, failed to read RTMP packet header
Upon that message, I think, the connection should either be re-connected, or rtmpdump should gracefully terminate. Instead, it keeps waiting and doing nothing, past any connection or recording timeouts I set.
I'm running rtmpdump overnight, and if something breaks, I want it to just terminate and have a script retry it. What should I patch in the code to just make it die right then and there? I could put an exit() call right in librtmp, but that would be a very hamfisted approach... :>
|