feat(remote): let a remote client license with its own device identity

Relay the service's CDM calls to the client, accept the service's allowed identity config (for example ESN/Kpe/Kph), add the server_vault grant and a lent server-device mode that reads keys only from vaults and returns no login cache. Also fixes the proxied certificate fetch, Base64 Widevine licences, an answered call that stayed pending and a missing default quality.
This commit is contained in:
imSp4rky
2026-09-25 12:32:49 -06:00
parent 174192882f
commit 69360d1b4c
19 changed files with 1244 additions and 69 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ class RollingMerge:
self.ready: dict[int, tuple[Path, Optional[Future]]] = {}
def add(self, index: int, segment_file: Path, future: Optional[Future] = None) -> None:
# ponytail: runs on the downloader's own loop, so a decrypt wait or a catch-up burst
# runs on the downloader's own loop, so a decrypt wait or a catch-up burst
# delays new submissions; move the drain to a writer thread if throughput measurably drops
self.ready[index] = (segment_file, future)
while self.cursor in self.ready: