VLC 3.0.0 http-proxy regression - does not work. 2.2.4 works, but error message logged after playback stops
I open VLC using a desktop shortcut:
"C:\Program Files (x86)\VideoLAN\vlc.exe" --http-proxy=http://corporate-http-proxy:80/
Per the documentation, this should provide VLC with the HTTP Proxy URL value (which I thought equated to the HTTP Proxy URL field in Simple Preferences -> Input / Codecs -> Network).
However, testing tonight, I realise that VLC 3.0.0 disregards this commandline option completely, and will only work if the HTTP proxy is specified in the GUI options.
\ Playing back an HLS stream (I have been testing with BBC 6 Music's UK 320 kbps HLS stream) results in the following:
v3.0.0: The stream does not load at all (no network traffic, no buffering.) The following only appears in Messages if you double-click the playlist entry to retry, or hit Stop:
access error: HTTP connection failure
http warning: invalid proxy host
\ v2.2.4: This behaviour is interesting. VLC adheres to the proxy specified on the commandline (though not without issue). Playing the same HLS stream first displays this log output:
httplive info: HTTP Live Streaming (bbcfmt-ic-84b9a100-0d6d72-ashlsuklive.s.loris.llnwd.net/pool_6/live/bbc_6music/bbc_6music.isml/bbc_6music-audio%3d320000.norewind.m3u8)
ts info: MPEG-4 descriptor not found for pid 0x22 type 0xf
packetizer_mpeg4audio info: AAC channels: 2 samplerate: 48000
faad warning: decoded zero sample
core warning: playback too early (-74458): down-sampling
And when you stop playback, these errors subsequently appear:
http error: cannot connect to corporate-http-proxy:80
access_mms error: cannot connect to corporate-http-proxy:80
core error: no suitable access module for `http://bbcfmt-ic-84b9a100-0d6d72-ashlsuklive.s.loris.llnwd.net/pool_6/live/bbc_6music/bbc_6music.isml/bbc_6music-audio=320000-237299490.ts'
httplive error: downloading segment 237299490 from stream 0 failed
\ These errors may be due to a quirk of how VLC 2.2.4 streams HLS chunks; VLC 3.0.0 (when provided proxy settings in the GUI options) does not log those errors after playback of HLS or DASH streams is stopped.
\ \
This regression happens when testing with an Apache proxy and a Squid proxy. I've tested with intentionally incorrect proxy addresses in the path as well, and made sure Internet Explorer proxy settings are all blank / disabled.
-
VLC 2.2.4 will stream when
--http_proxy="http://corporate-proxy:port"
is specified on the commandline; the "HTTP Proxy URL" setting in the web GUI can be blank. -
VLC 3.0.0 won't stream at all, irrespective of whether
--http_proxy="http://corporate-proxy:port"
is specified as a parameter to the shortcut target. VLC 3.0.0 incorrectly requires the GUI options "HTTP Proxy URL" to be filled in order to work with an HTTP proxy server.
I've confirmed by Wiresharking my requests that VLC 2.2.4 is respecting the http_proxy variable passed on the commandline, although it still throws an error after you stop playback. VLC 3.0.0 completely ignores it!