@volcengine/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
package/esm/index.development.js
CHANGED
|
@@ -34500,6 +34500,9 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
34500
34500
|
while (1)
|
|
34501
34501
|
switch (_context2.prev = _context2.next) {
|
|
34502
34502
|
case 0:
|
|
34503
|
+
if (_this._checkStatsErrorTimer) {
|
|
34504
|
+
clearTimeout(_this._checkStatsErrorTimer);
|
|
34505
|
+
}
|
|
34503
34506
|
_this._checkStatsErrorTimer = setTimeout(/* @__PURE__ */ _asyncToGenerator$9(/* @__PURE__ */ _regeneratorRuntime$9().mark(function _callee() {
|
|
34504
34507
|
var stats, _stats$video, framesDecoded, bytesReceived;
|
|
34505
34508
|
return _regeneratorRuntime$9().wrap(function _callee$(_context) {
|
|
@@ -34528,7 +34531,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
34528
34531
|
}
|
|
34529
34532
|
}, _callee);
|
|
34530
34533
|
})), _this._opts.checkStatsErrorDelay);
|
|
34531
|
-
case
|
|
34534
|
+
case 2:
|
|
34532
34535
|
case "end":
|
|
34533
34536
|
return _context2.stop();
|
|
34534
34537
|
}
|
|
@@ -34982,6 +34985,7 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
34982
34985
|
var _this$_loader, _this$_networkEvaluat2;
|
|
34983
34986
|
(_this$_loader = this._loader) === null || _this$_loader === void 0 ? void 0 : _this$_loader.cancel();
|
|
34984
34987
|
(_this$_networkEvaluat2 = this._networkEvaluate) === null || _this$_networkEvaluat2 === void 0 ? void 0 : _this$_networkEvaluat2.destroy();
|
|
34988
|
+
clearTimeout(this._checkStatsErrorTimer);
|
|
34985
34989
|
this._audioTransceicer = null;
|
|
34986
34990
|
this._videoTransceicer = null;
|
|
34987
34991
|
this._mediaStream = null;
|
|
@@ -35136,7 +35140,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
35136
35140
|
}, {
|
|
35137
35141
|
key: "version",
|
|
35138
35142
|
get: function get3() {
|
|
35139
|
-
return "0.2.1-alpha.
|
|
35143
|
+
return "0.2.1-alpha.32";
|
|
35140
35144
|
}
|
|
35141
35145
|
}, {
|
|
35142
35146
|
key: "beforePlayerInit",
|