[FFmpeg-devel] [PATCH] libavformat/http, tls: honor http_proxy command line variable for HTTPS

Moritz Barsnick barsnick at gmx.net
Thu Aug 20 22:48:31 EEST 2020


Hej Martin,

On Thu, Aug 20, 2020 at 22:05:39 +0300, Martin Storsjö wrote:

> Even if you do e.g. a plain tls socket (or rtmps, or whatever), you may
> want to do the tls connection through a proxy server (be that a socks
> proxy or http proxy).

Actually, I forget that an HTTP proxy with CONNECT support cn transport
any plain socket. I will amend documentation to doc/*.texi.

> For the case of rtmps, if you pass the http_proxy option, it should be
> passed to the rtmps protocol, which doesn't have such an option, from
> where it's passed along in the options dictionary down until the tls
> protocol consumes it.

So you're saying it already works for rtmps, nothing needs to be
changed there? Fine.

Thanks for the review, will follow up with v2,
Moritz


More information about the ffmpeg-devel mailing list