Skip to content

Commit

Permalink
fix(FEC-11281): youbora reporting buffering during playback (#450)
Browse files Browse the repository at this point in the history
Issue: currentTime doesn't update every max 250ms as spec declared, it took for 1s or even more in LG TV.
Solution: increase the interval to 2s to ignore cases of 1s or a bit more that takes to update the currentTime.
  • Loading branch information
Yuvalke authored May 26, 2021
1 parent 8b0a63f commit fcc7234
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/common/utils/setup-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,12 @@ function configureSmartTVDefaultOptions(options: KPOptionsObject): void {
options = Utils.Object.createPropertyPath(options, 'plugins.ima.delayInitUntilSourceSelected', true);
}
}
if (options.plugins && options.plugins.youbora) {
const playheadMonitorInterval = Utils.Object.getPropertyPath(options, 'plugins.youbora.playheadMonitorInterval');
if (typeof playheadMonitorInterval !== 'number') {
options = Utils.Object.createPropertyPath(options, 'plugins.youbora.playheadMonitorInterval', 2000);
}
}
}
}

Expand Down

0 comments on commit fcc7234

Please sign in to comment.