[rtmpdump] Arbitrary AMF data problem

Sylvain Fourmanoit fourmanoit at gmail.com
Sat Jan 30 00:59:17 CET 2010


Hi,

I have been trying to append an arbitrary named AMF data to the connect 
string using the --conn switch of rtmpdump. Invoking rtmpdump (svn r242) 
like this:

rtmpdump --conn NS:somename:somestring

Returns:

ERROR: Invalid AMF parameter: NS:somename:somestring

It seems the depth argument passed by address to the parseAMF() function 
from the local edepth variable from main() is always zero, making the 
program choke:

if (!p || !*depth)  (depth always zero, around line 1099 of rtmpdump.c)
         return -1;

What am I missing? Thanks,

-- 
Sylvain

You cannot achieve the impossible without attempting the absurd.


More information about the rtmpdump mailing list