androidx.media3.exoplayer


Interfaces

ExoPlayer

An extensible media player that plays MediaSources.

ExoPlayer.AudioComponent

This interface is deprecated.

Use ExoPlayer, as all methods are defined by that interface.

ExoPlayer.AudioOffloadListener

A listener for audio offload events.

ExoPlayer.DeviceComponent

This interface is deprecated.

Use Player, as all methods are defined by that interface.

ExoPlayer.TextComponent

This interface is deprecated.

Use Player, as all methods are defined by that interface.

ExoPlayer.VideoComponent

This interface is deprecated.

Use ExoPlayer, as all methods are defined by that interface.

LivePlaybackSpeedControl

Controls the playback speed while playing live content in order to maintain a steady target live offset.

LoadControl

Controls buffering of media.

MediaClock

Tracks the progression of media time.

PlayerMessage.Sender

A sender for messages.

PlayerMessage.Target

A target for messages.

Renderer

Renders media read from a SampleStream.

Renderer.WakeupListener

Some renderers can signal when render should be called.

RendererCapabilities

Defines the capabilities of a Renderer.

RendererCapabilities.Listener

Listener for renderer capabilities events.

RendererCapabilitiesList

A list of RendererCapabilities.

RendererCapabilitiesList.Factory

A factory for RendererCapabilitiesList instances.

RenderersFactory

Builds Renderer instances for use by an ExoPlayer.

Classes

AbstractConcatenatedTimeline

Abstract base class for the concatenation of one or more Timelines.

BaseRenderer

An abstract base class suitable for most Renderer implementations.

DecoderCounters

Maintains decoder event counts, for debugging purposes only.

DecoderReuseEvaluation

The result of an evaluation to determine whether a decoder can be reused for a new input format.

DefaultLivePlaybackSpeedControl

A LivePlaybackSpeedControl that adjusts the playback speed using a proportional controller.

DefaultLivePlaybackSpeedControl.Builder

Builder for a DefaultLivePlaybackSpeedControl.

DefaultLoadControl

The default LoadControl implementation.

DefaultLoadControl.Builder

Builder for DefaultLoadControl.

DefaultRendererCapabilitiesList

The default RendererCapabilitiesList implementation.

DefaultRendererCapabilitiesList.Factory

Factory for DefaultRendererCapabilitiesList.

DefaultRenderersFactory

Default RenderersFactory implementation.

ExoPlayer.Builder

A builder for ExoPlayer instances.

ExoPlayer.PreloadConfiguration

Configuration options for preloading playlist items.

FormatHolder

Holds a Format.

ForwardingRenderer

An overridable Renderer implementation forwarding all methods to another renderer.

LoadControl.Parameters

Information about the current playback context and the MediaPeriod for which methods are called.

LoadingInfo

Information about the player state when loading is started or continued.

LoadingInfo.Builder

A builder for LoadingInfo instances.

MediaExtractorCompat

A drop-in replacement for MediaExtractor that provides similar functionality, based on the media3.extractor logic.

MetadataRetriever

Retrieves the static metadata of MediaItems.

NoSampleRenderer

A Renderer implementation whose track type is TRACK_TYPE_NONE and does not consume data from its SampleStream.

PlayerMessage

Defines a player message which can be sent with a Sender and received by a .

RendererConfiguration

The configuration of a Renderer.

SeekParameters

Parameters that apply to seeking.

SimpleExoPlayer

This class is deprecated.

Use ExoPlayer instead.

SimpleExoPlayer.Builder

This class is deprecated.

Use ExoPlayer.Builder instead.

StandaloneMediaClock

A MediaClock whose position advances with real time based on the playback parameters when started.

Exceptions

ExoPlaybackException

Thrown when a non locally recoverable playback failure occurs.

ExoTimeoutException

A timeout of an operation on the ExoPlayer playback thread.

Annotations

DecoderReuseEvaluation.DecoderDiscardReasons

Possible reasons why reuse is not possible.

DecoderReuseEvaluation.DecoderReuseResult

Possible outcomes of the evaluation.

DefaultRenderersFactory.ExtensionRendererMode

Modes for using extension renderers.

ExoPlaybackException.Type

The type of source that produced the error.

ExoTimeoutException.TimeoutOperation

The operation which produced the timeout error.

MediaExtractorCompat.SeekMode

The seeking mode.

Renderer.MessageType

Represents a type of message that can be passed to a renderer.

Renderer.State

The renderer states.

RendererCapabilities.AdaptiveSupport

Level of renderer support for adaptive format switches.

RendererCapabilities.AudioOffloadSupport

Level of renderer support for audio offload.

RendererCapabilities.Capabilities

Combined renderer capabilities.

RendererCapabilities.DecoderSupport

Level of decoder support.

RendererCapabilities.HardwareAccelerationSupport

Level of renderer support for hardware acceleration.

RendererCapabilities.TunnelingSupport

Level of renderer support for tunneling.