Interface DashChunkSource
-
- All Superinterfaces:
ChunkSource
- All Known Implementing Classes:
DefaultDashChunkSource
@Deprecated public interface DashChunkSource extends ChunkSource
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.AChunkSource
for DASH streams.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
DashChunkSource.Factory
Deprecated.Factory forDashChunkSource
s.
-
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 newManifest, int newPeriodIndex)
Deprecated.Updates the manifest.- Parameters:
newManifest
- The new manifest.newPeriodIndex
- The index of the period covered bynewManifest
.
-
updateTrackSelection
void updateTrackSelection(ExoTrackSelection trackSelection)
Deprecated.Updates the track selection.- Parameters:
trackSelection
- The new track selection instance. Must be equivalent to the previous one.
-
-