fix(drm): stop a bridged FairPlay track whose server-CDM answer or licence key does not decrypt it

This commit is contained in:
imSp4rky
2026-12-01 21:07:27 -07:00
parent ed6ed02033
commit cefd5295ac
15 changed files with 350 additions and 25 deletions
+3
View File
@@ -314,11 +314,14 @@ class LicenseReply(TypedDict, total=False):
``keys`` maps KID to content key for one ``track_id``, and track id to that map for ``track_ids``. A capped
track gets no content keys: ``capped_tracks`` holds its refusal details, ``reason`` and ``max_height``.
``file_keys`` maps track id to the content key the server licensed for a track's whole-file cipher.
``bridge_kids`` maps the id of a FairPlay-only track that the server licensed through the bridge to the KIDs of
its init segments.
"""
license: str | None
keys: dict[str, Any]
file_keys: dict[str, str]
bridge_kids: dict[str, list[str]]
vault_keys: list[str]
clear_tracks: list[str]
drm_type: str