[rtmpdump] Handshake fails when "_DEBUG" defined

hyc at highlandsun.com hyc at highlandsun.com
Fri Jan 1 21:09:09 CET 2010

On Fri, Jan 01, 2010 at 12:53:53PM +0100, Skaarj NaPali wrote:
> Hi,
> There is a bug in "static bool HandShake(RTMP * r, bool FP9HandShake)"
> which triggers only when "_DEBUG" is defined. Certain RTMP servers are
> rejecting the handshake when the client signature data is all zero.
> So, when connecting to such a server without using an encrypted
> connection and without using the "FP9" handshake and when "_DEBUG" is
> defined, the server will disconnect. The server simply closes the
> TCP/IP connection after the handshake.

This is not a bug. You're not meant to use _DEBUG, that's for developers.

> The problem can get reproduced with this short clip:
> rtmpdump --rtmp
> rtmpt://pssimp7lsfs.fplive.net:80/pssimp7ls/geo_d_at_ch/Clip_01_Stiefvater_und_Sohn_SDfull25
> --flv out.flv

We don't support rtmpt yet.

More information about the rtmpdump mailing list