mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-04 06:55:09 +00:00
feat(drm): decrypt plugin segments as they land on the fetch_segments decrypter seam
This commit is contained in:
@@ -138,6 +138,7 @@ def test_a_mode_that_cannot_resume_withdraws_the_sidecar(tmp_path, keep):
|
||||
(Video.Descriptor.HLS, DownloadMode(aes128=True), False),
|
||||
(Video.Descriptor.HLS, DownloadMode(drm=ClearKeyCENC(kids=[KID])), False),
|
||||
(Video.Descriptor.HLS, DownloadMode(drm=ClearKey(key=bytes(16))), False),
|
||||
(Video.Descriptor.HLS, DownloadMode(segment_keys=KEY_ARGS, drm=ClearKey(key=bytes(16))), True),
|
||||
],
|
||||
ids=[
|
||||
"dash",
|
||||
@@ -154,6 +155,7 @@ def test_a_mode_that_cannot_resume_withdraws_the_sidecar(tmp_path, keep):
|
||||
"hls-aes128",
|
||||
"hls-clearkey-cenc",
|
||||
"hls-clearkey",
|
||||
"hls-segment-decrypt-other-drm",
|
||||
],
|
||||
)
|
||||
def test_resume_verdict(tmp_path, keep, descriptor, mode, resumable):
|
||||
|
||||
Reference in New Issue
Block a user