mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 10:23:32 +00:00
Add Track.startDate — the wall-clock time (epoch seconds) at a track's timeline origin, derived in the parser as programDateTime − startTime and stable as the window slides. Provisional from the manifest (refined later from the buffer). Add alignTrackTimelines(tracks): a pure model transform that re-bases demuxed tracks onto a common wall-clock origin by their startDate delta, so segments with equal programDateTime get equal startTime — the cross-track A/V sync step. Verified against the real demuxed Mux CMAF fixtures, where the 2s audio/video skew resolves. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>