Source
data class Source(val url: String, val protocol: MediaConfig.Protocol, val type: String? = null, val drm: MediaConfig.DrmInfo? = null)
Support sources include DASH and HLS protocol
Limitation: Only supports non-drm HLS for now.
Constructors
Link copied to clipboard
constructor(url: String, protocol: MediaConfig.Protocol, type: String? = null, drm: MediaConfig.DrmInfo? = null)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun copy(url: String, protocol: MediaConfig.Protocol, type: String? = null, drm: MediaConfig.DrmInfo? = null): MediaConfig.Source