feat(drm): bridge a FairPlay-only HLS track only for a service with get_fairplay_bridge_license

This commit is contained in:
imSp4rky
2026-12-01 21:07:26 -07:00
parent e36236d5cc
commit 2097d31a0a
38 changed files with 607 additions and 77 deletions
@@ -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>"