Skip to content

Commit

Permalink
backporting for low latency fix in v4.9
Browse files Browse the repository at this point in the history
  • Loading branch information
jobispo committed Jan 30, 2025
1 parent 5592f40 commit 090fb00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dash/segment_template.js
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ shaka.dash.TimelineSegmentIndex = class extends shaka.media.SegmentIndex {
// Append timeline
const lastCurrentEntry = currentTimeline[currentTimeline.length - 1];
const newEntries = info.timeline.filter((entry) => {
return entry.start >= lastCurrentEntry.end;
return entry.end > lastCurrentEntry.end;
});

if (newEntries.length > 0) {
Expand Down

0 comments on commit 090fb00

Please sign in to comment.