forked from kenzuya/unshackle
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:
@@ -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: |
|
||||
|
||||
Reference in New Issue
Block a user