[rtmpdump] Arbitrary AMF data problem

Howard Chu hyc at highlandsun.com
Sat Jan 30 01:32:51 CET 2010


Sylvain Fourmanoit wrote:
> 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,
>
Named parameters are only valid inside a sub-object.


More information about the rtmpdump mailing list