Quote:
Originally Posted by RedPenguin
|
i seem to have pinpointed the issue. the main issue was that countAMF and dumpAMF functions in rtmpsrv were not taking new array types into consideration hence generating wrong command line in case there was any extra parameters to connect object.
change following in rtmpsrv.c and try:
countAMF:
Code:
len += 2;
if (p->p_name.av_val)
len += p->p_name.av_len + 1;
if((p->p_type == AMF_ECMA_ARRAY) || (p->p_type == AMF_STRICT_ARRAY))
p->p_type = AMF_OBJECT;
switch(p->p_type)
{
case AMF_BOOLEAN:
dumpAMF:
Code:
argv[ac].av_val = ptr;
if (p->p_name.av_val)
*ptr++ = 'N';
if((p->p_type == AMF_ECMA_ARRAY) || (p->p_type == AMF_STRICT_ARRAY))
p->p_type = AMF_OBJECT;
*ptr++ = opt[p->p_type];
*ptr++ = ':';
if (p->p_name.av_val)