Add internal demo flavor that uses MediaParser for progressive media

PiperOrigin-RevId: 309258505
This commit is contained in:
aquilescanta 2020-04-30 18:56:31 +01:00 committed by Oliver Woodman
parent ab57c8010f
commit 956514ad9b

View File

@ -178,7 +178,8 @@ import org.checkerframework.checker.nullness.qual.MonotonicNonNull;
this.customCacheKey = customCacheKey;
this.continueLoadingCheckIntervalBytes = continueLoadingCheckIntervalBytes;
loader = new Loader("Loader:ProgressiveMediaPeriod");
progressiveMediaExtractor = new BundledExtractorsAdapter(extractors);
ProgressiveMediaExtractor progressiveMediaExtractor = new BundledExtractorsAdapter(extractors);
this.progressiveMediaExtractor = progressiveMediaExtractor;
loadCondition = new ConditionVariable();
maybeFinishPrepareRunnable = this::maybeFinishPrepare;
onContinueLoadingRequestedRunnable =