[rtmpdump] [PATCH] Make rtmpgw handle full RTMP URLs with "-i"

Bastien Nocera hadess at hadess.net
Fri Jul 20 11:21:13 CEST 2012


On Thu, 2012-07-19 at 20:44 -0400, compn wrote:
> On Thu, 19 Jul 2012 17:22:03 +0100, Bastien Nocera wrote:
> >+    case 'i':
> >+      STR2AVAL(req->fullUrl, optarg);
> >+      break;
> >     case 's':
> >       STR2AVAL(req->swfUrl, arg);
> >       break;
> 
> i know rtmpdump uses optarg. is there any problem mixing optarg and
> arg here ?

I should have noted that I only compile-tested it. I don't know what
rtmpgw is for, but it looks like it uses the exact same options as
rtmpdump, so the code could probably do with being shared.



More information about the rtmpdump mailing list