@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/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
package/esm/index.development.js
CHANGED
|
@@ -35438,6 +35438,9 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
35438
35438
|
while (1)
|
|
35439
35439
|
switch (_context2.prev = _context2.next) {
|
|
35440
35440
|
case 0:
|
|
35441
|
+
if (_this._checkStatsErrorTimer) {
|
|
35442
|
+
clearTimeout(_this._checkStatsErrorTimer);
|
|
35443
|
+
}
|
|
35441
35444
|
_this._checkStatsErrorTimer = setTimeout(/* @__PURE__ */ _asyncToGenerator$a(/* @__PURE__ */ _regeneratorRuntime$a().mark(function _callee() {
|
|
35442
35445
|
var stats, _stats$video, framesDecoded, bytesReceived;
|
|
35443
35446
|
return _regeneratorRuntime$a().wrap(function _callee$(_context) {
|
|
@@ -35466,7 +35469,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
35466
35469
|
}
|
|
35467
35470
|
}, _callee);
|
|
35468
35471
|
})), _this._opts.checkStatsErrorDelay);
|
|
35469
|
-
case
|
|
35472
|
+
case 2:
|
|
35470
35473
|
case "end":
|
|
35471
35474
|
return _context2.stop();
|
|
35472
35475
|
}
|
|
@@ -36072,6 +36075,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
36072
36075
|
(_this$_loader = this._loader) === null || _this$_loader === void 0 ? void 0 : _this$_loader.cancel();
|
|
36073
36076
|
(_this$_networkEvaluat2 = this._networkEvaluate) === null || _this$_networkEvaluat2 === void 0 ? void 0 : _this$_networkEvaluat2.destroy();
|
|
36074
36077
|
this._stopRtcReport();
|
|
36078
|
+
clearTimeout(this._checkStatsErrorTimer);
|
|
36075
36079
|
this._audioTransceicer = null;
|
|
36076
36080
|
this._videoTransceicer = null;
|
|
36077
36081
|
this._mediaStream = null;
|
|
@@ -36226,7 +36230,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
36226
36230
|
}, {
|
|
36227
36231
|
key: "version",
|
|
36228
36232
|
get: function get4() {
|
|
36229
|
-
return "0.2.1-alpha.
|
|
36233
|
+
return "0.2.1-alpha.31";
|
|
36230
36234
|
}
|
|
36231
36235
|
}, {
|
|
36232
36236
|
key: "beforePlayerInit",
|