| Interface | Description |
|---|---|
| CompositeSequenceableLoaderFactory |
A factory to create composite
SequenceableLoaders. |
| DefaultMediaSourceFactory.AdsLoaderProvider |
Provides
AdsLoader instances for media items that have ad tag URIs. |
| ExtractorMediaSource.EventListener | Deprecated.
Use
MediaSourceEventListener instead. |
| MaskingMediaPeriod.PrepareListener |
Listener for preparation events.
|
| MediaPeriod |
Loads media corresponding to a
Timeline.Period, and allows that media to be read. |
| MediaPeriod.Callback |
A callback to be notified of
MediaPeriod events. |
| MediaSource |
Defines and provides media to be played by an
ExoPlayer. |
| MediaSource.MediaSourceCaller |
A caller of media sources, which will be notified of source events.
|
| MediaSourceEventListener |
Interface for callbacks to be notified of
MediaSource events. |
| MediaSourceFactory |
Factory for creating
MediaSources from URIs. |
| SampleQueue.UpstreamFormatChangedListener |
A listener for changes to the upstream format.
|
| SampleStream |
A stream of media samples (and associated format information).
|
| SequenceableLoader |
A loader that can proceed in approximate synchronization with other loaders.
|
| SequenceableLoader.Callback<T extends SequenceableLoader> |
A callback to be notified of
SequenceableLoader events. |
| ShuffleOrder |
Shuffled order of indices.
|
| Class | Description |
|---|---|
| BaseMediaSource |
Base
MediaSource implementation to handle parallel reuse and to keep a list of MediaSourceEventListeners. |
| ClippingMediaPeriod |
Wraps a
MediaPeriod and clips its SampleStreams to provide a subsequence of their
samples. |
| ClippingMediaSource |
MediaSource that wraps a source and clips its timeline based on specified start/end
positions. |
| CompositeMediaSource<T> |
Composite
MediaSource consisting of multiple child sources. |
| CompositeSequenceableLoader |
A
SequenceableLoader that encapsulates multiple other SequenceableLoaders. |
| ConcatenatingMediaSource |
Concatenates multiple
MediaSources. |
| DefaultCompositeSequenceableLoaderFactory |
Default implementation of
CompositeSequenceableLoaderFactory. |
| DefaultMediaSourceEventListener | Deprecated.
Use
MediaSourceEventListener interface directly for selective overrides as
all methods are implemented as no-op default methods. |
| DefaultMediaSourceFactory |
The default
MediaSourceFactory implementation. |
| EmptySampleStream |
An empty
SampleStream. |
| ExtractorMediaSource | Deprecated.
Use
ProgressiveMediaSource instead. |
| ExtractorMediaSource.Factory | Deprecated.
Use
ProgressiveMediaSource.Factory instead. |
| ForwardingTimeline |
An overridable
Timeline implementation forwarding all methods to another timeline. |
| LoadEventInfo |
MediaSource load event information. |
| LoopingMediaSource |
Loops a
MediaSource a specified number of times. |
| MaskingMediaPeriod |
Media period that defers calling
MediaSource.createPeriod(MediaPeriodId, Allocator, long)
on a given source until MaskingMediaPeriod.createPeriod(MediaPeriodId) has been called. |
| MaskingMediaSource |
A
MediaSource that masks the Timeline with a placeholder until the actual media
structure is known. |
| MaskingMediaSource.PlaceholderTimeline |
A timeline with one dynamic window with a period of indeterminate duration.
|
| MediaLoadData |
Descriptor for data being loaded or selected by a media source.
|
| MediaPeriodId |
Identifies a specific playback of a
Timeline.Period. |
| MediaSource.MediaPeriodId |
Identifier for a
MediaPeriod. |
| MediaSourceEventListener.EventDispatcher |
Dispatches events to
MediaSourceEventListeners. |
| MergingMediaSource |
Merges multiple
MediaSources. |
| ProgressiveMediaSource | |
| ProgressiveMediaSource.Factory |
Factory for
ProgressiveMediaSources. |
| SampleQueue |
A queue of media samples.
|
| ShuffleOrder.DefaultShuffleOrder |
The default
ShuffleOrder implementation for random shuffle order. |
| ShuffleOrder.UnshuffledShuffleOrder |
A
ShuffleOrder implementation which does not shuffle. |
| SilenceMediaSource |
Media source with a single period consisting of silent raw audio of a given duration.
|
| SilenceMediaSource.Factory |
Factory for
SilenceMediaSources. |
| SinglePeriodTimeline |
A
Timeline consisting of a single period and static window. |
| SingleSampleMediaSource |
Loads data at a given
Uri as a single sample belonging to a single MediaPeriod. |
| SingleSampleMediaSource.Factory |
Factory for
SingleSampleMediaSource. |
| TrackGroup |
Defines an immutable group of tracks identified by their format identity.
|
| TrackGroupArray |
An immutable array of
TrackGroups. |
| Exception | Description |
|---|---|
| BehindLiveWindowException |
Thrown when a live playback falls behind the available media window.
|
| ClippingMediaSource.IllegalClippingException |
Thrown when a
ClippingMediaSource cannot clip its wrapped source. |
| MergingMediaSource.IllegalMergeException |
Thrown when a
MergingMediaSource cannot merge its sources. |
| UnrecognizedInputFormatException |
Thrown if the input format was not recognized.
|
| Annotation Type | Description |
|---|---|
| ClippingMediaSource.IllegalClippingException.Reason |
The reason clipping failed.
|
| MergingMediaSource.IllegalMergeException.Reason |
The reason the merge failed.
|
| SampleStream.ReadDataResult |
Return values of
SampleStream.readData(FormatHolder, DecoderInputBuffer, boolean). |