Http

data class Http(val request: NetworkRequest, val type: Streamable.SourceType = SourceType.Progressive, val decryption: Streamable.Decryption? = null, val quality: Int = 0, val title: String? = null, val isVideo: Boolean = false, val isLive: Boolean = false) : Streamable.Source

A data class representing a source that contains Audio/Video on a Http Url.

Parameters

isLive

If true, will prevent caching of the source

See also

Constructors

Link copied to clipboard
constructor(request: NetworkRequest, type: Streamable.SourceType = SourceType.Progressive, decryption: Streamable.Decryption? = null, quality: Int = 0, title: String? = null, isVideo: Boolean = false, isLive: Boolean = false)

Properties

Link copied to clipboard

The decryption for the source

Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val isLive: Boolean = false
Link copied to clipboard
open override val isVideo: Boolean = false
Link copied to clipboard
open override val quality: Int = 0

The quality of the source, this is used to sort the sources

Link copied to clipboard

The request for the source

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

The title of the source

Link copied to clipboard

The type of the source

Functions

Link copied to clipboard