@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@volcengine/veplayer-plugin",
3
- "version": "2.4.2-rc.4",
3
+ "version": "2.4.2-rc.6",
4
4
  "main": "./umd/index.production.js",
5
5
  "module": "./esm/index.production.js",
6
6
  "browser": "./umd/index.production.js",
@@ -4939,7 +4939,8 @@
4939
4939
  stallInterval: 400,
4940
4940
  networkEvaluateInterval: 1e3,
4941
4941
  delayHint: 0,
4942
- seamlesslyReload: false
4942
+ seamlesslyReload: false,
4943
+ enableSei: true
4943
4944
  }, opts);
4944
4945
  }
4945
4946
  function _getStats(stats) {
@@ -5974,7 +5975,9 @@
5974
5975
  this._videoTransceicer = pc.addTransceiver("video", {
5975
5976
  direction: "recvonly"
5976
5977
  });
5977
- this.initVideoEncodedTransform();
5978
+ if (this._opts.enableSei) {
5979
+ this.initVideoEncodedTransform();
5980
+ }
5978
5981
  delayHint = this._opts.delayHint;
5979
5982
  if (delayHint) {
5980
5983
  this._audioTransceicer.receiver.playoutDelayHint = delayHint;
@@ -6218,6 +6221,7 @@
6218
6221
  var _this$_rts6;
6219
6222
  _this.player.switchURL = _this._originSwitchFn;
6220
6223
  (_this$_rts6 = _this._rts) === null || _this$_rts6 === void 0 ? void 0 : _this$_rts6.destroy();
6224
+ _this._rts = null;
6221
6225
  });
6222
6226
  return _this;
6223
6227
  }
@@ -6253,7 +6257,7 @@
6253
6257
  }, {
6254
6258
  key: "version",
6255
6259
  get: function get() {
6256
- return "0.2.1-alpha.6";
6260
+ return "0.2.1-alpha.8";
6257
6261
  }
6258
6262
  }, {
6259
6263
  key: "beforePlayerInit",