Companion

object Companion

Properties

Link copied to clipboard

Service certificate of Google's production license server (license.google.com). Not reachable directly, but many services proxy to it.

Link copied to clipboard
const val MAX_NUM_OF_SESSIONS: Int = 16

Maximum number of concurrently open sessions.

Link copied to clipboard

A serialized SignedMessage(SERVICE_CERTIFICATE_REQUEST). POST this to a license server to obtain its service certificate for privacy mode.

Link copied to clipboard

Service certificate of Google's staging license server (staging.google.com), reachable without auth at https://cwip-shaka-proxy.appspot.com/no_auth

Functions

Link copied to clipboard
fun fromDevice(device: Device): Cdm

Create a Cdm instance from a Device.

Link copied to clipboard
suspend fun unwrapEntitledKeys(entitlementKeys: List<Key>, entitledPssh: PSSH): List<Key>

Unwrap the content keys carried by an ENTITLED_KEY PSSH using entitlementKeys.