DashWidevineLicenseHandler

Dash/Widevine specific LicenseHandler implementation.

Constructors

Link copied to clipboard
constructor(drmDelegate: DRMDelegate, logger: Logger)

Creates LicenseHandler instance to handle Dash/Widevine content type.

Functions

Link copied to clipboard
open suspend override fun downloadLicense(downloadRequest: DownloadRequest, downloadHelper: DownloadHelper): ByteArray

Attempts to download a license.

Link copied to clipboard
open suspend override fun purgeLicense(download: Download): Result<Unit, Error>

Purges the license for a given download asset.

Link copied to clipboard
open suspend override fun renewLicense(download: Download): Result<ByteArray, Error>

Renews the license for a given download asset.

Link copied to clipboard
open suspend override fun requestLicenseInfo(download: Download): Result<LicenseInfo, Error>

Requests the license info for a given download asset.