hls.js 1.5.12-0.canary.10390 → 1.5.12-0.canary.10391
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 +5 -4
- package/dist/hls.js.d.ts +1 -0
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +5 -4
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +5 -4
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +5 -4
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/package.json +1 -1
- package/src/config.ts +2 -0
- package/src/controller/latency-controller.ts +1 -2
package/dist/hls.mjs
CHANGED
@@ -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.
|
423
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.12-0.canary.10391"}`);
|
424
424
|
} catch (e) {
|
425
425
|
/* log fn threw an exception. All logger methods are no-ops. */
|
426
426
|
return createLogger();
|
@@ -5197,8 +5197,7 @@ class LatencyController {
|
|
5197
5197
|
targetLatency = liveSyncDuration !== undefined ? liveSyncDuration : liveSyncDurationCount * targetduration;
|
5198
5198
|
}
|
5199
5199
|
const maxLiveSyncOnStallIncrease = targetduration;
|
5200
|
-
|
5201
|
-
return targetLatency + Math.min(this.stallCount * liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
|
5200
|
+
return targetLatency + Math.min(this.stallCount * this.config.liveSyncOnStallIncrease, maxLiveSyncOnStallIncrease);
|
5202
5201
|
}
|
5203
5202
|
get liveSyncPosition() {
|
5204
5203
|
const liveEdge = this.estimateLiveEdge();
|
@@ -26604,6 +26603,8 @@ const hlsDefaultConfig = _objectSpread2(_objectSpread2({
|
|
26604
26603
|
// used by stream-controller
|
26605
26604
|
liveSyncDurationCount: 3,
|
26606
26605
|
// used by latency-controller
|
26606
|
+
liveSyncOnStallIncrease: 1,
|
26607
|
+
// used by latency-controller
|
26607
26608
|
liveMaxLatencyDurationCount: Infinity,
|
26608
26609
|
// used by latency-controller
|
26609
26610
|
liveSyncDuration: undefined,
|
@@ -29272,7 +29273,7 @@ class Hls {
|
|
29272
29273
|
* Get the video-dev/hls.js package version.
|
29273
29274
|
*/
|
29274
29275
|
static get version() {
|
29275
|
-
return "1.5.12-0.canary.
|
29276
|
+
return "1.5.12-0.canary.10391";
|
29276
29277
|
}
|
29277
29278
|
|
29278
29279
|
/**
|