mirror of
https://github.com/euzu/tuliprox.git
synced 2026-10-18 13:52:20 +02:00
With startup.mode = optimistic, session.startup stays set for the whole session lifetime on clear MPEG-TS sources. select_window's startup branch returned before retain_published_predecessors, so the v3.3.153 three-target-duration retention never ran in that mode. A 3-segment origin window was served unchanged (e.g. 17.96 s with target 7), both on retained-session return entries and during steady playback. Apply the retention after the startup branch's MIN_VISIBLE_SEGMENTS check. The retention rules are unchanged: only contiguous Ready, renderable, non-provisioning predecessors are added, never before the previously rendered first segment, and the window is capped at TARGET_VISIBLE_SEGMENTS.