mirror of
https://github.com/androidx/media.git
synced 2025-05-16 20:19:57 +08:00
Fix final issues with HLS 404 handling #537
This commit is contained in:
parent
97aaee6d15
commit
2f268a9962
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user