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.
package/dist/hls.js CHANGED
@@ -522,7 +522,7 @@
522
522
  // Some browsers don't allow to use bind on console object anyway
523
523
  // fallback to default if needed
524
524
  try {
525
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.12-0.canary.10390");
525
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.12-0.canary.10393");
526
526
  } catch (e) {
527
527
  /* log fn threw an exception. All logger methods are no-ops. */
528
528
  return createLogger();
@@ -5487,8 +5487,7 @@
5487
5487
  targetLatency = liveSyncDuration !== undefined ? liveSyncDuration : liveSyncDurationCount * targetduration;
5488
5488
  }
5489
5489
  var maxLiveSyncOnStallIncrease = targetduration;
5490
- var liveSyncOnStallIncrease = 1.0;
5491
- return targetLatency + Math.min(this.stallCount * liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
5490
+ return targetLatency + Math.min(this.stallCount * this.config.liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
5492
5491
  }
5493
5492
  }, {
5494
5493
  key: "liveSyncPosition",
@@ -27251,6 +27250,8 @@
27251
27250
  // used by stream-controller
27252
27251
  liveSyncDurationCount: 3,
27253
27252
  // used by latency-controller
27253
+ liveSyncOnStallIncrease: 1,
27254
+ // used by latency-controller
27254
27255
  liveMaxLatencyDurationCount: Infinity,
27255
27256
  // used by latency-controller
27256
27257
  liveSyncDuration: undefined,
@@ -30777,7 +30778,7 @@
30777
30778
  * Get the video-dev/hls.js package version.
30778
30779
  */
30779
30780
  function get() {
30780
- return "1.5.12-0.canary.10390";
30781
+ return "1.5.12-0.canary.10393";
30781
30782
  }
30782
30783
  }, {
30783
30784
  key: "Events",
package/dist/hls.js.d.ts CHANGED
@@ -1937,6 +1937,7 @@ export declare type LatencyControllerConfig = {
1937
1937
  liveSyncDuration?: number;
1938
1938
  liveMaxLatencyDuration?: number;
1939
1939
  maxLiveSyncPlaybackRate: number;
1940
+ liveSyncOnStallIncrease: number;
1940
1941
  };
1941
1942
 
1942
1943
  export declare class Level {