LazyHlsDownloadData

data class LazyHlsDownloadData(encryptionData: ByteArray, encryptionIv: ByteArray, val isEncrypted: Boolean, val allTsLinks: List<M3u8Helper2.TsLink>, val relativeUrl: String, val headers: Map<String, String>)(source)

Constructors

Link copied to clipboard
constructor(encryptionData: ByteArray, encryptionIv: ByteArray, isEncrypted: Boolean, allTsLinks: List<M3u8Helper2.TsLink>, relativeUrl: String, headers: Map<String, String>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
suspend fun resolveLink(index: Int): ByteArray
Link copied to clipboard
suspend fun resolveLinkSafe(index: Int, tries: Int = 3, failDelay: Long = 3000): ByteArray?
Link copied to clipboard
suspend fun resolveLinkWhileSafe(index: Int, tries: Int = 3, failDelay: Long = 3000, condition: () -> Boolean): ByteArray?