Source Config
open class SourceConfig(url: String, type: SourceType, title: String?, description: String?, posterSource: String?, isPosterPersistent: Boolean, subtitleTracks: List<SubtitleTrack>, thumbnailTrack: ThumbnailTrack?, drmConfig: DrmConfig?, labelingConfig: LabelingConfig, vrConfig: VrConfig, videoCodecPriority: List<String>, audioCodecPriority: List<String>, options: SourceOptions, metadata: Map<String, String>?) : Parcelable
Content copied to clipboard
Constructors
SourceConfig
Link copied to clipboard
Creates a new SourceConfig for a given type.
SourceConfig
Link copied to clipboard
Creates a new SourceConfig based on the provided url to a DASH, HLS, SMOOTH or Progressive MP4 source.
SourceConfig
Link copied to clipboard
SourceConfig
Link copied to clipboard
SourceConfig
Link copied to clipboard
fun SourceConfig(url: String, type: SourceType, title: String? = null, description: String? = null, posterSource: String? = null, isPosterPersistent: Boolean = false, subtitleTracks: List<SubtitleTrack> = emptyList(), thumbnailTrack: ThumbnailTrack? = null, drmConfig: DrmConfig? = null, labelingConfig: LabelingConfig = LabelingConfig(), vrConfig: VrConfig = VrConfig(), videoCodecPriority: List<String> = emptyList(), audioCodecPriority: List<String> = emptyList(), options: SourceOptions = SourceOptions(), metadata: Map<String, String>? = null)
Content copied to clipboard
Types
Properties
audioCodecPriority
Link copied to clipboard
The audio codec priority for the Source.
dashSource
Link copied to clipboard
description
Link copied to clipboard
drmConfigs
Link copied to clipboard
isPosterPersistent
Link copied to clipboard
labelingConfig
Link copied to clipboard
options
Link copied to clipboard
posterSource
Link copied to clipboard
progressiveSource
Link copied to clipboard
smoothSource
Link copied to clipboard
subtitleTracks
Link copied to clipboard
thumbnailTrack
Link copied to clipboard
type
Link copied to clipboard
videoCodecPriority
Link copied to clipboard
The video codec priority for the Source.
Functions
addDrmConfig
Link copied to clipboard
addSubtitleTrack
Link copied to clipboard
fun addSubtitleTrack(url: String?, label: String?, id: String, isDefault: Boolean, language: String?): SubtitleTrack
Content copied to clipboard
fun addSubtitleTrack(url: String?, mimeType: String?, label: String?, id: String, isDefault: Boolean, language: String?): SubtitleTrack
Content copied to clipboard
getDrmConfig
Link copied to clipboard
setPosterImage
Link copied to clipboard
setThumbnailTrack
Link copied to clipboard
Inherited functions
Inheritors
OfflineSourceConfig
Link copied to clipboard