DashChunkSource
@UnstableApi
public interface DashChunkSource extends ChunkSource
DefaultDashChunkSource |
A default |
A ChunkSource for DASH streams.
Summary
Nested types |
|---|
public interface DashChunkSource.FactoryFactory for |
Public methods |
|
|---|---|
abstract void |
updateManifest(DashManifest newManifest, int newPeriodIndex)Updates the manifest. |
abstract void |
updateTrackSelection(ExoTrackSelection trackSelection)Updates the track selection. |
Inherited methods |
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Public methods
updateManifest
abstract void updateManifest(DashManifest newManifest, int newPeriodIndex)
Updates the manifest.
| Parameters | |
|---|---|
DashManifest newManifest |
The new manifest. |
int newPeriodIndex |
The index of the period covered by |
updateTrackSelection
abstract void updateTrackSelection(ExoTrackSelection trackSelection)
Updates the track selection.
| Parameters | |
|---|---|
ExoTrackSelection trackSelection |
The new track selection instance. Must be equivalent to the previous one. |