Skip to content

Commit

Permalink
Check if we can start prebuffering after an MPD update. New periods m…
Browse files Browse the repository at this point in the history
…ight have been added
  • Loading branch information
dsilhavy committed Jun 9, 2021
1 parent 0512a41 commit a762316
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/streaming/controllers/StreamController.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,8 @@ function StreamController() {
_initializeForFirstStream(streamsInfo);
}
eventBus.trigger(Events.STREAMS_COMPOSED);
// Additional periods might have been added after an MPD update. Check again if we can start prebuffering.
_checkIfPrebufferingCanStart();
})
.catch((e) => {
throw e;
Expand Down

0 comments on commit a762316

Please sign in to comment.