@tencentcloud/trtc-cloud-wx 1.0.9 → 1.0.10

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 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tencentcloud/trtc-cloud-wx",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "",
5
5
  "main": "./trtc-cloud-wx.js",
6
6
  "type": "module",
package/trtc-cloud-wx.js CHANGED
@@ -1424,17 +1424,14 @@ var devDependencies = {
1424
1424
  "docdash-blue": "^1.1.9",
1425
1425
  eslint: "^5.14.1",
1426
1426
  "eslint-config-airbnb-base": "13.1.0",
1427
- "eslint-loader": "^2.1.2",
1428
1427
  "eslint-plugin-import": "^2.27.5",
1429
1428
  "eslint-plugin-node": "^7.0.1",
1430
1429
  "eslint-plugin-promise": "^3.8.0",
1431
1430
  jsdoc: "^4.0.2",
1432
1431
  rollup: "^3.27.1",
1433
- "rollup-plugin-uglify": "^6.0.4",
1434
1432
  taffydb: "^2.7.3",
1435
1433
  tslib: "^2.5.0",
1436
- typedoc: "^0.24.4",
1437
- "typedoc-theme-hierarchy": "^3.1.0",
1434
+ typedoc: "^0.28.0",
1438
1435
  typescript: "^5.0.2"
1439
1436
  };
1440
1437
  var dependencies = {
@@ -1984,12 +1981,13 @@ var TRTCCloud = /*#__PURE__*/function () {
1984
1981
  case 5:
1985
1982
  pusher = _context4.sent;
1986
1983
  logger.info('startLocalPreview success');
1984
+ this.emit('onCameraDidReady');
1987
1985
  this.emit('onFirstVideoFrame', '', exports.TRTCVideoStreamType.TRTCVideoStreamTypeBig, pusher.videoWidth, pusher.videoHeight);
1988
1986
  if (this.isEnterRoom) {
1989
1987
  this.emit('onSendFirstLocalVideoFrame', exports.TRTCVideoStreamType.TRTCVideoStreamTypeBig);
1990
1988
  }
1991
1989
  this.isOpenCamera = true;
1992
- case 10:
1990
+ case 11:
1993
1991
  case "end":
1994
1992
  return _context4.stop();
1995
1993
  }