mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Fixed issue in which DashChunkSource didn't make use of the most recent
manifest.
This commit is contained in:
parent
c3e0d34aa1
commit
42416b82db
1 changed files with 3 additions and 1 deletions
|
|
@ -302,12 +302,14 @@ public class DashChunkSource implements ChunkSource, Output {
|
|||
@Override
|
||||
public void enable(int track) {
|
||||
enabledTrack = tracks.get(track);
|
||||
processManifest(currentManifest);
|
||||
if (enabledTrack.isAdaptive()) {
|
||||
adaptiveFormatEvaluator.enable();
|
||||
}
|
||||
if (manifestFetcher != null) {
|
||||
manifestFetcher.enable();
|
||||
processManifest(manifestFetcher.getManifest());
|
||||
} else {
|
||||
processManifest(currentManifest);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue