DefaultTrackSelector, enable the DefaultTrackSelector.Parameters.forceHighestSupportedBitrate flag instead.@Deprecated public static final class FixedTrackSelection.Factory extends java.lang.Object implements TrackSelection.Factory
| Constructor and Description |
|---|
Factory()
Deprecated.
|
Factory(int reason,
java.lang.Object data)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
FixedTrackSelection |
createTrackSelection(TrackGroup group,
BandwidthMeter bandwidthMeter,
int... tracks)
Deprecated.
Creates a new selection.
|
public Factory()
public Factory(int reason,
@Nullable
java.lang.Object data)
reason - A reason for the track selection.data - Optional data associated with the track selection.public FixedTrackSelection createTrackSelection(TrackGroup group, BandwidthMeter bandwidthMeter, int... tracks)
TrackSelection.FactorycreateTrackSelection in interface TrackSelection.Factorygroup - The TrackGroup. Must not be null.bandwidthMeter - A BandwidthMeter which can be used to select tracks.tracks - The indices of the selected tracks within the TrackGroup. Must not be
null or empty. May be in any order.