- Add MonaLisaCDM class wrapping wasmtime for key extraction - Add MonaLisa DRM class with decrypt_segment() for per-segment decryption - Display Content ID and keys in download output (matching Widevine/PlayReady) - Add wasmtime dependency for WASM module execution
12 lines
351 B
Python
12 lines
351 B
Python
from typing import Union
|
|
|
|
from unshackle.core.drm.clearkey import ClearKey
|
|
from unshackle.core.drm.monalisa import MonaLisa
|
|
from unshackle.core.drm.playready import PlayReady
|
|
from unshackle.core.drm.widevine import Widevine
|
|
|
|
DRM_T = Union[ClearKey, Widevine, PlayReady, MonaLisa]
|
|
|
|
|
|
__all__ = ("ClearKey", "Widevine", "PlayReady", "MonaLisa", "DRM_T")
|