
In DefaultDashChunkSource.copyWithNewRepresentation, it will handle the logic that new MPD manifest file is updated and calculate a newSegmentNumShift for furthermore segNum index calculation in getSegmentUrl, when a shorter window MPD updated and then back to a longer window MPD, copyWithNewRepresentation will go into the overlap case but the new index actually contains the old index..
ExoPlayer DASH library module
Provides support for Dynamic Adaptive Streaming over HTTP (DASH) content. To
play DASH content, instantiate a DashMediaSource
and pass it to
ExoPlayer.prepare
.
Links
- Developer Guide.
- Javadoc: Classes matching
com.google.android.exoplayer2.source.dash.*
belong to this module.