hls.js 1.5.14-0.canary.10669 → 1.5.14-0.canary.10672

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
@@ -542,7 +542,7 @@
542
542
  // Some browsers don't allow to use bind on console object anyway
543
543
  // fallback to default if needed
544
544
  try {
545
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10669");
545
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.5.14-0.canary.10672");
546
546
  } catch (e) {
547
547
  /* log fn threw an exception. All logger methods are no-ops. */
548
548
  return createLogger();
@@ -12920,7 +12920,7 @@
12920
12920
  track.params[_prop] = _config2[_prop];
12921
12921
  }
12922
12922
  }
12923
- if (_this2.initVPS !== null || track.pps.length === 0) {
12923
+ if (track.vps !== undefined && track.vps[0] === _this2.initVPS) {
12924
12924
  track.pps.push(unit.data);
12925
12925
  }
12926
12926
  }
@@ -12971,6 +12971,12 @@
12971
12971
  }
12972
12972
  return new Uint8Array(dst.buffer, 0, dstIdx);
12973
12973
  };
12974
+ _proto.pushAccessUnit = function pushAccessUnit(VideoSample, videoTrack) {
12975
+ _BaseVideoParser.prototype.pushAccessUnit.call(this, VideoSample, videoTrack);
12976
+ if (this.initVPS) {
12977
+ this.initVPS = null; // null initVPS to prevent possible track's sps/pps growth until next VPS
12978
+ }
12979
+ };
12974
12980
  _proto.readVPS = function readVPS(vps) {
12975
12981
  var eg = new ExpGolomb(vps);
12976
12982
  // remove header
@@ -17078,7 +17084,7 @@
17078
17084
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
17079
17085
  }
17080
17086
 
17081
- var version = "1.5.14-0.canary.10669";
17087
+ var version = "1.5.14-0.canary.10672";
17082
17088
 
17083
17089
  // ensure the worker ends up in the bundle
17084
17090
  // If the worker should not be included this gets aliased to empty.js