hls.js 1.5.12-0.canary.10390 → 1.5.12-0.canary.10393

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -420,7 +420,7 @@ function enableLogs(debugConfig, context, id) {
420
420
  // Some browsers don't allow to use bind on console object anyway
421
421
  // fallback to default if needed
422
422
  try {
423
- newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10390"}`);
423
+ newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10393"}`);
424
424
  } catch (e) {
425
425
  /* log fn threw an exception. All logger methods are no-ops. */
426
426
  return createLogger();
@@ -4651,8 +4651,7 @@ class LatencyController {
4651
4651
  targetLatency = liveSyncDuration !== undefined ? liveSyncDuration : liveSyncDurationCount * targetduration;
4652
4652
  }
4653
4653
  const maxLiveSyncOnStallIncrease = targetduration;
4654
- const liveSyncOnStallIncrease = 1.0;
4655
- return targetLatency + Math.min(this.stallCount * liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
4654
+ return targetLatency + Math.min(this.stallCount * this.config.liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
4656
4655
  }
4657
4656
  get liveSyncPosition() {
4658
4657
  const liveEdge = this.estimateLiveEdge();
@@ -9791,6 +9790,8 @@ const hlsDefaultConfig = _objectSpread2(_objectSpread2({
9791
9790
  // used by stream-controller
9792
9791
  liveSyncDurationCount: 3,
9793
9792
  // used by latency-controller
9793
+ liveSyncOnStallIncrease: 1,
9794
+ // used by latency-controller
9794
9795
  liveMaxLatencyDurationCount: Infinity,
9795
9796
  // used by latency-controller
9796
9797
  liveSyncDuration: undefined,
@@ -20657,7 +20658,7 @@ class Hls {
20657
20658
  * Get the video-dev/hls.js package version.
20658
20659
  */
20659
20660
  static get version() {
20660
- return "1.5.12-0.canary.10390";
20661
+ return "1.5.12-0.canary.10393";
20661
20662
  }
20662
20663
 
20663
20664
  /**