androidx.media3.exoplayer.source.chunk


Interfaces

ChunkExtractor

Extracts samples and track Formats from chunks.

ChunkExtractor.Factory

Creates ChunkExtractor instances.

ChunkExtractor.TrackOutputProvider

Provides TrackOutput instances to be written to during extraction.

ChunkSampleStream.ReleaseCallback

A callback to be notified when a sample stream has finished being released.

ChunkSource

A provider of Chunks for a ChunkSampleStream to load.

MediaChunkIterator

Iterator for media chunk sequences.

Classes

BaseMediaChunk

A base implementation of MediaChunk that outputs to a BaseMediaChunkOutput.

BaseMediaChunkIterator

Base class for MediaChunkIterators.

BaseMediaChunkOutput

A TrackOutputProvider that provides TrackOutputs based on a predefined mapping from track type to output.

BundledChunkExtractor

ChunkExtractor implementation that uses ExoPlayer app-bundled Extractors.

BundledChunkExtractor.Factory

ChunkExtractor.Factory for BundledChunkExtractor.

Chunk

An abstract base class for Loadable implementations that load chunks of data required for the playback of streams.

ChunkHolder

Holds a chunk or an indication that the end of the stream has been reached.

ChunkSampleStream

A SampleStream that loads media in Chunks, obtained from a ChunkSource.

ChunkSampleStream.EmbeddedSampleStream

A SampleStream embedded in a ChunkSampleStream.

ContainerMediaChunk

A BaseMediaChunk that uses an Extractor to decode sample data.

DataChunk

A base class for Chunk implementations where the data should be loaded into a byte[] before being consumed.

InitializationChunk

A Chunk that uses an Extractor to decode initialization data for single track.

MediaChunk

An abstract base class for Chunks that contain media samples.

MediaParserChunkExtractor

ChunkExtractor implemented on top of the platform's MediaParser.

MediaParserChunkExtractor.Factory

A ChunkExtractor.Factory for MediaParserChunkExtractor instances.

SingleSampleMediaChunk

This class is deprecated.

The only use for this class is subtitle playback, but it is only compatible with legacy subtitle decoding, which is not supported by default.