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.
@@ -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();
@@ -4115,7 +4115,7 @@ class ErrorController extends Logger {
4115
4115
  minAutoLevel,
4116
4116
  maxAutoLevel
4117
4117
  } = hls;
4118
- if (!hls.autoLevelEnabled) {
4118
+ if (!hls.autoLevelEnabled && !hls.config.preserveManualLevelOnError) {
4119
4119
  hls.loadLevel = -1;
4120
4120
  }
4121
4121
  const fragErrorType = (_data$frag2 = data.frag) == null ? void 0 : _data$frag2.type;
@@ -17775,6 +17775,7 @@ const hlsDefaultConfig = _objectSpread2(_objectSpread2({
17775
17775
  interstitialAppendInPlace: true,
17776
17776
  interstitialLiveLookAhead: 10,
17777
17777
  useMediaCapabilities: false,
17778
+ preserveManualLevelOnError: false,
17778
17779
  certLoadPolicy: {
17779
17780
  default: defaultLoadPolicy
17780
17781
  },
@@ -19870,7 +19871,7 @@ function assignTrackIdsByGroup(tracks) {
19870
19871
  });
19871
19872
  }
19872
19873
 
19873
- const version = "1.6.3-0.canary.11252";
19874
+ const version = "1.6.3-0.canary.11253";
19874
19875
 
19875
19876
  // ensure the worker ends up in the bundle
19876
19877
  // If the worker should not be included this gets aliased to empty.js