Skip to content

Commit

Permalink
Resume fragment loading after level switch follows level error
Browse files Browse the repository at this point in the history
Fixes #5498

(cherry picked from commit 1d7de74)
  • Loading branch information
robwalch committed Jun 2, 2023
1 parent 15d9ef3 commit f670acc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/controller/stream-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit f670acc

Please sign in to comment.