Skip to content

Commit

Permalink
Increase live delay only if no request could be generated
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Jun 12, 2020
1 parent df3e5fb commit cfb122f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/streaming/StreamProcessor.js
Expand Up @@ -695,7 +695,9 @@ function StreamProcessor(config) {
request = getFragmentRequest(currentRepresentationInfo, startTime, {
ignoreIsFinished: true
});
liveDelay += 1; // Increase by one second for each iteration
if (!request) {
liveDelay += 1; // Increase by one second for each iteration
}
}
}

Expand Down

0 comments on commit cfb122f

Please sign in to comment.