From b7d6c0cd48dac7869b9e6803e2d47d05a4fa373b Mon Sep 17 00:00:00 2001 From: Aman Gupta Date: Wed, 4 Oct 2017 14:52:52 -0700 Subject: avformat/hls: add http_persistent option This teaches the HLS demuxer to use the HTTP protocols multiple_requests=1 option, to take advantage of "Connection: Keep-Alive" when downloading playlists and segments from the HLS server. With the new option, you can avoid TCP connection and TLS negotiation overhead, which is particularly beneficial when streaming via a high-latency internet connection. Similar to the http_persistent option recently implemented in hlsenc.c Signed-off-by: Aman Gupta Signed-off-by: Anssi Hannula --- doc/demuxers.texi | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'doc/demuxers.texi') diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 73dc0feec1..f76829adfe 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -316,6 +316,10 @@ segment index to start live streams at (negative values are from the end). @item max_reload Maximum number of times a insufficient list is attempted to be reloaded. Default value is 1000. + +@item http_persistent +Use persistent HTTP connections. Applicable only for HTTP streams. +Enabled by default. @end table @section image2 -- cgit v1.2.3