From 1d7de7421245292f746a2371040dc2c25828fb62 Mon Sep 17 00:00:00 2001 From: Rob Walch Date: Fri, 2 Jun 2023 08:38:50 -0700 Subject: [PATCH] Resume fragment loading after level switch follows level error Fixes #5498 --- src/controller/stream-controller.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controller/stream-controller.ts b/src/controller/stream-controller.ts index 22dc18d67cf..166a2aadf34 100644 --- a/src/controller/stream-controller.ts +++ b/src/controller/stream-controller.ts @@ -180,6 +180,9 @@ export default class StreamController } this.state = State.IDLE; break; + } else if (this.hls.nextLoadLevel !== this.level) { + this.state = State.IDLE; + break; } break; }