Skip to content

Commit

Permalink
fix: Remove duplicate adaptation event before init (#5492)
Browse files Browse the repository at this point in the history
Fixes #5480
  • Loading branch information
avelad authored and joeyparrish committed Aug 20, 2023
1 parent a6f4d03 commit 08708f0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -2069,10 +2069,6 @@ shaka.Player = class extends shaka.util.FakeEventTarget {

this.playhead_.setStartTime(adjustedTime);
}

// Since the first streams just became active, send an adaptation event.
this.onAdaptation_(null,
shaka.util.StreamUtils.variantToTrack(initialVariant));
}

this.playhead_.ready();
Expand Down

0 comments on commit 08708f0

Please sign in to comment.