feat(hls): license a FairPlay-only SAMPLE-AES playlist through a PlayReady or Widevine CDM

This commit is contained in:
imSp4rky
2026-11-30 19:36:01 -07:00
parent c41d8ec3cf
commit b826eccb86
9 changed files with 449 additions and 98 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ def ensure_track_drm(track: Any, session: Any = None, init_data: bytes | None =
if (track.data.get("hls") or getattr(track, "descriptor", None) is Track.Descriptor.HLS) and track.url:
try:
if track.load_drm_from_playlist(session):
if track.load_drm_from_playlist(session, bridge=True):
return
except Exception as e:
log.debug(f"HLS DRM prefetch failed for {track.id}: {e!r}")