RemoteCdm

constructor(client: HttpClient, baseUrl: String, deviceName: String, secret: String, expectedSystemId: Int? = null, expectedSecurityLevel: Int? = null)

Parameters

baseUrl

the server root, with or without a trailing slash

deviceName

the device the server should use, as named in its config

secret

the value sent as the X-Secret-Key header

expectedSystemId

if given, open rejects a server whose device reports a different Widevine system id

expectedSecurityLevel

if given, open rejects a server whose device reports a different security level