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.js CHANGED
@@ -644,7 +644,7 @@
644
644
  // Some browsers don't allow to use bind on console object anyway
645
645
  // fallback to default if needed
646
646
  try {
647
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.6-0.canary.10010");
647
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.6-0.canary.10011");
648
648
  } catch (e) {
649
649
  /* log fn threw an exception. All logger methods are no-ops. */
650
650
  return createLogger();
@@ -1871,11 +1871,13 @@
1871
1871
  var earliestPresentationTime = 0;
1872
1872
  var firstOffset = 0;
1873
1873
  if (version === 0) {
1874
- earliestPresentationTime = readUint32(sidx, index += 4);
1875
- firstOffset = readUint32(sidx, index += 4);
1874
+ earliestPresentationTime = readUint32(sidx, index);
1875
+ firstOffset = readUint32(sidx, index + 4);
1876
+ index += 8;
1876
1877
  } else {
1877
- earliestPresentationTime = readUint64(sidx, index += 8);
1878
- firstOffset = readUint64(sidx, index += 8);
1878
+ earliestPresentationTime = readUint64(sidx, index);
1879
+ firstOffset = readUint64(sidx, index + 8);
1880
+ index += 16;
1879
1881
  }
1880
1882
 
1881
1883
  // skip reserved
@@ -30098,7 +30100,7 @@
30098
30100
  * Get the video-dev/hls.js package version.
30099
30101
  */
30100
30102
  function get() {
30101
- return "1.5.6-0.canary.10010";
30103
+ return "1.5.6-0.canary.10011";
30102
30104
  }
30103
30105
  }, {
30104
30106
  key: "Events",