fix(dash): number SegmentTimeline segments from startNumber

Timeline manifests with startNumber between 2 and the segment count capped the range at the count, truncating live replays.
This commit is contained in:
imSp4rky
2026-09-01 14:05:06 -06:00
parent 7310273594
commit e00f6cca86
2 changed files with 63 additions and 3 deletions
-3
View File
@@ -830,9 +830,6 @@ class DASH:
current_time += int(s.get("d"))
if not end_number:
end_number = len(segment_durations)
# Handle high startNumber in DVR/catch-up manifests where startNumber > segment count
if start_number > end_number:
end_number = start_number + len(segment_durations) - 1
for t, n in zip(segment_durations, range(start_number, end_number + 1)):