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

RTMP_ReadPacket, failed to read RTMP packet header

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

refrigerator 10-29-2011 03:33 AM

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


All times are GMT -6. The time now is 06:31 PM.