public static interface SsChunkSource.Factory
SsChunkSource
s.Modifier and Type | Method and Description |
---|---|
SsChunkSource |
createChunkSource(LoaderErrorThrower manifestLoaderErrorThrower,
SsManifest manifest,
int streamElementIndex,
TrackSelection trackSelection,
TransferListener transferListener)
Creates a new
SsChunkSource . |
SsChunkSource createChunkSource(LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, TrackSelection trackSelection, @Nullable TransferListener transferListener)
SsChunkSource
.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.SsChunkSource
.