Skip to content

BADGER-312: Segment timeline manifests unable to repeat segment requests#110

Open
JoeBBC wants to merge 3 commits intosmp-v4.7from
segment-timeline-fix
Open

BADGER-312: Segment timeline manifests unable to repeat segment requests#110
JoeBBC wants to merge 3 commits intosmp-v4.7from
segment-timeline-fix

Conversation

@JoeBBC
Copy link

@JoeBBC JoeBBC commented Mar 17, 2026

The latest dash packager creates manifests which use <SegmentTimeline />, the implementation of TimelineSegmentsGetter resulted in the inability to repeat segment requests, freezing streams which use synthetic stalls.

The cause was the use of TimelineSegmentsGetter to progress the segment index, moving the onus of control away from DashHandler - something other SegmentGetters don't do.

TimelineSegmentsGetter uses a requested time to find a segment instead of an index which is the predominant means in other getters. This is down to the fact an MPD update can shift the timeline, making indexes an unreliable segment tracker.

This PR refactors the SegmentGetter interface to loosen the coupling between DashHandler and SegmentGetters, clarifying the roles of controller & getter. DashHandler's decision to repeat a segment request is now respected.

Ticket: BADGER-312

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant