@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
package/esm/index.development.js
CHANGED
|
@@ -30300,7 +30300,8 @@ function getOption(opts) {
|
|
|
30300
30300
|
stallInterval: 400,
|
|
30301
30301
|
networkEvaluateInterval: 1e3,
|
|
30302
30302
|
delayHint: 0,
|
|
30303
|
-
seamlesslyReload: false
|
|
30303
|
+
seamlesslyReload: false,
|
|
30304
|
+
enableSei: true
|
|
30304
30305
|
}, opts);
|
|
30305
30306
|
}
|
|
30306
30307
|
function _getStats(stats) {
|
|
@@ -31335,7 +31336,9 @@ var Rts = /* @__PURE__ */ function(_EventEmitter) {
|
|
|
31335
31336
|
this._videoTransceicer = pc.addTransceiver("video", {
|
|
31336
31337
|
direction: "recvonly"
|
|
31337
31338
|
});
|
|
31338
|
-
this.
|
|
31339
|
+
if (this._opts.enableSei) {
|
|
31340
|
+
this.initVideoEncodedTransform();
|
|
31341
|
+
}
|
|
31339
31342
|
delayHint = this._opts.delayHint;
|
|
31340
31343
|
if (delayHint) {
|
|
31341
31344
|
this._audioTransceicer.receiver.playoutDelayHint = delayHint;
|
|
@@ -31579,6 +31582,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
31579
31582
|
var _this$_rts6;
|
|
31580
31583
|
_this.player.switchURL = _this._originSwitchFn;
|
|
31581
31584
|
(_this$_rts6 = _this._rts) === null || _this$_rts6 === void 0 ? void 0 : _this$_rts6.destroy();
|
|
31585
|
+
_this._rts = null;
|
|
31582
31586
|
});
|
|
31583
31587
|
return _this;
|
|
31584
31588
|
}
|
|
@@ -31614,7 +31618,7 @@ var RtsPlugin = /* @__PURE__ */ function(_BasePlugin) {
|
|
|
31614
31618
|
}, {
|
|
31615
31619
|
key: "version",
|
|
31616
31620
|
get: function get3() {
|
|
31617
|
-
return "0.2.1-alpha.
|
|
31621
|
+
return "0.2.1-alpha.8";
|
|
31618
31622
|
}
|
|
31619
31623
|
}, {
|
|
31620
31624
|
key: "beforePlayerInit",
|