diff --git a/src/dash/utils/SegmentsUtils.js b/src/dash/utils/SegmentsUtils.js index 499712b154..8161dc548e 100644 --- a/src/dash/utils/SegmentsUtils.js +++ b/src/dash/utils/SegmentsUtils.js @@ -147,9 +147,9 @@ function getSegment(representation, duration, presentationStartTime, mediaStartT function isSegmentAvailable(timelineConverter, representation, segment, isDynamic) { const voPeriod = representation.adaptation.period; - // Avoid requesting segments that overlap the period boundary for periods that are not the last + // Avoid requesting segments for which the start time overlaps the period boundary if (isFinite(voPeriod.duration) && voPeriod.start + voPeriod.duration <= segment.presentationStartTime) { - return !isDynamic && voPeriod.nextPeriodId === null; + return false } if (isDynamic) {