hls.js 1.6.3-0.canary.11252 → 1.6.3-0.canary.11253
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.d.mts +1 -0
- package/dist/hls.d.ts +1 -0
- package/dist/hls.js +4 -3
- package/dist/hls.js.d.ts +1 -0
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +4 -3
- 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 +4 -3
- 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 +4 -3
- 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/error-controller.ts +1 -1
package/dist/hls.mjs
CHANGED
@@ -523,7 +523,7 @@ function enableLogs(debugConfig, context, id) {
|
|
523
523
|
// Some browsers don't allow to use bind on console object anyway
|
524
524
|
// fallback to default if needed
|
525
525
|
try {
|
526
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.3-0.canary.
|
526
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.6.3-0.canary.11253"}`);
|
527
527
|
} catch (e) {
|
528
528
|
/* log fn threw an exception. All logger methods are no-ops. */
|
529
529
|
return createLogger();
|
@@ -4548,7 +4548,7 @@ class ErrorController extends Logger {
|
|
4548
4548
|
minAutoLevel,
|
4549
4549
|
maxAutoLevel
|
4550
4550
|
} = hls;
|
4551
|
-
if (!hls.autoLevelEnabled) {
|
4551
|
+
if (!hls.autoLevelEnabled && !hls.config.preserveManualLevelOnError) {
|
4552
4552
|
hls.loadLevel = -1;
|
4553
4553
|
}
|
4554
4554
|
const fragErrorType = (_data$frag2 = data.frag) == null ? void 0 : _data$frag2.type;
|
@@ -10237,7 +10237,7 @@ function requireEventemitter3 () {
|
|
10237
10237
|
var eventemitter3Exports = requireEventemitter3();
|
10238
10238
|
var EventEmitter = /*@__PURE__*/getDefaultExportFromCjs(eventemitter3Exports);
|
10239
10239
|
|
10240
|
-
const version = "1.6.3-0.canary.
|
10240
|
+
const version = "1.6.3-0.canary.11253";
|
10241
10241
|
|
10242
10242
|
// ensure the worker ends up in the bundle
|
10243
10243
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -30305,6 +30305,7 @@ const hlsDefaultConfig = _objectSpread2(_objectSpread2({
|
|
30305
30305
|
interstitialAppendInPlace: true,
|
30306
30306
|
interstitialLiveLookAhead: 10,
|
30307
30307
|
useMediaCapabilities: true,
|
30308
|
+
preserveManualLevelOnError: false,
|
30308
30309
|
certLoadPolicy: {
|
30309
30310
|
default: defaultLoadPolicy
|
30310
30311
|
},
|