feat(drm): decrypt plugin segments as they land on the fetch_segments decrypter seam

This commit is contained in:
imSp4rky
2026-12-03 15:51:42 -07:00
parent e9adc50594
commit f1f91a7d5c
14 changed files with 309 additions and 84 deletions
+4
View File
@@ -231,6 +231,10 @@ 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.
A DRM plugin that decrypts each segment does so as the segments arrive, whatever this option
and `decryption` say, on an HLS track with no `EXT-X-DISCONTINUITY`. The plugin then runs its
fix on the merged file once.
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.