Commit 2f268a99 by Oliver Woodman

Fix final issues with HLS 404 handling #537

parent 97aaee6d
......@@ -389,6 +389,9 @@ public class HlsSampleSource implements SampleSource, SampleSourceReader, Loader
public void onLoadError(Loadable loadable, IOException e) {
if (chunkSource.onChunkLoadError(currentLoadable, e)) {
// Error handled by source.
if (previousTsLoadable == null && !isPendingReset()) {
pendingResetPositionUs = currentTsLoadable.startTimeUs;
}
clearCurrentLoadable();
} else {
currentLoadableException = e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment