Package-level declarations

Types

Link copied to clipboard
class PlayreadyServeConfig(val devices: Map<String, PlayreadyDevice>, val users: Map<String, PlayreadyServeUser>, val serverHeader: String = DEFAULT_SERVER_HEADER)

What a served PlayReady CDM offers and to whom.

Link copied to clipboard
class PlayreadyServeUser(val username: String, val devices: Set<String>)

A caller of the served CDM, and the devices they may use.

Functions

Link copied to clipboard
fun Route.ktprdCdm(config: PlayreadyServeConfig)

Serve a ktprd CDM over the HTTP protocol pyplayready serve defines, so that either client — ktprd-remote's RemotePlayreadyCdm or pyplayready's — can drive it.