Stream corrupt error and then rtmpdump goes nuts

Jon Davies jon at hedgerows.org.uk
Mon Feb 18 15:04:29 EST 2013


On 4 January 2013 09:51, Neill Mitchell <neill at nlkmitchell.com> wrote:
[lots of helpful stuff about rtmpdump going nuts]

I posted a patch on the rtmpdump mailing list, and was asked if I'd
tried a different (not-committed) patch, attached below.

I'm not convinced this will really help, but does someone with even
faster fibre than me care to give it a try? (some judicious
installation of real ethernet cable got mine running reliably at
55Mbps, but I still can't reproduce the problem people were reporting
here.)

if someone doesn't like compiling stuff but is willing to test please
let me know what platform you're using and I will do a test build.

Thanks
Jon


---
 librtmp/rtmp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/librtmp/rtmp.c b/librtmp/rtmp.c
index b966710..4506732 100644
--- a/librtmp/rtmp.c
+++ b/librtmp/rtmp.c
@@ -4998,6 +4998,7 @@ fail:
       memcpy(mybuf, flvHeader, sizeof(flvHeader));
       r->m_read.buf += sizeof(flvHeader);
       r->m_read.buflen -= sizeof(flvHeader);
+      cnt = sizeof(flvHeader);

       while (r->m_read.timestamp == 0)
         {



More information about the get_iplayer mailing list