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
+1 -1
View File
@@ -198,7 +198,7 @@ def server(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> SimpleNamespace:
async def validated(session_id: str, request: Any) -> Any:
return entry
def ensure(track: Any, session: Any = None, init_data: Any = None) -> None:
def ensure(track: Any, session: Any = None, init_data: Any = None, bridge: bool = False) -> None:
ensured.append(track.id)
track.drm = [SimpleNamespace(kids=[LATE])]