public static interface DashChunkSource.Factory
DashChunkSources.| Modifier and Type | Method and Description |
|---|---|
DashChunkSource |
createDashChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower,
DashManifest manifest,
int periodIndex,
int[] adaptationSetIndices,
com.google.android.exoplayer2.trackselection.TrackSelection trackSelection,
int type,
long elapsedRealtimeOffsetMs,
boolean enableEventMessageTrack,
boolean enableCea608Track,
PlayerEmsgHandler.PlayerTrackEmsgHandler playerEmsgHandler,
com.google.android.exoplayer2.upstream.TransferListener transferListener) |
DashChunkSource createDashChunkSource(com.google.android.exoplayer2.upstream.LoaderErrorThrower manifestLoaderErrorThrower, DashManifest manifest, int periodIndex, int[] adaptationSetIndices, com.google.android.exoplayer2.trackselection.TrackSelection trackSelection, int type, long elapsedRealtimeOffsetMs, boolean enableEventMessageTrack, boolean enableCea608Track, @Nullable PlayerEmsgHandler.PlayerTrackEmsgHandler playerEmsgHandler, @Nullable com.google.android.exoplayer2.upstream.TransferListener transferListener)
manifestLoaderErrorThrower - Throws errors affecting loading of manifests.manifest - The initial manifest.periodIndex - The index of the corresponding period in the manifest.adaptationSetIndices - The indices of the corresponding adaptation sets in the period.trackSelection - The track selection.elapsedRealtimeOffsetMs - If known, an estimate of the instantaneous difference between
server-side unix time and SystemClock.elapsedRealtime() in milliseconds,
specified as the server's unix time minus the local elapsed time. If unknown, set to 0.enableEventMessageTrack - Whether the chunks generated by the source may output an event
message track.enableCea608Track - Whether the chunks generated by the source may output a CEA-608
track.transferListener - The transfer listener which should be informed of any data transfers.
May be null if no listener is available.DashChunkSource.