mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
4ae15c2c6f
This moves VTT sequence mode offset calculations into a method. It also makes all X-TIMESTAMP-MAP usage dependent on HLS specifically, rather than sequence mode, simplifying the conditions. Sequence mode is typically only used with HLS, and X-TIMESTAMP-MAP is explicitly only for HLS. So excluding X-TIMESTAMP-MAP for DASH makes sense, instead of conflating HLS and sequence mode. This required updating some tests to explicitly set both the manifest type and sequence mode flag. This does *not* change the offset calculations themselves. Changes will be made in follow-up PRs. Issue #6320