forked from DRMTalks/devine
Support HLS's EXT-X-KEY NONE
If EXT-X-KEY of Method=NONE is encountered, it assumes no DRM should be used, even if other supported DRM may have already been or is going to be iterated.
This commit is contained in:
parent
7025b5cef3
commit
c3f2d0d9cc
|
@ -206,6 +206,8 @@ class HLS:
|
||||||
if not key:
|
if not key:
|
||||||
continue
|
continue
|
||||||
# TODO: Add checks for Merlin, FairPlay, PlayReady, maybe more.
|
# TODO: Add checks for Merlin, FairPlay, PlayReady, maybe more.
|
||||||
|
if key.method == "NONE":
|
||||||
|
return []
|
||||||
if key.method == "AES-128":
|
if key.method == "AES-128":
|
||||||
drm.append(ClearKey.from_m3u_key(key))
|
drm.append(ClearKey.from_m3u_key(key))
|
||||||
elif key.method == "ISO-23001-7":
|
elif key.method == "ISO-23001-7":
|
||||||
|
|
Loading…
Reference in New Issue