@volcengine/veplayer-plugin 2.4.2-rc.4 → 2.4.2-rc.6
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 +7 -3
- package/esm/index.production.js +1 -1
- package/esm/veplayer.plugin.rtm.development.js +7 -3
- package/esm/veplayer.plugin.rtm.production.js +1 -1
- package/package.json +1 -1
- package/umd/veplayer.plugin.rtm.development.js +7 -3
- package/umd/veplayer.plugin.rtm.production.js +1 -1
|
@@ -4935,7 +4935,8 @@ function getOption(opts) {
|
|
|
4935
4935
|
stallInterval: 400,
|
|
4936
4936
|
networkEvaluateInterval: 1e3,
|
|
4937
4937
|
delayHint: 0,
|
|
4938
|
-
seamlesslyReload: false
|
|
4938
|
+
seamlesslyReload: false,
|
|
4939
|
+
enableSei: true
|
|
4939
4940
|
}, opts);
|
|
4940
4941
|
}
|
|
4941
4942
|
function _getStats(stats) {
|
|
@@ -5970,7 +5971,9 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
5970
5971
|
this._videoTransceicer = pc.addTransceiver("video", {
|
|
5971
5972
|
direction: "recvonly"
|
|
5972
5973
|
});
|
|
5973
|
-
this.
|
|
5974
|
+
if (this._opts.enableSei) {
|
|
5975
|
+
this.initVideoEncodedTransform();
|
|
5976
|
+
}
|
|
5974
5977
|
delayHint = this._opts.delayHint;
|
|
5975
5978
|
if (delayHint) {
|
|
5976
5979
|
this._audioTransceicer.receiver.playoutDelayHint = delayHint;
|
|
@@ -6214,6 +6217,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
6214
6217
|
var _this$_rts6;
|
|
6215
6218
|
_this.player.switchURL = _this._originSwitchFn;
|
|
6216
6219
|
(_this$_rts6 = _this._rts) === null || _this$_rts6 === void 0 ? void 0 : _this$_rts6.destroy();
|
|
6220
|
+
_this._rts = null;
|
|
6217
6221
|
});
|
|
6218
6222
|
return _this;
|
|
6219
6223
|
}
|
|
@@ -6249,7 +6253,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
6249
6253
|
}, {
|
|
6250
6254
|
key: "version",
|
|
6251
6255
|
get: function get() {
|
|
6252
|
-
return "0.2.1-alpha.
|
|
6256
|
+
return "0.2.1-alpha.8";
|
|
6253
6257
|
}
|
|
6254
6258
|
}, {
|
|
6255
6259
|
key: "beforePlayerInit",
|