[FFmpeg-devel] [rfc] merge the applehttp-urlprotocol into main
aviad rozenhek
aviadr1
Mon Feb 28 11:39:55 CET 2011
On Mon, Feb 28, 2011 at 00:40, Martin Storsj? <martin at martin.st> wrote:
> On Sun, 27 Feb 2011, Luca Barbato wrote:
>
> > - append "http://" so the url shouldn't be applehttp://http://
>
> I'm undecided about this. The applehttp://http:// URLs sure do look ugly,
> but without that, how would you specify to play a stream of this kind from
> a local file?
>
>
we could parse the *inner *url again to see if it has a protocol specifier,
and assume http if it doesnt [instead of assuming a file]
therefore this url
applehttp://xx.yy.zz.ww/abc/
----------------
inner url part
will be parsed as applehttp://http://xx.yy.zz.ww/abc/
while file urls can be specified explicitly, as in
applehttp://file://usr/files/myfile.m3u8
----------------------------
inner url part
--
Aviad Rozenhek
More information about the ffmpeg-devel
mailing list