mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
Add a header-only X-TIMESTAMP-MAP scraper (parseVttTimestampMap) plus metadata-aware VTT resolution — the mechanism-independent foundation for correlating non-zero-PTS subtitle cues with the media presentation timeline. resolveVttSegment keeps its exact signature; the new resolveVttSegmentMetadata (raw fetch + header scrape, no VTT parser) and resolveVttSegmentWithMetadata (Promise.all of the two) are additive, and nothing requests metadata yet — the control of when/how to apply the map stays external pending the non-zero-PTS mechanism decision. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>