Stream

data class Stream(val item: String, val streamUri: Uri, val streamTracks: List<StreamTrack>, val mimeType: String? = null, val isDashOrHls: Boolean = false)

A stream represents one actual video stream that is associated with a video. Each stream has its own URI (and therefore correspond to one individual video container). Each stream can contain multiple audio/video tracks.

Parameters

item

The item the stream belongs to.

streamUri

the URI of the stream.

streamTracks

the tracks that the stream contains

mimeType

The mime type of the stream. This may only be set if ExoPlayer might not be able to infer the type of of the stream from the Uri itself.

isDashOrHls

depicts wather its a dynamic stream or not.

Constructors

Link copied to clipboard
constructor(item: String, streamUri: Uri, streamTracks: List<StreamTrack>, mimeType: String? = null, isDashOrHls: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val isDashOrHls: Boolean = false
Link copied to clipboard
Link copied to clipboard

The list of audio languages provided by the stream.

Link copied to clipboard
val mimeType: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

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