M3u8Helper2

Types

Link copied to clipboard
data class LazyHlsDownloadData(encryptionData: ByteArray, encryptionIv: ByteArray, val isEncrypted: Boolean, val allTsLinks: List<M3u8Helper2.TsLink>, val relativeUrl: String, val headers: Map<String, String>)
Link copied to clipboard
data class TsLink(val url: String, val time: Double?)

Functions

Link copied to clipboard
suspend fun generateM3u8(source: String, streamUrl: String, referer: String, quality: Int? = null, headers: Map<String, String> = mapOf(), name: String = source): List<ExtractorLink>
Link copied to clipboard
fun getDecrypted(secretKey: ByteArray, data: ByteArray, iv: ByteArray = byteArrayOf(), index: Int): ByteArray
Link copied to clipboard
suspend fun hslLazy(qualities: List<M3u8Helper.M3u8Stream>, selectBest: Boolean = true): M3u8Helper2.LazyHlsDownloadData
Link copied to clipboard
suspend fun m3u8Generation(m3u8: M3u8Helper.M3u8Stream, returnThis: Boolean? = true): List<M3u8Helper.M3u8Stream>