diff --git a/src/streaming/controllers/ScheduleController.js b/src/streaming/controllers/ScheduleController.js index 441d657f38..53c1e9b2b7 100644 --- a/src/streaming/controllers/ScheduleController.js +++ b/src/streaming/controllers/ScheduleController.js @@ -407,8 +407,7 @@ function ScheduleController(config) { const liveEdgeFinder = streamProcessor.getLiveEdgeFinder(); if (liveEdgeFinder) { const liveEdge = liveEdgeFinder.getLiveEdge(); - const dvrWindowSize = currentRepresentationInfo.mediaInfo.streamInfo.manifestInfo.DVRWindowSize / 2; - const startTime = liveEdge - playbackController.computeLiveDelay(currentRepresentationInfo.fragmentDuration, dvrWindowSize); + const startTime = liveEdge - playbackController.computeLiveDelay(currentRepresentationInfo.fragmentDuration, currentRepresentationInfo.mediaInfo.streamInfo.manifestInfo.DVRWindowSize); const request = streamProcessor.getFragmentRequest(currentRepresentationInfo, startTime, { ignoreIsFinished: true });