@byteplus/veplayer-plugin 2.7.1-rc.2 → 2.7.1-rc.3
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/esm/index.development.js +6 -2
- package/esm/index.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +6 -2
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.rtm.development.js +6 -2
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -5795,6 +5795,9 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
5795
5795
|
while (1)
|
|
5796
5796
|
switch (_context2.prev = _context2.next) {
|
|
5797
5797
|
case 0:
|
|
5798
|
+
if (_this._checkStatsErrorTimer) {
|
|
5799
|
+
clearTimeout(_this._checkStatsErrorTimer);
|
|
5800
|
+
}
|
|
5798
5801
|
_this._checkStatsErrorTimer = setTimeout(/* @__PURE__ */ _asyncToGenerator$1(/* @__PURE__ */ _regeneratorRuntime$1().mark(function _callee() {
|
|
5799
5802
|
var stats, _stats$video, framesDecoded, bytesReceived;
|
|
5800
5803
|
return _regeneratorRuntime$1().wrap(function _callee$(_context) {
|
|
@@ -5823,7 +5826,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
5823
5826
|
}
|
|
5824
5827
|
}, _callee);
|
|
5825
5828
|
})), _this._opts.checkStatsErrorDelay);
|
|
5826
|
-
case
|
|
5829
|
+
case 2:
|
|
5827
5830
|
case "end":
|
|
5828
5831
|
return _context2.stop();
|
|
5829
5832
|
}
|
|
@@ -6277,6 +6280,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
6277
6280
|
var _this$_loader, _this$_networkEvaluat2;
|
|
6278
6281
|
(_this$_loader = this._loader) === null || _this$_loader === void 0 ? void 0 : _this$_loader.cancel();
|
|
6279
6282
|
(_this$_networkEvaluat2 = this._networkEvaluate) === null || _this$_networkEvaluat2 === void 0 ? void 0 : _this$_networkEvaluat2.destroy();
|
|
6283
|
+
clearTimeout(this._checkStatsErrorTimer);
|
|
6280
6284
|
this._audioTransceicer = null;
|
|
6281
6285
|
this._videoTransceicer = null;
|
|
6282
6286
|
this._mediaStream = null;
|
|
@@ -6431,7 +6435,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
6431
6435
|
}, {
|
|
6432
6436
|
key: "version",
|
|
6433
6437
|
get: function get() {
|
|
6434
|
-
return "0.2.1-alpha.
|
|
6438
|
+
return "0.2.1-alpha.32";
|
|
6435
6439
|
}
|
|
6436
6440
|
}, {
|
|
6437
6441
|
key: "beforePlayerInit",
|