mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
Bundled as one WIP checkpoint — the changes interleave in relocation-pipelines.ts and media/types, so they can't be split per-file. To be curated before the PR. - Match box-time by track_id: the default relocation pipeline now uses findMediaTrack + readBaseMediaDecodeTime (init tkhd track_id → segment tfhd track_id) instead of the first-traf presumptive readers, so muxed ISO-BMFF (e.g. a clcp caption traf) reads the media track's origin rather than relying on box order. Adds MediaContainerData.trackId + a caption-first-muxing test. - Rename relocation-steps → relocation-pipelines; reframe it as the config-supplied, loader-facing half of establishStartMediaTime (the relocation analog of track-switching's constraint/rule chain). - Extract the loader step vocabulary + base steps and the SourceBuffer message DTOs out of the actors into primitives/, behind a structural AppendSink seam so the pipeline names no concrete actor; the loader actors keep only scheduling. - Decouple the vocabulary from the DOM: add media/types SegmentData and make media/dom AppendData an alias, so the whole v/a load pipeline lives DOM-free in primitives/ root. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>