ChunkIndexProvider
Artifact: androidx.media3:media3-extractor
@UnstableApi
interface ChunkIndexProvider
An interface for objects that can provide a ChunkIndex.
This should be implemented by classes, typically a SeekMap, that are used in contexts where a ChunkIndex is required to access sample-level information. For example, chunk sources for adaptive streaming formats like DASH require a ChunkIndex to locate samples within a media segment.
Summary
Public functions |
|
|---|---|
ChunkIndex? |
Returns a |
Public functions
getChunkIndex
fun getChunkIndex(): ChunkIndex?
Returns a ChunkIndex for use by chunk-based media sources, or null if not applicable.