prepareLicense

abstract fun prepareLicense(licenseResponse: Array<Byte>): Array<Byte>

Gets called with the response returned by the DRM license server for the DRM license request. Is needed forcustom Widevine servers where not only the license itself is responded, but instead the license is e.g.wrapped in an JSON object.

Return

The license itself. If applicable, may be the same array as the input array.

Parameters

licenseResponse

The license response from the license server.