diff --git a/src/segment-loader.js b/src/segment-loader.js index b4b8b0baa..c37e180a0 100644 --- a/src/segment-loader.js +++ b/src/segment-loader.js @@ -428,7 +428,6 @@ export const fixBadTimelineChange = (segmentLoader) => { return; } segmentLoader.pause(); - segmentLoader.abort_(); segmentLoader.resetEverything(); segmentLoader.load(); }; diff --git a/test/segment-loader.test.js b/test/segment-loader.test.js index 10e136ac3..3b5063935 100644 --- a/test/segment-loader.test.js +++ b/test/segment-loader.test.js @@ -521,14 +521,10 @@ QUnit.test('fixBadTimelineChange calls pause, resetEverything and load on a segm let pauseCalls = 0; let resetEverythingCalls = 0; let loadCalls = 0; - let abortCalls = 0; let mockSegmentLoader = { pause() { pauseCalls++; }, - abort_() { - abortCalls++; - }, resetEverything() { resetEverythingCalls++; }, @@ -548,7 +544,6 @@ QUnit.test('fixBadTimelineChange calls pause, resetEverything and load on a segm assert.equal(pauseCalls, 1, 'calls pause once'); assert.equal(resetEverythingCalls, 1, 'calls resetEverything once'); assert.equal(loadCalls, 1, 'calls load once'); - assert.equal(abortCalls, 1, 'calls abort once'); }); QUnit.module('safeBackBufferTrimTime');