hls.js 1.5.14-0.canary.10669 → 1.5.14-0.canary.10670
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 +9 -3
- package/dist/hls.js.map +1 -1
- package/dist/hls.light.js +2 -2
- package/dist/hls.light.min.js +1 -1
- package/dist/hls.light.mjs +2 -2
- package/dist/hls.min.js +1 -1
- package/dist/hls.min.js.map +1 -1
- package/dist/hls.mjs +9 -3
- 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 +1 -1
- package/src/demux/video/hevc-video-parser.ts +12 -1
package/dist/hls.mjs
CHANGED
@@ -440,7 +440,7 @@ function enableLogs(debugConfig, context, id) {
|
|
440
440
|
// Some browsers don't allow to use bind on console object anyway
|
441
441
|
// fallback to default if needed
|
442
442
|
try {
|
443
|
-
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.
|
443
|
+
newLogger.log(`Debug logs enabled for "${context}" in hls.js version ${"1.5.14-0.canary.10670"}`);
|
444
444
|
} catch (e) {
|
445
445
|
/* log fn threw an exception. All logger methods are no-ops. */
|
446
446
|
return createLogger();
|
@@ -10813,7 +10813,7 @@ function changeTypeSupported() {
|
|
10813
10813
|
return typeof (sourceBuffer == null ? void 0 : (_sourceBuffer$prototy = sourceBuffer.prototype) == null ? void 0 : _sourceBuffer$prototy.changeType) === 'function';
|
10814
10814
|
}
|
10815
10815
|
|
10816
|
-
const version = "1.5.14-0.canary.
|
10816
|
+
const version = "1.5.14-0.canary.10670";
|
10817
10817
|
|
10818
10818
|
// ensure the worker ends up in the bundle
|
10819
10819
|
// If the worker should not be included this gets aliased to empty.js
|
@@ -12566,7 +12566,7 @@ class HevcVideoParser extends BaseVideoParser {
|
|
12566
12566
|
track.params[prop] = config[prop];
|
12567
12567
|
}
|
12568
12568
|
}
|
12569
|
-
if (
|
12569
|
+
if (track.vps !== undefined && track.vps[0] === this.initVPS) {
|
12570
12570
|
track.pps.push(unit.data);
|
12571
12571
|
}
|
12572
12572
|
}
|
@@ -12617,6 +12617,12 @@ class HevcVideoParser extends BaseVideoParser {
|
|
12617
12617
|
}
|
12618
12618
|
return new Uint8Array(dst.buffer, 0, dstIdx);
|
12619
12619
|
}
|
12620
|
+
pushAccessUnit(VideoSample, videoTrack) {
|
12621
|
+
super.pushAccessUnit(VideoSample, videoTrack);
|
12622
|
+
if (this.initVPS) {
|
12623
|
+
this.initVPS = null; // null initVPS to prevent possible track's sps/pps growth until next VPS
|
12624
|
+
}
|
12625
|
+
}
|
12620
12626
|
readVPS(vps) {
|
12621
12627
|
const eg = new ExpGolomb(vps);
|
12622
12628
|
// remove header
|