[rtmpdump] strange rtmpsuck behaviour

Ralph Spitzner rasp at spitzner.org
Mon May 17 14:10:44 CEST 2010

Whilst trying to dump something from the BBC (CBS also) I
get the following:

DEBUG: Invoking connect
DEBUG2: RTMP_ReadPacket: fd=4
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

I traced that to the buffer fill function in rtmp.c, where
revc simply returns to have received 0 bytes.
In the browser the video plays....

replay media center (virtualbox) reports something about encryption
for the BBC stream, but is fine with the CBS one.

Any Ideas on this ?

Looks like the peer somehow drops the connection I just don't
get why the player keeps on playing....


The primary purpose of the DATA statement is to give names to
constants; instead of referring to pi as 3.141592653589793 at every
appearance, the variable PI can be given that value with a DATA
statement and used instead of the longer form of the constant.  This
also simplifies modifying the program, should the value of pi change.
                 -- FORTRAN manual for Xerox Computers

More information about the rtmpdump mailing list