Add comment explaining DefaultHlsExtractorFactory fallback behaviour

Issue:#8219
PiperOrigin-RevId: 342843964
This commit is contained in:
kimvde 2020-11-17 13:40:03 +00:00 committed by kim-vde
parent 8381b9ff43
commit e4d693ebb9

View file

@ -125,6 +125,8 @@ public final class DefaultHlsExtractorFactory implements HlsExtractorFactory {
return new BundledHlsMediaChunkExtractor(extractor, format, timestampAdjuster);
}
if (fileType == FileTypes.TS) {
// Fall back on TsExtractor to handle TS streams with an EXT-X-MAP tag. See
// https://github.com/google/ExoPlayer/issues/8219.
fallBackExtractor = extractor;
}
}