[FFmpeg-devel] [PATCH 0/2] avformat/hls: fix demux of HLS+fMP4 when using persistent HTTP connections

vectronic hello.vectronic at gmail.com
Sat Oct 5 00:56:00 EEST 2019


The offset of a playlist segment into a fragmented MP4 file was being ignored when
using support for persistent HTTP connections. To allow passing of the segment offsets
a new ff_http_do_new_request2() method is introduced.

vectronic (2):
  avformat/http: add ff_http_do_new_request2() which supports options to
    be applied to HTTPContext after initialisation with the new uri
  avformat/hls: pass http offset options to http request made with
    persistent connections to prevent incorrect reset of offset when
    demuxing HLS+FMP4

 libavformat/hls.c  |  8 ++++----
 libavformat/http.c |  8 +++++++-
 libavformat/http.h | 13 +++++++++++++
 3 files changed, 24 insertions(+), 5 deletions(-)

-- 
2.21.0 (Apple Git-122)



More information about the ffmpeg-devel mailing list