Skip to content

Commit

Permalink
From 54d8cdd, fix replaying of content in Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
Lloyd Wallis committed Jan 20, 2016
1 parent c5c8c7c commit f3c0f9c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/streaming/rules/scheduling/NextFragmentRequestRule.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,13 @@ function NextFragmentRequestRule(config) {
while (request && streamProcessor.getFragmentModel().isFragmentLoaded(request)) {
if (request.action === FragmentRequest.ACTION_COMPLETE) {
request = null;
streamProcessor.setIndexHandlerTime(NaN);
break;
}

request = adapter.getNextFragmentRequest(streamProcessor, representationInfo);
}

if (request ) {
if (request) {
streamProcessor.setIndexHandlerTime(request.startTime + request.duration);
request.delayLoadingTime = new Date().getTime() + scheduleController.getTimeToLoadDelay();
}
Expand Down

0 comments on commit f3c0f9c

Please sign in to comment.