DownloadStreamPreference

data class DownloadStreamPreference(val preferredVideoVariant: TrackVariantInfo = TrackVariantInfo.videoBuilder().bitRate(BITRATE_UNKNOWN).build(), val preferredAudioVariants: Array<TrackVariantInfo> = emptyArray(), val preferredTextVariants: Array<TrackVariantInfo> = emptyArray())

Download stream preferred variants.

Constructors

Link copied to clipboard
constructor(preferredVideoVariant: TrackVariantInfo = TrackVariantInfo.videoBuilder().bitRate(BITRATE_UNKNOWN).build(), preferredAudioVariants: Array<TrackVariantInfo> = emptyArray(), preferredTextVariants: Array<TrackVariantInfo> = emptyArray())

Properties

Link copied to clipboard

audio track variants to use for the download stream.

Link copied to clipboard

text track variants to use for the download stream.

Link copied to clipboard

The video track variant to use for the download stream.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int