Skip to content

Commit

Permalink
Do not abort request in _abandonRulesCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
robwalch committed Jan 8, 2024
1 parent a5f64fc commit dfce700
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/controller/abr-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -367,11 +367,7 @@ class AbrController implements AbrComponentAPI {
Number.isFinite(bwEstimate) ? (bwEstimate / 1024).toFixed(3) : 'Unknown'
} Kb/s
New BW estimate: ${(this.getBwEstimate() / 1024).toFixed(3)} Kb/s
Aborting and switching to level ${nextLoadLevel}`);
if (frag.loader) {
this.fragCurrent = this.partCurrent = null;
frag.abortRequests();
}
Switching to level ${nextLoadLevel}`);
hls.trigger(Events.FRAG_LOAD_EMERGENCY_ABORTED, { frag, part, stats });
};

Expand Down

0 comments on commit dfce700

Please sign in to comment.