Package com.google.android.exoplayer2.trackselection
-
Interface Summary Interface Description ExoTrackSelection ATrackSelection
that can change the individually selected track as a result of callingExoTrackSelection.updateSelectedTrack(long, long, long, List, MediaChunkIterator[])
orExoTrackSelection.evaluateQueueSize(long, List)
.ExoTrackSelection.Factory Factory forExoTrackSelection
instances.TrackSelection A track selection consisting of a static subset of selected tracks belonging to aTrackGroup
.TrackSelectionUtil.AdaptiveTrackSelectionFactory Functional interface to create a single adaptive track selection.TrackSelector.InvalidationListener Notified when selections previously made by aTrackSelector
are no longer valid. -
Class Summary Class Description AdaptiveTrackSelection A bandwidth based adaptiveExoTrackSelection
, whose selected track is updated to be the one of highest quality given the current network conditions and the state of the buffer.AdaptiveTrackSelection.AdaptationCheckpoint Checkpoint to determine allocated bandwidth.AdaptiveTrackSelection.Factory Factory forAdaptiveTrackSelection
instances.BaseTrackSelection An abstract base class suitable for mostExoTrackSelection
implementations.DefaultTrackSelector A defaultTrackSelector
suitable for most use cases.DefaultTrackSelector.AudioTrackScore Represents how well an audio track matches the selectionDefaultTrackSelector.Parameters
.DefaultTrackSelector.OtherTrackScore Represents how well any other track (non video, audio or text) matches the selectionDefaultTrackSelector.Parameters
.DefaultTrackSelector.Parameters ExtendsDefaultTrackSelector.Parameters
by adding fields that are specific toDefaultTrackSelector
.DefaultTrackSelector.ParametersBuilder A builder forDefaultTrackSelector.Parameters
.DefaultTrackSelector.SelectionOverride A track selection override.DefaultTrackSelector.TextTrackScore Represents how well a text track matches the selectionDefaultTrackSelector.Parameters
.DefaultTrackSelector.VideoTrackScore Represents how well a video track matches the selectionDefaultTrackSelector.Parameters
.ExoTrackSelection.Definition Contains of a subset of selected tracks belonging to aTrackGroup
.FixedTrackSelection ATrackSelection
consisting of a single track.MappingTrackSelector Base class forTrackSelector
s that first establish a mapping betweenTrackGroup
s andRenderer
s, and then from that mapping create aExoTrackSelection
for each renderer.MappingTrackSelector.MappedTrackInfo Provides mapped track information for each renderer.RandomTrackSelection AnExoTrackSelection
whose selected track is updated randomly.RandomTrackSelection.Factory Factory forRandomTrackSelection
instances.TrackSelectionArray An array ofTrackSelection
s.TrackSelectionOverrides Forces the selection of the specified tracks inTrackGroups
.TrackSelectionOverrides.Builder Builder forTrackSelectionOverrides
.TrackSelectionOverrides.TrackSelectionOverride Forces the selection ofTrackSelectionOverrides.TrackSelectionOverride.trackIndices
for aTrackGroup
.TrackSelectionParameters Constraint parameters for track selection.TrackSelectionParameters.Builder A builder forTrackSelectionParameters
.TrackSelectionUtil Track selection related utility methods.TrackSelector TrackSelectorResult The result of aTrackSelector
operation. -
Annotation Types Summary Annotation Type Description TrackSelection.Type Represents a type track selection.