Back to Exoplayer

SsChunkSource (ExoPlayer library)

docs/doc/reference/com/google/android/exoplayer2/source/smoothstreaming/SsChunkSource.html

latest2.6 KB
Original Source

Package com.google.android.exoplayer2.source.smoothstreaming

Interface SsChunkSource

  • All Superinterfaces:ChunkSourceAll Known Implementing Classes:DefaultSsChunkSource

[@Deprecated](https://developer.android.com/reference/java/lang/Deprecated.html "class or interface in java.lang")public interfaceSsChunkSourceextends[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 SmoothStreaming.

Nested Class Summary

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

Factory for SsChunkSources. |

Method Summary

All Methods Instance Methods Abstract Methods Deprecated Methods | Modifier and Type | Method | Description | | --- | --- | --- | | void | updateManifest​(SsManifest newManifest) | 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​([SsManifest](manifest/SsManifest.html "class in com.google.android.exoplayer2.source.smoothstreaming.manifest")newManifest)

Deprecated.

Updates the manifest. Parameters:newManifest - The new manifest.

- 

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.