BrightcoveMediaDrmCallback

Provides a base implementation of Media DRM callback handler that can be used as a concrete implementation specific to ExoPlayer and the Widevine CDM.

Author

rsubramaniam

Properties

Link copied to clipboard
val DEFAULT_URL: String = "defaultUrl"
The name of the property in the video properties map that specified the default URL to the DRM license service that should be used if the request does not include a URL.
Link copied to clipboard
val HEADER_KEY_CONTENT_TYPE: String = "Content-Type"
The constant value for the "Content-Type" header
Link copied to clipboard
val MAP_KEY_DRM_INFO: String = "drm_info"
The constant value for the byte array key when modifying the license request body
Link copied to clipboard
Optional request headers to be passed to the license key request.

Functions

Link copied to clipboard
open fun addOptionalHeaders(optionalHeaders: Map<String, String>)
Adds the optional request headers that must be passed to the license key request.
Link copied to clipboard
open fun setOptionalRequestData(requestDataMap: Map<String, Any>)
Sets the optional request body data that will be passed to the license key request.