Skip to content

Commit 051a8c5

Browse files
authored
fix(DASH): Live DASH allows segment overlap in the updated manifest for first new segments (#7405)
fix(DASH): Live DASH allows segment overlap in the updated manifest for first new segments to avoid creating GAP with ms inaccurate manifest vs Segment duration and start time Fixes #7397
1 parent 445b0ce commit 051a8c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dash/segment_template.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,7 @@ shaka.dash.TimelineSegmentIndex = class extends shaka.media.SegmentIndex {
860860
if (currentTimeline.length) {
861861
const lastCurrentEntry = currentTimeline[currentTimeline.length - 1];
862862
newEntries = info.timeline.filter((entry) => {
863-
return entry.start >= lastCurrentEntry.end;
863+
return entry.end > lastCurrentEntry.end;
864864
});
865865
} else {
866866
newEntries = info.timeline.slice();

0 commit comments

Comments
 (0)