Skip to content

Commit

Permalink
Fix issue in GapContoller when reset playback (#3868)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert authored Feb 1, 2022
1 parent 2e4661a commit af17c3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/streaming/controllers/GapController.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,9 @@ function GapController() {
* @private
*/
function _shouldCheckForGaps(checkSeekingState = false) {
if (!streamController.getActiveStream()) {
return false;
}
const trackSwitchInProgress = Object.keys(trackSwitchByMediaType).some((key) => {
return trackSwitchByMediaType[key];
});
Expand Down

0 comments on commit af17c3c

Please sign in to comment.