DrmExtractorLink
Class holds extracted DRM media info to be passed to the player.
Constructors
Link copied to clipboard
constructor( source: String, name: String, url: String, referer: String? = null, quality: Int? = null, type: ExtractorLinkType? = INFER_TYPE, headers: Map<String, String> = mapOf(), extractorData: String? = null, kid: String? = null, key: String? = null, uuid: UUID = CLEARKEY_UUID, kty: String? = "oct", keyRequestParameters: HashMap<String, String> = hashMapOf(), licenseUrl: String? = null)
constructor( source: String, name: String, url: String, referer: String, quality: Int, type: ExtractorLinkType?, headers: Map<String, String> = mapOf(), extractorData: String? = null, kid: String? = null, key: String? = null, uuid: UUID = CLEARKEY_UUID, kty: String? = "oct", keyRequestParameters: HashMap<String, String> = hashMapOf(), licenseUrl: String? = null)
Properties
Link copied to clipboard
Used for getExtractorVerifierJob()
Link copied to clipboard
Parameters that will used to request the key.
Link copied to clipboard
Link copied to clipboard
the type of the media, use INFER_TYPE if you want to auto infer the type from the url
Link copied to clipboard
Drm UUID WIDEVINE_UUID, PLAYREADY_UUID, CLEARKEY_UUID (by default) .. etc