public static interface SsChunkSource.Factory
SsChunkSources.| Modifier and Type | Method and Description |
|---|---|
SsChunkSource |
createChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower,
SsManifest manifest,
int streamElementIndex,
com.google.android.exoplayer2.trackselection.TrackSelection trackSelection,
com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox[] trackEncryptionBoxes)
Creates a new
SsChunkSource. |
SsChunkSource createChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int streamElementIndex, com.google.android.exoplayer2.trackselection.TrackSelection trackSelection, com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox[] trackEncryptionBoxes)
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.trackEncryptionBoxes - Track encryption boxes for the stream.SsChunkSource.