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 19, 2023
1 parent 899eb07 commit 75a55b5
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 @@ -2224,10 +2224,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 75a55b5

Please sign in to comment.