Skip to content

Commit

Permalink
Merge pull request #5537 from video-dev/bugfix/level-switch-following…
Browse files Browse the repository at this point in the history
…-level-error

Resume fragment loading after level switch follows level error
  • Loading branch information
robwalch committed Jun 5, 2023
2 parents f32faa0 + 1d7de74 commit a8d5965
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 a8d5965

Please sign in to comment.