Skip to content

Commit

Permalink
fix: Restart masterPlaylistLoader after media change (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-barstow authored Nov 18, 2022
1 parent 404ba76 commit 66707b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/master-playlist-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,6 +614,8 @@ export class MasterPlaylistController extends videojs.EventTarget {
this.requestOptions_.timeout = requestTimeout;
}

this.masterPlaylistLoader_.load();

// TODO: Create a new event on the PlaylistLoader that signals
// that the segments have changed in some way and use that to
// update the SegmentLoader instead of doing it twice here and
Expand Down

0 comments on commit 66707b4

Please sign in to comment.