[vlc-devel] Factor HTTP/HTTPS/RTSP port in core
remi at remlab.net
Mon Oct 17 09:21:11 CEST 2011
On Mon, 17 Oct 2011 04:33:23 +0200, Pierre Ynard <linkfanel at yahoo.fr>
>> HTTP is consistent with file as far as both of them now expect a file
>> path relative to the host (implicitly the local file system for file).
> As far as I understand, the file sout expects, on a utf-8 system at
> least, a file path encoded in utf-8. As for the http sout, I fail to see
> any code dealing with URL encoding, so I assume that to get correct
> results you're supposed to pass a URL-encoded path? This is confusing to
> me. Does this mean that passing an MRL to --sout is kind of broken too?
I'm only saying that a number of stream output, or rather access output
modules expect a file path or something that looks like one: file,
livehttp, http. And that makes sense for those non-push access outputs -
contrary to the FTP STORE output whereby a full URI is actually logical.
That is not to say that there are no bugs in the HTTPd core. There are
certainly plenty of bugs (as the recent security fix showed) and
limitations. It might very well be that encoding/decoding is not sane
there. I don't think that was ever "designed" and really tested other than
with printable ASCII.
More information about the vlc-devel