forked from shaka-project/shaka-player
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Move sequence mode VTT offset calculations (shaka-project#6332
) 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 shaka-project#6320
- Loading branch information
1 parent
6c4333c
commit 4ae15c2
Showing
2 changed files
with
74 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters