From 72179b1c52acb5eb602abfb67c526500e74dba59 Mon Sep 17 00:00:00 2001 From: Robert Bryer Date: Mon, 18 Jan 2021 16:05:14 +0000 Subject: [PATCH] Don't lose AbrController's reference to stream processor when switching between periods --- src/streaming/StreamProcessor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/streaming/StreamProcessor.js b/src/streaming/StreamProcessor.js index 4b4086cced..75e83b8904 100644 --- a/src/streaming/StreamProcessor.js +++ b/src/streaming/StreamProcessor.js @@ -214,7 +214,7 @@ function StreamProcessor(config) { liveEdgeFinder = null; } - if (abrController) { + if (abrController && !keepBuffers) { abrController.unRegisterStreamType(type); }