hls.js 1.6.3-0.canary.11251 → 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.light.js CHANGED
@@ -1165,7 +1165,7 @@
1165
1165
  // Some browsers don't allow to use bind on console object anyway
1166
1166
  // fallback to default if needed
1167
1167
  try {
1168
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.3-0.canary.11251");
1168
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.3-0.canary.11253");
1169
1169
  } catch (e) {
1170
1170
  /* log fn threw an exception. All logger methods are no-ops. */
1171
1171
  return createLogger();
@@ -4828,7 +4828,7 @@
4828
4828
  loadLevel = hls.loadLevel,
4829
4829
  minAutoLevel = hls.minAutoLevel,
4830
4830
  maxAutoLevel = hls.maxAutoLevel;
4831
- if (!hls.autoLevelEnabled) {
4831
+ if (!hls.autoLevelEnabled && !hls.config.preserveManualLevelOnError) {
4832
4832
  hls.loadLevel = -1;
4833
4833
  }
4834
4834
  var fragErrorType = (_data$frag2 = data.frag) == null ? void 0 : _data$frag2.type;
@@ -15393,6 +15393,7 @@
15393
15393
  interstitialAppendInPlace: true,
15394
15394
  interstitialLiveLookAhead: 10,
15395
15395
  useMediaCapabilities: false,
15396
+ preserveManualLevelOnError: false,
15396
15397
  certLoadPolicy: {
15397
15398
  default: defaultLoadPolicy
15398
15399
  },
@@ -20499,7 +20500,7 @@
20499
20500
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
20500
20501
  }
20501
20502
 
20502
- var version = "1.6.3-0.canary.11251";
20503
+ var version = "1.6.3-0.canary.11253";
20503
20504
 
20504
20505
  // ensure the worker ends up in the bundle
20505
20506
  // If the worker should not be included this gets aliased to empty.js