hls.js 1.6.0-beta.1.0.canary.10748 → 1.6.0-beta.1.0.canary.10750

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
@@ -707,6 +707,9 @@
707
707
  ErrorDetails["KEY_SYSTEM_SESSION_UPDATE_FAILED"] = "keySystemSessionUpdateFailed";
708
708
  ErrorDetails["KEY_SYSTEM_STATUS_OUTPUT_RESTRICTED"] = "keySystemStatusOutputRestricted";
709
709
  ErrorDetails["KEY_SYSTEM_STATUS_INTERNAL_ERROR"] = "keySystemStatusInternalError";
710
+ ErrorDetails["KEY_SYSTEM_DESTROY_MEDIA_KEYS_ERROR"] = "keySystemDestroyMediaKeysError";
711
+ ErrorDetails["KEY_SYSTEM_DESTROY_CLOSE_SESSION_ERROR"] = "keySystemDestroyCloseSessionError";
712
+ ErrorDetails["KEY_SYSTEM_DESTROY_REMOVE_SESSION_ERROR"] = "keySystemDestroyRemoveSessionError";
710
713
  ErrorDetails["MANIFEST_LOAD_ERROR"] = "manifestLoadError";
711
714
  ErrorDetails["MANIFEST_LOAD_TIMEOUT"] = "manifestLoadTimeOut";
712
715
  ErrorDetails["MANIFEST_PARSING_ERROR"] = "manifestParsingError";
@@ -1025,7 +1028,7 @@
1025
1028
  // Some browsers don't allow to use bind on console object anyway
1026
1029
  // fallback to default if needed
1027
1030
  try {
1028
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10748");
1031
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.6.0-beta.1.0.canary.10750");
1029
1032
  } catch (e) {
1030
1033
  /* log fn threw an exception. All logger methods are no-ops. */
1031
1034
  return createLogger();
@@ -5422,7 +5425,7 @@
5422
5425
  /* no-op */
5423
5426
  }
5424
5427
  }
5425
- return pixelRatio;
5428
+ return Math.min(pixelRatio, this.hls.config.maxDevicePixelRatio);
5426
5429
  }
5427
5430
  }]);
5428
5431
  }();
@@ -14807,6 +14810,8 @@
14807
14810
  // used by cap-level-controller
14808
14811
  ignoreDevicePixelRatio: false,
14809
14812
  // used by cap-level-controller
14813
+ maxDevicePixelRatio: Number.POSITIVE_INFINITY,
14814
+ // used by cap-level-controller
14810
14815
  preferManagedMediaSource: true,
14811
14816
  initialLiveManifestSize: 1,
14812
14817
  // used by stream-controller
@@ -19639,7 +19644,7 @@
19639
19644
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
19640
19645
  }
19641
19646
 
19642
- var version = "1.6.0-beta.1.0.canary.10748";
19647
+ var version = "1.6.0-beta.1.0.canary.10750";
19643
19648
 
19644
19649
  // ensure the worker ends up in the bundle
19645
19650
  // If the worker should not be included this gets aliased to empty.js