feat(remote): match the server CDM to the client's DRM and read vaults first

A dual widevine/playready cdm entry now loads the device of the client's DRM system, for old clients too since they already send cdm_type. A new client hands a capped track to its own device for the track's DRM system, and raises the refusal only after its local vaults miss.
This commit is contained in:
imSp4rky
2026-11-03 10:51:29 -07:00
parent b710b5b0c9
commit b6429ecdfd
12 changed files with 309 additions and 68 deletions
+4 -1
View File
@@ -1957,7 +1957,10 @@ async def session_create(request: web.Request) -> web.Response:
cdm_type:
type: string
enum: [widevine, playready]
description: DRM system of the client's local CDM; absent when the client has none
description: |
DRM system of the client's local CDM; absent when the client has none.
A server CDM session loads the device of this system when the server's
cdm entry for the service names both systems
cdm_security_level:
type: integer
description: |