Kodi Community Forum
Bug Proxy is ignored when grabbing HLS chunks - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: Bug Proxy is ignored when grabbing HLS chunks (/showthread.php?tid=250933)



Proxy is ignored when grabbing HLS chunks - jhol - 2015-12-06

Hi Folks,

I've running into a little problem while trying to access an HLS stream through a stream-specific HTTP proxy server.

To demonstrate this I have a strm file that looks like this:
Code:
http://walterebert.com/playground/video/hls/sintel-trailer.m3u8|httpproxy=http://example.com:3128

Now when I connect to the stream it plays ok, but the issue is that the only the HLS playlist is being requested via the proxy, not the chunks.

Here is a Wireshark capture showing the problem:
https://www.airwebreathe.org.uk/lib/exe/fetch.php?media=space:20151206-hls-proxy-request.png

I suppose the issue is to do with Kodi not forwarding the proxy config to the code that requests the playlist items. Is this a bug? or is there a way to make this work right now? If it's an reasonably easy fix, I'm happy to work on a patch if someone can suggest where the relevant code is located.

Any suggestuins?

Thanks
jhol!


RE: Proxy is ignored when grabbing HLS chunks - wsnipex - 2015-12-08

see the discussion on https://github.com/xbmc/xbmc/pull/8418