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.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.11252"}`);
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.11252";
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
  },