Interface SsChunkSource.Factory
-
- All Known Implementing Classes:
DefaultSsChunkSource.Factory
- Enclosing interface:
- SsChunkSource
public static interface SsChunkSource.Factory
Factory forSsChunkSource
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SsChunkSource
createChunkSource(LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, ExoTrackSelection trackSelection, TransferListener transferListener, CmcdConfiguration cmcdConfiguration)
Creates a newSsChunkSource
.
-
-
-
Method Detail
-
createChunkSource
SsChunkSource createChunkSource(LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, ExoTrackSelection trackSelection, @Nullable TransferListener transferListener, @Nullable CmcdConfiguration cmcdConfiguration)
Creates a newSsChunkSource
.- Parameters:
manifestLoaderErrorThrower
- Throws errors affecting loading of manifests.manifest
- The initial manifest.streamElementIndex
- The index of the corresponding stream element in the manifest.trackSelection
- The track selection.transferListener
- The transfer listener which should be informed of any data transfers. May be null if no listener is available.cmcdConfiguration
- TheCmcdConfiguration
for this chunk source.- Returns:
- The created
SsChunkSource
.
-
-