[FFmpeg-devel] [PATCH] MMS protocol support patch 1
Thu Oct 11 17:25:15 CEST 2007
On Thu, 2007-10-11 at 15:26 +0200, Dominik 'Rathann' Mierzejewski wrote:
> On Thursday, 11 October 2007 at 14:59, Bj?rn Axelsson wrote:
> > +
> > +/** We must lie and say that we are NSPlayer, or the server will give us a
> > + * redirector file (video/x-ms-wvx) instead of the actual stream. Also, it
> > + * seems that the server will use different protocol variants depending on
> > + * the reported client version. */
> > +#define USERAGENT "NSPlayer/188.8.131.5256"
> > +// #define USERAGENT "NSPlayer/184.108.40.20655"
> Could you make it user-settable via a command line option (with the above
> #define as default)?
Hm. I can't see any clean way to pass that kind of option to a protocol,
other than (ab)using the URL string. I doubt a global variable would be
accepted. Any other suggestions?
Bj?rn Axelsson Phone: +46-(0)90-18 98 97
Intinor AB Fax: +46-(0)920-757 10
Interactive Television & Digital Media Distribution
More information about the ffmpeg-devel