TV-Lite Community

Author Topic: TV-Lite Proxy support  (Read 137 times)

Offline Cristian

  • Global Moderator
  • Newbie
  • *****
  • Posts: 18
  • TV-Lite developer
    • View Profile
    • TV-Lite
TV-Lite Proxy support
« on: October 07, 2021, 22:08:40 »
Did some investigations on proxy support
Up until now, came up with the following:
  • libcurl: should honor the "http_proxy" and friends environment variables right now, Also should be easy to add support programmaticaly
  • libvlc: also should honor environment variables (they say). Used to have "--http-proxy" command line option, but has been removed, at least for windows. For sure has SOCKS proxy command line options and these can  also be set in vlc configuration
Question: can anyone with proxy access care to test the environment settings?  I currently have no proxy to test with.
Thanks

Offline Cristian

  • Global Moderator
  • Newbie
  • *****
  • Posts: 18
  • TV-Lite developer
    • View Profile
    • TV-Lite
Re: TV-Lite Proxy support
« Reply #1 on: October 08, 2021, 19:21:41 »
More investigation on this feature:

Linux:
libcurl obeys both "http_proxy" and "https_proxy" environment variables. Playlist downloading should be fully functional.
HTTP stream playing can be done via proxy only if the VLC option "http-proxy" is set.
Could not set the HTTPS stream playing via proxy

Windows
The libcurl port for Windows ignores the proxy settings in Control Panel.
Similar to Linux, HTTP stream playing can be done via proxy only if the VLC option "http-proxy" is set.
Could not set the HTTPS stream playing via proxy

Offline Cristian

  • Global Moderator
  • Newbie
  • *****
  • Posts: 18
  • TV-Lite developer
    • View Profile
    • TV-Lite
Re: TV-Lite Proxy support
« Reply #2 on: October 14, 2021, 18:36:52 »
The following command line parameters were found for windows VLC 3.0.12
   --http-proxy=<șir>         Proxy HTTP
          http://[utilizator@]proxyulmeu.domeniulmeu:portulmeu/ ; dacă este
          gol, va fi încercată variabila de mediu http_proxy.
      --http-proxy-pwd=<șir>     Parolă proxy HTTP

      --socks=<șir>              Server SOCKS
      --socks-user=<șir>         Nume utilizator SOCKS
      --socks-pwd=<șir>          Parolă SOCKS

The http-proxy related command line options In Linux seem to be missing. However they might work when passed in libVLC.
« Last Edit: October 14, 2021, 19:30:13 by Cristian »