Interface SsChunkSource
-
- All Superinterfaces:
ChunkSource
- All Known Implementing Classes:
DefaultSsChunkSource
public interface SsChunkSource extends ChunkSource
AChunkSourcefor SmoothStreaming.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceSsChunkSource.FactoryFactory forSsChunkSources.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupdateManifest(SsManifest newManifest)Updates the manifest.voidupdateTrackSelection(ExoTrackSelection trackSelection)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(SsManifest newManifest)
Updates the manifest.- Parameters:
newManifest- The new manifest.
-
updateTrackSelection
void updateTrackSelection(ExoTrackSelection trackSelection)
Updates the track selection.- Parameters:
trackSelection- The new track selection instance. Must be equivalent to the previous one.
-
-