fix(remote): load the server's first-listed cdm for a server-device option

This commit is contained in:
imSp4rky
2026-11-26 11:20:22 -07:00
parent cca547eba6
commit 251d1e779a
9 changed files with 109 additions and 12 deletions
+3 -1
View File
@@ -282,7 +282,9 @@ There are two ways DRM keys get resolved, chosen by the client's `server_cdm` fl
`server_cdm: false` when it creates the remote session, and the server builds the
service on your device even when the API key has the server CDM.
- A service option that the service lists in `SERVER_DEVICE_OPTIONS` keeps the server
CDM. The server reads the option from `service_params`, or from the top level of
CDM, and the service gets the server's device whatever device you have. From a server
`cdm` entry with a device for both DRM systems, it gets the device that the entry
lists first. The server reads the option from `service_params`, or from the top level of
a request that has no `service_params`. The create response gives the result in
`server_cdm`, and the client shows a warning when the server did not apply its choice.
- The service on the server sees your device, not the server's: its DRM system,