@byteplus/veplayer-plugin 2.4.2-rc.2 → 2.4.2-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteplus/veplayer-plugin",
3
- "version": "2.4.2-rc.2",
3
+ "version": "2.4.2-rc.3",
4
4
  "main": "./umd/index.production.js",
5
5
  "module": "./esm/index.production.js",
6
6
  "browser": "./umd/index.production.js",
@@ -5914,8 +5914,8 @@
5914
5914
  });
5915
5915
  }
5916
5916
  }
5917
- this._mediaStream.addTrack(this._audio);
5918
- this._mediaStream.addTrack(this._video);
5917
+ this._audio && this._mediaStream.addTrack(this._audio);
5918
+ this._video && this._mediaStream.addTrack(this._video);
5919
5919
  }
5920
5920
  }, {
5921
5921
  key: "initVideoEncodedTransform",
@@ -6253,7 +6253,7 @@
6253
6253
  }, {
6254
6254
  key: "version",
6255
6255
  get: function get() {
6256
- return "0.2.1-alpha.5";
6256
+ return "0.2.1-alpha.6";
6257
6257
  }
6258
6258
  }, {
6259
6259
  key: "beforePlayerInit",