diff options
author | Aman Gupta <aman@tmm1.net> | 2017-10-05 00:52:52 +0300 |
---|---|---|
committer | Aman Gupta <aman@tmm1.net> | 2017-12-23 01:42:50 +0300 |
commit | b7d6c0cd48dac7869b9e6803e2d47d05a4fa373b (patch) | |
tree | faad20f9e634fc4c5a4899b3808b581113eef02e /doc | |
parent | 9395e44b8d20d1d4c72dd5b42d28721ca191d957 (diff) |
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 <aman@tmm1.net>
Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/demuxers.texi | 4 |
1 files changed, 4 insertions, 0 deletions
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 |