hls.js 1.5.9-0.canary.10212 → 1.5.9-0.canary.10214

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.js CHANGED
@@ -160,7 +160,7 @@
160
160
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
161
161
  }
162
162
  function _arrayLikeToArray(arr, len) {
163
- len = arr.length;
163
+ if (len == null || len > arr.length) len = arr.length;
164
164
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
165
165
  return arr2;
166
166
  }
@@ -637,7 +637,7 @@
637
637
  // Some browsers don't allow to use bind on console object anyway
638
638
  // fallback to default if needed
639
639
  try {
640
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10212");
640
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10214");
641
641
  } catch (e) {
642
642
  /* log fn threw an exception. All logger methods are no-ops. */
643
643
  return createLogger();
@@ -15110,12 +15110,15 @@
15110
15110
  if (srcScale === void 0) {
15111
15111
  srcScale = 1;
15112
15112
  }
15113
- {
15113
+ if (round === void 0) {
15114
15114
  round = false;
15115
15115
  }
15116
15116
  return toTimescaleFromBase(baseTime, destScale, 1 / srcScale, round);
15117
15117
  }
15118
15118
  function toMsFromMpegTsClock(baseTime, round) {
15119
+ if (round === void 0) {
15120
+ round = false;
15121
+ }
15119
15122
  return toTimescaleFromBase(baseTime, 1000, 1 / MPEG_TS_CLOCK_FREQ_HZ, round);
15120
15123
  }
15121
15124
  function toMpegTsClockFromTimescale(baseTime, srcScale) {
@@ -22480,7 +22483,7 @@
22480
22483
 
22481
22484
  // String.prototype.startsWith is not supported in IE11
22482
22485
  var startsWith = function startsWith(inputString, searchString, position) {
22483
- {
22486
+ if (position === void 0) {
22484
22487
  position = 0;
22485
22488
  }
22486
22489
  return inputString.slice(position, position + searchString.length) === searchString;
@@ -30498,7 +30501,7 @@
30498
30501
  * Get the video-dev/hls.js package version.
30499
30502
  */
30500
30503
  function get() {
30501
- return "1.5.9-0.canary.10212";
30504
+ return "1.5.9-0.canary.10214";
30502
30505
  }
30503
30506
  }, {
30504
30507
  key: "Events",