Back to Exoplayer

DashChunkSource (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/dash/DashChunkSource.html

latest2.7 KB
Original Source

Package com.google.android.exoplayer2.source.dash

Interface DashChunkSource

  • All Superinterfaces:ChunkSourceAll Known Implementing Classes:DefaultDashChunkSource

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceDashChunkSourceextends[ChunkSource](../chunk/ChunkSource.html "interface in com.google.android.exoplayer2.source.chunk")

Deprecated. com.google.android.exoplayer2 is deprecated. Please migrate to androidx.media3 (which contains the same ExoPlayer code). See the migration guide for more details, including a script to help with the migration.

A ChunkSource for DASH streams.

Nested Class Summary

Nested Classes | Modifier and Type | Interface | Description | | --- | --- | --- | | static interface | DashChunkSource.Factory | Deprecated.

Factory for DashChunkSources. |

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | updateManifest​(DashManifest newManifest, int newPeriodIndex) | Deprecated.

Updates the manifest. | | void | updateTrackSelection​(ExoTrackSelection trackSelection) | Deprecated.

Updates the track selection. |

- 

Methods inherited from interface com.google.android.exoplayer2.source.chunk.ChunkSource

getAdjustedSeekPositionUs, getNextChunk, getPreferredQueueSize, maybeThrowError, onChunkLoadCompleted, onChunkLoadError, release, shouldCancelLoad

Method Detail

- 

updateManifest

void updateManifest​([DashManifest](manifest/DashManifest.html "class in com.google.android.exoplayer2.source.dash.manifest")newManifest,
                    int newPeriodIndex)

Deprecated.

Updates the manifest. Parameters:newManifest - The new manifest.newPeriodIndex - The index of the period covered by newManifest.

- 

updateTrackSelection

void updateTrackSelection​([ExoTrackSelection](../../trackselection/ExoTrackSelection.html "interface in com.google.android.exoplayer2.trackselection")trackSelection)

Deprecated.

Updates the track selection. Parameters:trackSelection - The new track selection instance. Must be equivalent to the previous one.