@tencentcloud/trtc-cloud-wx 0.0.13 → 0.0.14

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/trtc-cloud-wx.js +3 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/trtc-cloud-wx",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "",
5
5
  "main": "./trtc-cloud-wx.js",
6
6
  "type": "module",
package/trtc-cloud-wx.js CHANGED
@@ -814,7 +814,7 @@ var Logger = /*#__PURE__*/function () {
814
814
  var logger = new Logger();
815
815
 
816
816
  var name = "@tencentcloud/trtc-cloud-wx";
817
- var version = "0.0.12";
817
+ var version = "0.0.13";
818
818
  var description = "";
819
819
  var main = "dist/trtc-cloud-wx.js";
820
820
  var module$1 = "dist/trtc-cloud-wx.js";
@@ -1178,7 +1178,8 @@ var TRTCCloud = /*#__PURE__*/function () {
1178
1178
  if (_this5.trtc.getPusherAttributes().videoPreview === true) {
1179
1179
  // 如果进房前有打开摄像头,需要开启视频上行,并抛出 onSendFirstLocalVideoFrame 事件
1180
1180
  var _pusher = _this5.trtc.setPusherAttributes({
1181
- enableCamera: true
1181
+ enableCamera: true,
1182
+ videoPreview: false
1182
1183
  });
1183
1184
  _this5.InterfaceEventEmitter.emit('pusherAttributesChange', {
1184
1185
  pusher: _pusher,