Package-level declarations

Types

Link copied to clipboard
class ServeConfig(val devices: Map<String, <Error class: unknown class>>, val users: Map<String, ServeUser>, val forcePrivacyMode: Boolean = false, val serverHeader: String = DEFAULT_SERVER_HEADER)

What a ktvineCdm route serves: which devices exist, and who may use them.

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

A caller of the serve API, identified by their secret key.

Functions

Link copied to clipboard
fun <Error class: unknown class>.ktvineCdm(config: ServeConfig)

Serve a ktvine CDM over the HTTP protocol pywidevine's serve command defines, so that either client — ktvine's RemoteCdm or pywidevine's — can drive it.