mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-02 05:55:08 +00:00
feat(drm): bridge a FairPlay-only HLS track only for a service with get_fairplay_bridge_license
This commit is contained in:
@@ -54,6 +54,9 @@ class PsshService:
|
||||
def __init__(self) -> None:
|
||||
self.calls: list[dict[str, Any]] = []
|
||||
|
||||
def fairplay_bridge(self) -> None:
|
||||
return None
|
||||
|
||||
def get_playready_license(self, *, challenge: str, title: Any, track: Any, pssh_b64: str | None = None) -> str:
|
||||
self.calls.append({"challenge": challenge, "pssh_b64": pssh_b64})
|
||||
return "<License>x</License>"
|
||||
|
||||
Reference in New Issue
Block a user