Package com.google.android.exoplayer2.trackselection
-
Interface Summary Interface Description ExoTrackSelection ATrackSelectionthat can change the individually selected track as a result of callingExoTrackSelection.updateSelectedTrack(long, long, long, List, MediaChunkIterator[])orExoTrackSelection.evaluateQueueSize(long, List).ExoTrackSelection.Factory Factory forExoTrackSelectioninstances.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 aTrackSelectorare 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 forAdaptiveTrackSelectioninstances.BaseTrackSelection An abstract base class suitable for mostExoTrackSelectionimplementations.DefaultTrackSelector A defaultTrackSelectorsuitable 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.Parametersby 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 ATrackSelectionconsisting of a single track.MappingTrackSelector Base class forTrackSelectors that first establish a mapping betweenTrackGroups andRenderers, and then from that mapping create aExoTrackSelectionfor each renderer.MappingTrackSelector.MappedTrackInfo Provides mapped track information for each renderer.RandomTrackSelection AnExoTrackSelectionwhose selected track is updated randomly.RandomTrackSelection.Factory Factory forRandomTrackSelectioninstances.TrackSelectionArray An array ofTrackSelections.TrackSelectionOverrides Forces the selection of the specified tracks inTrackGroups.TrackSelectionOverrides.Builder Builder forTrackSelectionOverrides.TrackSelectionOverrides.TrackSelectionOverride Forces the selection ofTrackSelectionOverrides.TrackSelectionOverride.trackIndicesfor aTrackGroup.TrackSelectionParameters Constraint parameters for track selection.TrackSelectionParameters.Builder A builder forTrackSelectionParameters.TrackSelectionUtil Track selection related utility methods.TrackSelector TrackSelectorResult The result of aTrackSelectoroperation. -
Annotation Types Summary Annotation Type Description TrackSelection.Type Represents a type track selection.