@byteplus/veplayer-plugin 2.8.0-rc.3 → 2.8.0-rc.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/veplayer-plugin",
3
- "version": "2.8.0-rc.3",
3
+ "version": "2.8.0-rc.4",
4
4
  "main": "./umd/index.production.js",
5
5
  "module": "./esm/index.production.js",
6
6
  "browser": "./umd/index.production.js",
@@ -6737,6 +6737,9 @@
6737
6737
  while (1)
6738
6738
  switch (_context2.prev = _context2.next) {
6739
6739
  case 0:
6740
+ if (_this._checkStatsErrorTimer) {
6741
+ clearTimeout(_this._checkStatsErrorTimer);
6742
+ }
6740
6743
  _this._checkStatsErrorTimer = setTimeout(/* @__PURE__ */ _asyncToGenerator$1(/* @__PURE__ */ _regeneratorRuntime$1().mark(function _callee() {
6741
6744
  var stats, _stats$video, framesDecoded, bytesReceived;
6742
6745
  return _regeneratorRuntime$1().wrap(function _callee$(_context) {
@@ -6765,7 +6768,7 @@
6765
6768
  }
6766
6769
  }, _callee);
6767
6770
  })), _this._opts.checkStatsErrorDelay);
6768
- case 1:
6771
+ case 2:
6769
6772
  case "end":
6770
6773
  return _context2.stop();
6771
6774
  }
@@ -7371,6 +7374,7 @@
7371
7374
  (_this$_loader = this._loader) === null || _this$_loader === void 0 ? void 0 : _this$_loader.cancel();
7372
7375
  (_this$_networkEvaluat2 = this._networkEvaluate) === null || _this$_networkEvaluat2 === void 0 ? void 0 : _this$_networkEvaluat2.destroy();
7373
7376
  this._stopRtcReport();
7377
+ clearTimeout(this._checkStatsErrorTimer);
7374
7378
  this._audioTransceicer = null;
7375
7379
  this._videoTransceicer = null;
7376
7380
  this._mediaStream = null;
@@ -7525,7 +7529,7 @@
7525
7529
  }, {
7526
7530
  key: "version",
7527
7531
  get: function get() {
7528
- return "0.2.1-alpha.30";
7532
+ return "0.2.1-alpha.31";
7529
7533
  }
7530
7534
  }, {
7531
7535
  key: "beforePlayerInit",