WidevineConfig
Configures decryption of a Widevine DRM protected Source.
Constructors
Link copied to clipboard
constructor(licenseUrl: String?, httpHeaders: Map<String?, String?>? = null, isLicenseRenewable: Boolean = true, shouldKeepDrmSessionsAlive: Boolean = false, preferredSecurityLevel: String? = null, prepareMessageCallback: PrepareMessageCallback? = null, prepareLicenseCallback: PrepareLicenseCallback? = null)
constructor(licenseUrl: String?, httpHeaders: Map<String?, String?>? = null, isLicenseRenewable: Boolean = true, shouldKeepDrmSessionsAlive: Boolean = false, preferredSecurityLevel: String? = null, prepareMessageCallback: PrepareMessageCallback? = null, prepareLicenseCallback: PrepareLicenseCallback? = null, drmSessionKeepaliveMs: Long?)
Creates a Widevine configuration with a custom DRM session keepalive duration. See DrmConfig.drmSessionKeepaliveMs for details.
Properties
Link copied to clipboard
The preferred security level as a String. If set to null, the player will choose a fitting security level. The default value is null.
Link copied to clipboard
Sets the PrepareLicenseCallback. The default value is null.
Link copied to clipboard
The PrepareMessageCallback. The default value is null.