hls.js 1.5.6-0.canary.10010 → 1.5.6-0.canary.10011

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
@@ -613,7 +613,7 @@
613
613
  // Some browsers don't allow to use bind on console object anyway
614
614
  // fallback to default if needed
615
615
  try {
616
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.6-0.canary.10010");
616
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.6-0.canary.10011");
617
617
  } catch (e) {
618
618
  /* log fn threw an exception. All logger methods are no-ops. */
619
619
  return createLogger();
@@ -1674,11 +1674,13 @@
1674
1674
  var earliestPresentationTime = 0;
1675
1675
  var firstOffset = 0;
1676
1676
  if (version === 0) {
1677
- earliestPresentationTime = readUint32(sidx, index += 4);
1678
- firstOffset = readUint32(sidx, index += 4);
1677
+ earliestPresentationTime = readUint32(sidx, index);
1678
+ firstOffset = readUint32(sidx, index + 4);
1679
+ index += 8;
1679
1680
  } else {
1680
- earliestPresentationTime = readUint64(sidx, index += 8);
1681
- firstOffset = readUint64(sidx, index += 8);
1681
+ earliestPresentationTime = readUint64(sidx, index);
1682
+ firstOffset = readUint64(sidx, index + 8);
1683
+ index += 16;
1682
1684
  }
1683
1685
 
1684
1686
  // skip reserved
@@ -21329,7 +21331,7 @@
21329
21331
  * Get the video-dev/hls.js package version.
21330
21332
  */
21331
21333
  function get() {
21332
- return "1.5.6-0.canary.10010";
21334
+ return "1.5.6-0.canary.10011";
21333
21335
  }
21334
21336
  }, {
21335
21337
  key: "Events",