hls.js 1.5.6-0.canary.10008 → 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 +8 -6
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +8 -6
- package/dist/hls.light.js.map +1 -1
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.min.js.map +1 -1
- package/dist/hls.light.mjs +8 -6
- package/dist/hls.light.mjs.map +1 -1
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +8 -6
- package/dist/hls.mjs.map +1 -1
- package/dist/hls.worker.js +1 -1
- package/dist/hls.worker.js.map +1 -1
- package/package.json +2 -2
- package/src/utils/mp4-tools.ts +6 -4
package/dist/hls.mjs
CHANGED
@@ -512,7 +512,7 @@ function enableLogs(debugConfig, context, id) {
|
|
512
512
|
// Some browsers don't allow to use bind on console object anyway
|
513
513
|
// fallback to default if needed
|
514
514
|
try {
|
515
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.6-0.canary.
|
515
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.6-0.canary.10011"}`);
|
516
516
|
} catch (e) {
|
517
517
|
/* log fn threw an exception. All logger methods are no-ops. */
|
518
518
|
return createLogger();
|
@@ -1663,11 +1663,13 @@ function parseSegmentIndex(sidx) {
|
|
1663
1663
|
let earliestPresentationTime = 0;
|
1664
1664
|
let firstOffset = 0;
|
1665
1665
|
if (version === 0) {
|
1666
|
-
earliestPresentationTime = readUint32(sidx, index
|
1667
|
-
firstOffset = readUint32(sidx, index
|
1666
|
+
earliestPresentationTime = readUint32(sidx, index);
|
1667
|
+
firstOffset = readUint32(sidx, index + 4);
|
1668
|
+
index += 8;
|
1668
1669
|
} else {
|
1669
|
-
earliestPresentationTime = readUint64(sidx, index
|
1670
|
-
firstOffset = readUint64(sidx, index
|
1670
|
+
earliestPresentationTime = readUint64(sidx, index);
|
1671
|
+
firstOffset = readUint64(sidx, index + 8);
|
1672
|
+
index += 16;
|
1671
1673
|
}
|
1672
1674
|
|
1673
1675
|
// skip reserved
|
@@ -28599,7 +28601,7 @@ class Hls {
|
|
28599
28601
|
* Get the video-dev/hls.js package version.
|
28600
28602
|
*/
|
28601
28603
|
static get version() {
|
28602
|
-
return "1.5.6-0.canary.
|
28604
|
+
return "1.5.6-0.canary.10011";
|
28603
28605
|
}
|
28604
28606
|
|
28605
28607
|
/**
|