View Single Post
  #1  
Old 10-29-2011, 03:33 AM
refrigerator refrigerator is offline
Junior Member
 
Join Date: Oct 2011
Posts: 1
refrigerator is on a distinguished road
Default

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... :>
Reply With Quote