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

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
@@ -45,11 +45,11 @@
45
45
  if ("object" != typeof t || !t) return t;
46
46
  var e = t[Symbol.toPrimitive];
47
47
  if (void 0 !== e) {
48
- var i = e.call(t, r );
48
+ var i = e.call(t, r || "default");
49
49
  if ("object" != typeof i) return i;
50
50
  throw new TypeError("@@toPrimitive must return a primitive value.");
51
51
  }
52
- return (String )(t);
52
+ return ("string" === r ? String : Number)(t);
53
53
  }
54
54
  function _toPropertyKey(t) {
55
55
  var i = _toPrimitive(t, "string");
@@ -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.10214");
640
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.9-0.canary.10216");
641
641
  } catch (e) {
642
642
  /* log fn threw an exception. All logger methods are no-ops. */
643
643
  return createLogger();
@@ -15116,9 +15116,6 @@
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
- }
15122
15119
  return toTimescaleFromBase(baseTime, 1000, 1 / MPEG_TS_CLOCK_FREQ_HZ, round);
15123
15120
  }
15124
15121
  function toMpegTsClockFromTimescale(baseTime, srcScale) {
@@ -30501,7 +30498,7 @@
30501
30498
  * Get the video-dev/hls.js package version.
30502
30499
  */
30503
30500
  function get() {
30504
- return "1.5.9-0.canary.10214";
30501
+ return "1.5.9-0.canary.10216";
30505
30502
  }
30506
30503
  }, {
30507
30504
  key: "Events",