[rtmpdump] Issue with brightcove and auth param

Howard Chu hyc at highlandsun.com
Sun Nov 15 22:55:16 CET 2009


Monsieur Video wrote:
> Hi,
> 
> There seems to be an issue with Brightcove with rtmpdump 1.9, the
> following fixes it:
> 
> --- rtmp.cpp    (revision 52)
> +++ rtmp.cpp    (working copy)
> @@ -766,8 +766,8 @@
>    // add auth string
>    if(Link.auth)
>    {
> -//      *enc = 0x01; enc++;
> -//      *enc = 0x01; enc++;
> +      *enc = 0x01; enc++;
> +      *enc = 0x01; enc++;
>  
>        enc += EncodeString(enc, Link.auth);
>    }
> 
> Any idea why that was commented out to start with? (seems to be right
> back in r12)

It was commented out because it was commented out in the rtmpdump-YLE code I
was merging. I dunno, seems like it's safe to leave it in since the 1.6 code
was working fine with it before.
  -- hyc


More information about the rtmpdump mailing list