RemotePlayreadyCdm

constructor(client: HttpClient, baseUrl: String, deviceName: String, secret: String, 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

expectedSecurityLevel

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