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