SourceConfig
Creates a new SourceConfig for a given type.
constructor(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, liveConfig: SourceLiveConfig? = null)
Deprecated
Use `SourceConfig.fromUrl()` instead.
Replace with
SourceConfig.fromUrl(url)
Content copied to clipboard
Creates a new SourceConfig based on the provided url to a DASH, HLS, SMOOTH or Progressive MP4 source.
Deprecated
Passing an `AdaptiveSource` is deprecated. Use the `SourceType` to specify the source's type.
Replace with
SourceConfig(url, SourceType.Dash)
Content copied to clipboard
Deprecated
Passing a `ProgressiveSource` is deprecated. Use the `SourceType` to specify the source's type.
Replace with
SourceConfig(url, SourceType.Progressive)
Content copied to clipboard