From a83ea37731cfc89d886ec7dc5d51f67ca5f5af7b Mon Sep 17 00:00:00 2001 From: Brandon Casey <2381475+brandonocasey@users.noreply.github.com> Date: Thu, 14 Oct 2021 10:35:30 -0400 Subject: [PATCH 1/2] fix: reset transmuxer in resetEverything to fix seeking backwards in some cases (#1213) This ultimately happens because resetEverything does not reset the gop cache. So If we seeked backwards and have a gop cache then we would throw out an entire segment as it didn't line up with our know gops. --- src/segment-loader.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/segment-loader.js b/src/segment-loader.js index 5d8e5c3ab..8c1a3f249 100644 --- a/src/segment-loader.js +++ b/src/segment-loader.js @@ -1146,6 +1146,11 @@ export default class SegmentLoader extends videojs.EventTarget { this.transmuxer_.postMessage({ action: 'clearAllMp4Captions' }); + + // reset the cache in the transmuxer + this.transmuxer_.postMessage({ + action: 'reset' + }); } } From fc83109eaa6610493cc57395367de9d950791373 Mon Sep 17 00:00:00 2001 From: Gary Katsevman Date: Thu, 14 Oct 2021 13:08:32 -0400 Subject: [PATCH 2/2] chore: add mux's ll-hls test stream (#1214) --- scripts/sources.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/sources.json b/scripts/sources.json index c9f78e37c..0fcd7ac8f 100644 --- a/scripts/sources.json +++ b/scripts/sources.json @@ -188,6 +188,12 @@ "mimetype": "application/x-mpegurl", "features": ["live", "low-latency"] }, + { + "name": "Mux's LL-HLS test stream", + "uri": "https://stream.mux.com/v69RSHhFelSm4701snP22dYz2jICy4E4FUyk02rW4gxRM.m3u8", + "mimetype": "application/x-mpegurl", + "features": ["live", "low-latency"] + }, { "name": "Axinom Multi DRM - DASH, 4k, HEVC, Playready, Widevine", "uri": "https://media.axprod.net/TestVectors/v7-MultiDRM-SingleKey/Manifest.mpd",