VideoTrack

data class VideoTrack(val level: Int, val text: String, val width: Int?, val height: Int?, val rendererIndex: Int, val trackGroupIndex: Int, val index: Int) : BaseTrack, Parcelable

Model class for a video track.

Constructors

Link copied to clipboard
constructor(level: Int, text: String, width: Int?, height: Int?, rendererIndex: Int, trackGroupIndex: Int, index: Int)

Properties

Link copied to clipboard
val height: Int?
Link copied to clipboard
open override val index: Int

Index for this track within its trackGroup.

Link copied to clipboard
val level: Int
Link copied to clipboard
open override val rendererIndex: Int

Index for the renderer that handles this track.

Link copied to clipboard
Link copied to clipboard
open override val trackGroupIndex: Int

Index for the trackGroup this track belongs to, relative to all the avaiable track groups.

Link copied to clipboard
open override val type: Int

androidx.media3.common.C track type associated with this track.

Link copied to clipboard
val width: Int?