create
Creates an instance of InclusiveHEVCVideoSelectionOverride
Parameters
context
the android context
open fun create(trackGroups: TrackGroupArray, trackIndex: Int, parameters: Parameters): SelectionOverride
Creates a DefaultTrackSelector.SelectionOverride based on the TrackGroup and track index provided.
The TrackGroupArray can be retrieved by calling getTrackGroups.
Return
the Selection Override to be set to the DefaultTrackSelector
Parameters
track Groups
the Track Group Array from the current Video
track Index
the track index of the TrackGroupArray to be impacted.
parameters
it contains the TrackSelector parameters that can further constraint the SelectionOverride