Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
Fix regression from PR Dash-Industry-Forum#3831 in MssParser
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert committed Apr 19, 2022
1 parent 2aad3e7 commit 3f89700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mss/parser/MssParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ function MssParser(config) {
// 2- adapt live delay and then buffers length in case timeShiftBufferDepth is too small compared to target live delay (see PlaybackController.computeLiveDelay())
// 3- Set retry attempts and intervals for FragmentInfo requests
if (manifest.type === 'dynamic') {
let targetLiveDelay = settings.get().streaming.delay.liveDelay();
let targetLiveDelay = settings.get().streaming.delay.liveDelay;
if (!targetLiveDelay) {
const liveDelayFragmentCount = settings.get().streaming.delay.liveDelayFragmentCount !== null && !isNaN(settings.get().streaming.delay.liveDelayFragmentCount) ? settings.get().streaming.delay.liveDelayFragmentCount : 4;
targetLiveDelay = segmentDuration * liveDelayFragmentCount;
Expand Down

0 comments on commit 3f89700

Please sign in to comment.