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
  • Loading branch information
robwalch committed Jun 2, 2023
1 parent fe6f333 commit 1d7de74
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 1d7de74

Please sign in to comment.