Skip to content

Commit

Permalink
In ScheduleController::setLiveEdgeSeekTarget(), do not divide DVRWind…
Browse files Browse the repository at this point in the history
…owSize by 2 (already done in PlaybakController::computeLiveDelay()) (#3050)
  • Loading branch information
bbert authored and epiclabsDASH committed Aug 16, 2019
1 parent 9291d30 commit 1742ddd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/streaming/controllers/ScheduleController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
});
Expand Down

0 comments on commit 1742ddd

Please sign in to comment.