public static final class DefaultSsChunkSource.Factory extends java.lang.Object implements SsChunkSource.Factory
| Constructor and Description |
|---|
Factory(com.google.android.exoplayer2.upstream.DataSource.Factory dataSourceFactory) |
| Modifier and Type | Method and Description |
|---|---|
SsChunkSource |
createChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower,
SsManifest manifest,
int elementIndex,
com.google.android.exoplayer2.trackselection.TrackSelection trackSelection,
com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox[] trackEncryptionBoxes)
Creates a new
SsChunkSource. |
public Factory(com.google.android.exoplayer2.upstream.DataSource.Factory dataSourceFactory)
public SsChunkSource createChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower, SsManifest manifest, int elementIndex, com.google.android.exoplayer2.trackselection.TrackSelection trackSelection, com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox[] trackEncryptionBoxes)
SsChunkSource.FactorySsChunkSource.createChunkSource in interface SsChunkSource.FactorymanifestLoaderErrorThrower - Throws errors affecting loading of manifests.manifest - The initial manifest.elementIndex - The index of the corresponding stream element in the manifest.trackSelection - The track selection.trackEncryptionBoxes - Track encryption boxes for the stream.SsChunkSource.