DrmExtractorLink

Constructors

Link copied to clipboard
constructor(source: String, name: String, url: String, referer: String, quality: Int, type: ExtractorLinkType?, headers: Map<String, String> = mapOf(), extractorData: String? = null, kid: String, key: String, uuid: UUID = CLEARKEY_UUID, kty: String = "oct", keyRequestParameters: HashMap<String, String> = hashMapOf())

Properties

Link copied to clipboard
open override val extractorData: String? = null

Used for getExtractorVerifierJob()

Link copied to clipboard
open override val headers: Map<String, String>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val key: String
Link copied to clipboard
Link copied to clipboard
open val kid: String
Link copied to clipboard
open val kty: String
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val quality: Int
Link copied to clipboard
open override val referer: String
Link copied to clipboard
open override val source: String
Link copied to clipboard
open override val type: ExtractorLinkType
Link copied to clipboard
open override val url: String
Link copied to clipboard
open val uuid: UUID

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun getVideoSize(timeoutSeconds: Long = 3): Long?

Get video size in bytes with one head request. Only available for ExtractorLinkType.Video

Link copied to clipboard
open override fun toString(): String