fcr-ui-scene 3.7.0 → 3.7.1

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.
@@ -1439,6 +1439,8 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1439
1439
  });
1440
1440
  this._localVideoViewSet.clear();
1441
1441
  }
1442
+ this.speakerDetecting = false;
1443
+ this.microphoneDetecting = false;
1442
1444
  (_this$_cameraVideoTra3 = this._cameraVideoTrack) === null || _this$_cameraVideoTra3 === void 0 || _this$_cameraVideoTra3.stop();
1443
1445
  (_this$_microphoneAudi0 = this._microphoneAudioTrack) === null || _this$_microphoneAudi0 === void 0 || _this$_microphoneAudi0.stop();
1444
1446
  this._cameraVideoTrack = undefined;
@@ -114,6 +114,8 @@ export declare class FcrUIRoomProviderImpl implements FcrUIRoomProvider {
114
114
  private _lastRoomControlType?;
115
115
  private _isSelfJoinRoom;
116
116
  private _roomInfo?;
117
+ private _roomSchedule?;
118
+ private _localUserInfo?;
117
119
  private _waitingRoomManagerObserver;
118
120
  private _baseRoomControlObserver;
119
121
  private _userControlObserver;
@@ -146,6 +146,8 @@ var FcrUIRoomProviderImpl = exports.FcrUIRoomProviderImpl = /*#__PURE__*/functio
146
146
  // nextStep: FcrRoomControlType
147
147
  _this._currentRoomControl = roomControl;
148
148
  _this._roomInfo = roomControl.getRoomInfo();
149
+ _this._roomSchedule = roomControl.getRoomSchedule();
150
+ _this._localUserInfo = roomControl.getUserControl().getLocalUser();
149
151
  _this._currentRoomControl.addObserver(_this._baseRoomControlObserver);
150
152
  _this._currentRoomControl.getUserControl().addObserver(_this._userControlObserver);
151
153
  _this._initBaseRoomState(_this._currentRoomControl);
@@ -227,17 +229,17 @@ var FcrUIRoomProviderImpl = exports.FcrUIRoomProviderImpl = /*#__PURE__*/functio
227
229
  }, {
228
230
  key: "getRoomDetailCopyText",
229
231
  value: function getRoomDetailCopyText() {
230
- if (this._currentRoomControl && this._roomInfo) {
232
+ if (this._currentRoomControl) {
231
233
  var _ref2;
232
234
  var roomInfo = this._roomInfo;
233
- var scheduleInfo = this._currentRoomControl.getRoomSchedule();
235
+ var scheduleInfo = this._roomSchedule;
234
236
  var duration = (scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.duration) || 0;
235
237
  var meetingSetTime = (0, _meetingDetail.generateMeetingDuration)((scheduleInfo === null || scheduleInfo === void 0 ? void 0 : scheduleInfo.startTime) || 0, duration);
236
238
  var meetingId = (_ref2 = this._currentRoomControl.getRoomPropertiesByKeyPath('meetingId')) !== null && _ref2 !== void 0 ? _ref2 : roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.roomId;
237
239
  var copyText = '';
238
240
  if (roomInfo) {
239
- var localUserInfo = this._currentRoomControl.getUserControl().getLocalUser();
240
- copyText = (0, _meetingDetail.generateMeetingDetail)(localUserInfo.userName, roomInfo.roomName, meetingSetTime, (roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.inviteLink) || '', meetingId || '', roomInfo.password || '');
241
+ var _this$_localUserInfo;
242
+ copyText = (0, _meetingDetail.generateMeetingDetail)(((_this$_localUserInfo = this._localUserInfo) === null || _this$_localUserInfo === void 0 ? void 0 : _this$_localUserInfo.userName) || '', roomInfo.roomName, meetingSetTime, (roomInfo === null || roomInfo === void 0 ? void 0 : roomInfo.inviteLink) || '', meetingId || '', roomInfo.password || '');
241
243
  }
242
244
  return copyText;
243
245
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fcr-ui-scene",
3
- "version": "3.7.0",
3
+ "version": "3.7.1",
4
4
  "main": "lib/index.js",
5
5
  "repository": "ssh://git@git.agoralab.co/aduc/fcr-ui-scene-desktop.git",
6
6
  "author": "agora.io",
@@ -22,13 +22,13 @@
22
22
  "@react-spring/web": "^9.7.3",
23
23
  "@use-gesture/react": "^10.3.1",
24
24
  "agora-electron-sdk": "4.3.2-build.145-rc.4",
25
- "agora-foundation": "~3.7.0",
26
- "agora-ui-foundation": "~3.7.0",
25
+ "agora-foundation": "~3.7.1",
26
+ "agora-ui-foundation": "~3.7.1",
27
27
  "classnames": "^2.5.1",
28
28
  "core-js": "^3.33.3",
29
29
  "dayjs": "^1.10.4",
30
30
  "electron-screenshots": "^0.5.26",
31
- "fcr-core": "~3.7.0",
31
+ "fcr-core": "~3.7.1",
32
32
  "js-md5": "^0.8.3",
33
33
  "jszip": "^3.10.1",
34
34
  "lodash": "^4.17.21",
@@ -60,7 +60,7 @@
60
60
  "@types/react-dom": "^17.0.11",
61
61
  "@types/react-virtualized": "^9.21.30",
62
62
  "@types/tinycolor2": "^1.4.6",
63
- "agora-toolchain": "~3.7.0",
63
+ "agora-toolchain": "~3.7.1",
64
64
  "core-js": "^3.33.3",
65
65
  "electron": "22.3.27",
66
66
  "husky": "^9.0.11",