refactor(tracks): fold segment resume into one segment store module

This commit is contained in:
imSp4rky
2026-11-28 19:21:05 -07:00
parent 5a2680d63d
commit 37357673fe
15 changed files with 633 additions and 368 deletions
+2 -1
View File
@@ -132,7 +132,8 @@ ranges must all match the previous download, or the download silently restarts c
download never make segment files, so this option does not apply to them (the
downloader has its own in-flight partial-file handling for those).
- HLS resumes Widevine/PlayReady and unencrypted titles only. An AES-128 title always
restarts. An HLS failure during the post-download merge step also restarts.
restarts. An HLS failure during the post-download merge step also restarts, and so does
a failure of a multi-period DASH WebVTT subtitle during its merge step.
- A track downloaded with [`merge_segments`](#merge_segments) or
[`decrypt_segments`](drm.md#decrypt_segments) never resumes. Both options consume
or rewrite the segment files during the download.