From: Steinar H. Gunderson Date: Mon, 15 Apr 2019 07:33:36 +0000 (+0200) Subject: Keep the HLS backlog even if the stream header changes. X-Git-Tag: 1.4.3~4 X-Git-Url: https://git.sesse.net/?p=cubemap;a=commitdiff_plain;h=980ac162414c9fce62af4fdb9cfc282865b31572;hp=980ac162414c9fce62af4fdb9cfc282865b31572 Keep the HLS backlog even if the stream header changes. The typical case here is if we are streaming fMP4 and the encoder has to restart. The regular (non-HLS) stream has to cut off the backlog here, but HLS supports multiple headers, so we can add a discontinuity to keep the backlog seekable. I haven't actually found a client that will play correctly across the discontinuity, but hls.js can at least _seek_ across it, which is already useful. ---