@byteplus/veplayer-plugin 2.7.1-rc.2 → 2.7.1-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.
@@ -5799,6 +5799,9 @@
5799
5799
  while (1)
5800
5800
  switch (_context2.prev = _context2.next) {
5801
5801
  case 0:
5802
+ if (_this._checkStatsErrorTimer) {
5803
+ clearTimeout(_this._checkStatsErrorTimer);
5804
+ }
5802
5805
  _this._checkStatsErrorTimer = setTimeout(/* @__PURE__ */ _asyncToGenerator$1(/* @__PURE__ */ _regeneratorRuntime$1().mark(function _callee() {
5803
5806
  var stats, _stats$video, framesDecoded, bytesReceived;
5804
5807
  return _regeneratorRuntime$1().wrap(function _callee$(_context) {
@@ -5827,7 +5830,7 @@
5827
5830
  }
5828
5831
  }, _callee);
5829
5832
  })), _this._opts.checkStatsErrorDelay);
5830
- case 1:
5833
+ case 2:
5831
5834
  case "end":
5832
5835
  return _context2.stop();
5833
5836
  }
@@ -6281,6 +6284,7 @@
6281
6284
  var _this$_loader, _this$_networkEvaluat2;
6282
6285
  (_this$_loader = this._loader) === null || _this$_loader === void 0 ? void 0 : _this$_loader.cancel();
6283
6286
  (_this$_networkEvaluat2 = this._networkEvaluate) === null || _this$_networkEvaluat2 === void 0 ? void 0 : _this$_networkEvaluat2.destroy();
6287
+ clearTimeout(this._checkStatsErrorTimer);
6284
6288
  this._audioTransceicer = null;
6285
6289
  this._videoTransceicer = null;
6286
6290
  this._mediaStream = null;
@@ -6435,7 +6439,7 @@
6435
6439
  }, {
6436
6440
  key: "version",
6437
6441
  get: function get() {
6438
- return "0.2.1-alpha.24";
6442
+ return "0.2.1-alpha.32";
6439
6443
  }
6440
6444
  }, {
6441
6445
  key: "beforePlayerInit",