feat(tracks): resume segment decryption and rolling merge through the segment store

This commit is contained in:
imSp4rky
2026-11-28 22:09:44 -07:00
parent f4d178c26b
commit 82991dd823
26 changed files with 1125 additions and 186 deletions
+2 -5
View File
@@ -229,11 +229,8 @@ tracks that use one init segment, one `EXT-X-KEY` and no `EXT-X-DISCONTINUITY`.
track keeps the whole-file decryption, and so does a track whose init segment mp4decrypt
cannot key by KID when no content key has that KID.
!!! note "No resume"
A track that decrypts segment by segment always downloads from the start.
[`continue_downloads`](download.md#continue_downloads) cannot reuse its segments, because a reused segment
is already decrypted.
With [`continue_downloads`](download.md#continue_downloads) on, a failed track keeps its
decrypted segments, and the next download reuses them when it has the same content key.
```yaml
decrypt_segments: true