fcr-ui-scene 3.8.0-alpha → 3.8.1-alpha
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/lib/base.js +2 -2
- package/lib/electron/bootstrap-sdk.js +6 -6
- package/lib/electron/exit-codes.js +11 -11
- package/lib/electron/hang-detection/manager.js +4 -4
- package/lib/electron/ipc-protocol.js +12 -12
- package/lib/electron/process-manager/event-manager.js +30 -30
- package/lib/electron/process-manager/index.js +88 -88
- package/lib/electron/process-manager/state-manager.js +57 -57
- package/lib/electron/process-manager/types.js +16 -16
- package/lib/electron/sdk-helper.js +3 -3
- package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
- package/lib/electron/window-proxy/main-process-handler.js +14 -14
- package/lib/fragments/annotation/style.css +9 -9
- package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
- package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
- package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
- package/lib/fragments/annotation/toolbar/style.css +55 -55
- package/lib/fragments/whiteboard/cursor.css +77 -77
- package/lib/fragments/whiteboard/store.js +1 -1
- package/lib/fragments/whiteboard/style.css +4 -4
- package/lib/global.css +62 -62
- package/lib/global.d.ts +27 -27
- package/lib/modules/action-bar/components/chat/index.css +88 -88
- package/lib/modules/action-bar/components/more/index.css +114 -114
- package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
- package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
- package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
- package/lib/modules/action-bar/components/participants/index.css +21 -21
- package/lib/modules/action-bar/components/record/index.css +39 -39
- package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
- package/lib/modules/action-bar/index.css +358 -358
- package/lib/modules/action-bar/main-scene/view.js +3 -3
- package/lib/modules/audio-stream/index.js +3 -3
- package/lib/modules/caption/draggable-container/index.css +10 -10
- package/lib/modules/caption/draggable-container/index.js +34 -12
- package/lib/modules/caption/store.d.ts +1 -4
- package/lib/modules/caption/store.js +10 -18
- package/lib/modules/caption/view.css +158 -158
- package/lib/modules/caption/view.js +16 -27
- package/lib/modules/chat/components/chat-bar/index.css +89 -89
- package/lib/modules/chat/components/chat-select/index.css +185 -185
- package/lib/modules/chat/index.css +124 -124
- package/lib/modules/chat/store.d.ts +1 -0
- package/lib/modules/chat/store.js +2 -2
- package/lib/modules/components/apps/app-item/index.css +49 -49
- package/lib/modules/components/apps/index.css +9 -9
- package/lib/modules/components/caption-menu/index.css +58 -58
- package/lib/modules/components/caption-menu/index.d.ts +2 -0
- package/lib/modules/components/caption-menu/index.js +13 -10
- package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
- package/lib/modules/components/caption-menu/steps/index.css +73 -73
- package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
- package/lib/modules/components/control-bar/components/loading/index.css +76 -76
- package/lib/modules/components/control-bar/components/progress/style.css +51 -51
- package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
- package/lib/modules/components/control-bar/index.css +99 -99
- package/lib/modules/components/device-control/index.css +177 -177
- package/lib/modules/components/leave-meeting/components/index.css +151 -151
- package/lib/modules/components/leave-meeting/style.css +9 -9
- package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
- package/lib/modules/components/member-window/index.css +502 -502
- package/lib/modules/components/security-menu/index.css +42 -42
- package/lib/modules/components/tab-frame/index.css +40 -40
- package/lib/modules/components/toolbar/components/item/style.css +94 -94
- package/lib/modules/components/toolbar/components/panel/style.css +86 -86
- package/lib/modules/components/toolbar/style.css +85 -85
- package/lib/modules/connection-gateway/components/computer/index.css +12 -12
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
- package/lib/modules/connection-gateway/components/phone/index.css +49 -49
- package/lib/modules/connection-gateway/index.css +6 -6
- package/lib/modules/control-bar/components/carmera/index.js +7 -39
- package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
- package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
- package/lib/modules/control-bar/components/microphone/index.js +3 -43
- package/lib/modules/control-bar/components/more-actions/index.css +103 -103
- package/lib/modules/control-bar/components/share-audio/index.css +90 -90
- package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
- package/lib/modules/control-bar/components/share-audio/index.js +4 -10
- package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
- package/lib/modules/control-bar/hooks.d.ts +1 -0
- package/lib/modules/control-bar/hooks.js +140 -1
- package/lib/modules/control-bar/index.css +340 -340
- package/lib/modules/control-bar/index.js +4 -4
- package/lib/modules/control-bar/store.d.ts +3 -4
- package/lib/modules/control-bar/store.js +37 -30
- package/lib/modules/control-bar/type.d.ts +3 -0
- package/lib/modules/control-bar/view.js +40 -57
- package/lib/modules/device-pretest/index.css +123 -123
- package/lib/modules/dialog/components/confirm/index.css +24 -24
- package/lib/modules/dialog/components/confirm/index.js +0 -1
- package/lib/modules/dialog/components/dialog-container/index.css +112 -112
- package/lib/modules/dialog/components/dialog-container/index.js +1 -0
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
- package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
- package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
- package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
- package/lib/modules/dialog/dialogs/widget/index.js +4 -4
- package/lib/modules/dialog/index.css +56 -56
- package/lib/modules/event-toast/index.css +25 -25
- package/lib/modules/event-toast/index.js +7 -1
- package/lib/modules/interpreter/action/add-btn/index.css +4 -4
- package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
- package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
- package/lib/modules/interpreter/dialog-content/index.css +33 -33
- package/lib/modules/interpreter/footer/index.css +11 -11
- package/lib/modules/interpreter/index.css +4 -4
- package/lib/modules/interpreter/interpreter-list/index.css +8 -8
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
- package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
- package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
- package/lib/modules/invite/components/voip-invite.css +26 -26
- package/lib/modules/invite/index.css +331 -331
- package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
- package/lib/modules/layout/components/index.css +653 -653
- package/lib/modules/layout/index.css +59 -59
- package/lib/modules/layout/store.base.d.ts +1 -1
- package/lib/modules/layout/store.base.js +5 -5
- package/lib/modules/layout/store.electron.d.ts +0 -1
- package/lib/modules/layout/store.electron.js +37 -133
- package/lib/modules/layout/type.js +5 -5
- package/lib/modules/notification/index.css +77 -77
- package/lib/modules/notification/interpreter-status/index.css +76 -76
- package/lib/modules/participant/components/confirm-input/index.css +4 -4
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
- package/lib/modules/participant/index.css +102 -102
- package/lib/modules/participant/store.base.js +183 -185
- package/lib/modules/pc-audio-connect/index.css +12 -12
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
- package/lib/modules/phone-audio-connect/index.css +56 -56
- package/lib/modules/secondary-window/store.js +8 -10
- package/lib/modules/setting/audio-settings/index.css +195 -195
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
- package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
- package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
- package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
- package/lib/modules/setting/general-settings/index.css +41 -41
- package/lib/modules/setting/index.css +112 -112
- package/lib/modules/setting/index.js +4 -2
- package/lib/modules/setting/minutes-settings/index.css +65 -65
- package/lib/modules/setting/state/index.css +207 -207
- package/lib/modules/setting/storage-settings/index.css +91 -91
- package/lib/modules/setting/store.base.d.ts +5 -3
- package/lib/modules/setting/store.base.js +64 -43
- package/lib/modules/setting/store.electron.d.ts +1 -1
- package/lib/modules/setting/store.electron.js +3 -7
- package/lib/modules/setting/translate-settings/index.css +47 -47
- package/lib/modules/setting/video-settings/index.css +357 -357
- package/lib/modules/setting/view.js +3 -2
- package/lib/modules/share-screen/components/control-bar/index.css +75 -75
- package/lib/modules/share-screen/components/selection/index.css +73 -73
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
- package/lib/modules/share-screen/index.js +10 -10
- package/lib/modules/share-screen/store.base.js +2 -2
- package/lib/modules/share-screen/store.electron.js +51 -23
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
- package/lib/modules/state-bar/index.css +706 -706
- package/lib/modules/state-bar/main-scene/store.base.js +2 -2
- package/lib/modules/state-bar/meeting-detail.css +137 -137
- package/lib/modules/state-bar/meeting-network-state.css +150 -150
- package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
- package/lib/modules/subtitles-history/components/list-item.js +4 -7
- package/lib/modules/subtitles-history/components/settings/index.css +5 -5
- package/lib/modules/subtitles-history/index.css +129 -129
- package/lib/modules/subtitles-history/store.base.d.ts +3 -1
- package/lib/modules/subtitles-history/store.base.js +11 -1
- package/lib/modules/video-window/components/members/index.css +51 -51
- package/lib/modules/video-window/components/speaking/index.css +86 -86
- package/lib/modules/video-window/components/topControl/index.css +35 -35
- package/lib/modules/video-window/index.css +21 -21
- package/lib/modules/video-window/popover-watcher.js +3 -3
- package/lib/modules/video-window/store.js +10 -10
- package/lib/modules/waiting-room-layout/index.css +96 -96
- package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
- package/lib/modules/whiteboard/components/loading/index.css +76 -76
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
- package/lib/modules/whiteboard/components/pagination/index.css +228 -228
- package/lib/modules/whiteboard/components/progress/style.css +51 -51
- package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
- package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
- package/lib/modules/whiteboard/style.css +140 -140
- package/lib/modules/widget/index.css +9 -9
- package/lib/object-manager.js +8 -8
- package/lib/plugins/module-dev-plugin.js +11 -11
- package/lib/providers/ability-provider.js +17 -17
- package/lib/providers/board-share/struct.js +6 -6
- package/lib/providers/dialog/provider.base.js +2 -2
- package/lib/providers/dialog/type.js +3 -3
- package/lib/providers/multi-display-provider.js +4 -4
- package/lib/providers/privilege-provider.js +7 -7
- package/lib/providers/screen-share/provider.base.d.ts +2 -13
- package/lib/providers/screen-share/provider.base.js +28 -35
- package/lib/providers/screen-share/provider.electron.d.ts +0 -5
- package/lib/providers/screen-share/provider.electron.js +31 -18
- package/lib/providers/screen-share/stream-state-sync.js +18 -18
- package/lib/providers/screen-share/struct.js +24 -24
- package/lib/providers/screen-share/type.d.ts +0 -16
- package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
- package/lib/providers/stt-provider/stt-provider.js +145 -146
- package/lib/providers/stt-provider/type.d.ts +2 -10
- package/lib/providers/stt-provider/type.js +3 -3
- package/lib/providers/window/main-window.js +2 -2
- package/lib/providers/window/provider.js +5 -5
- package/lib/providers/window/renderer-window.js +2 -2
- package/lib/schema.js +26 -26
- package/lib/shared-data/meeting-time.js +8 -8
- package/lib/shared-data/setting.js +3 -3
- package/lib/translations/enUS.d.ts +12 -1
- package/lib/translations/enUS.js +22 -19
- package/lib/translations/zhCN.d.ts +12 -1
- package/lib/translations/zhCN.js +20 -17
- package/lib/type.js +21 -21
- package/lib/ui-scene-switch.js +2 -2
- package/lib/utilities/constant.js +6 -6
- package/lib/utilities/renderer.js +8 -8
- package/lib/utilities/shared-storage.js +2 -2
- package/lib/utilities/tools.js +14 -14
- package/package.json +78 -79
- package/public/assets/fcr_chat_reddot.svg +5 -5
- package/public/assets/fcr_grid_big.svg +3 -3
- package/public/assets/fcr_leave2.svg +58 -58
- package/public/assets/fcr_listontop_big.svg +3 -3
- package/public/assets/step-gradient.svg +10 -10
- package/public/fragment.html +10 -10
- package/public/index.html +183 -183
- package/public/meeting-manager.js +405 -405
|
@@ -229,10 +229,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
229
229
|
(0, _defineProperty2["default"])(this, "getAllowedOperations", (0, _mobxUtils.computedFn)(function (targetRole, isSelf) {
|
|
230
230
|
return _this._privilegeProvider.getAllowedOperations(targetRole, isSelf);
|
|
231
231
|
}));
|
|
232
|
-
/**
|
|
233
|
-
* 格式化用户数据为UI显示格式
|
|
234
|
-
* @param user 原始用户数据
|
|
235
|
-
* @returns 格式化后的用户数据
|
|
232
|
+
/**
|
|
233
|
+
* 格式化用户数据为UI显示格式
|
|
234
|
+
* @param user 原始用户数据
|
|
235
|
+
* @returns 格式化后的用户数据
|
|
236
236
|
*/
|
|
237
237
|
(0, _defineProperty2["default"])(this, "_formatUser", function (user) {
|
|
238
238
|
try {
|
|
@@ -1099,9 +1099,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1099
1099
|
}, {
|
|
1100
1100
|
key: "_getDefaultUserData",
|
|
1101
1101
|
value:
|
|
1102
|
-
/**
|
|
1103
|
-
* 获取默认用户数据(用于错误处理)
|
|
1104
|
-
* @returns 默认用户数据
|
|
1102
|
+
/**
|
|
1103
|
+
* 获取默认用户数据(用于错误处理)
|
|
1104
|
+
* @returns 默认用户数据
|
|
1105
1105
|
*/
|
|
1106
1106
|
function _getDefaultUserData() {
|
|
1107
1107
|
return {
|
|
@@ -1125,11 +1125,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1125
1125
|
};
|
|
1126
1126
|
}
|
|
1127
1127
|
|
|
1128
|
-
/**
|
|
1129
|
-
* 获取用户基础信息
|
|
1130
|
-
* @param user 用户数据
|
|
1131
|
-
* @param isSelf 是否为当前用户
|
|
1132
|
-
* @returns 基础信息对象
|
|
1128
|
+
/**
|
|
1129
|
+
* 获取用户基础信息
|
|
1130
|
+
* @param user 用户数据
|
|
1131
|
+
* @param isSelf 是否为当前用户
|
|
1132
|
+
* @returns 基础信息对象
|
|
1133
1133
|
*/
|
|
1134
1134
|
}, {
|
|
1135
1135
|
key: "_getUserBaseInfo",
|
|
@@ -1148,12 +1148,12 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1148
1148
|
};
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
|
-
/**
|
|
1152
|
-
* 获取用户设备信息
|
|
1153
|
-
* @param user 用户数据
|
|
1154
|
-
* @param userStreams 用户流数据
|
|
1155
|
-
* @param isSelf 是否为当前用户
|
|
1156
|
-
* @returns 设备信息对象
|
|
1151
|
+
/**
|
|
1152
|
+
* 获取用户设备信息
|
|
1153
|
+
* @param user 用户数据
|
|
1154
|
+
* @param userStreams 用户流数据
|
|
1155
|
+
* @param isSelf 是否为当前用户
|
|
1156
|
+
* @returns 设备信息对象
|
|
1157
1157
|
*/
|
|
1158
1158
|
}, {
|
|
1159
1159
|
key: "_getUserDeviceInfo",
|
|
@@ -1172,11 +1172,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1172
1172
|
}
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
/**
|
|
1176
|
-
* 获取普通用户(电脑客户端)的设备信息
|
|
1177
|
-
* @param userStreams 用户流数据
|
|
1178
|
-
* @param isSelf 是否为当前用户
|
|
1179
|
-
* @returns 设备信息对象
|
|
1175
|
+
/**
|
|
1176
|
+
* 获取普通用户(电脑客户端)的设备信息
|
|
1177
|
+
* @param userStreams 用户流数据
|
|
1178
|
+
* @param isSelf 是否为当前用户
|
|
1179
|
+
* @returns 设备信息对象
|
|
1180
1180
|
*/
|
|
1181
1181
|
}, {
|
|
1182
1182
|
key: "_getNormalUserDeviceInfo",
|
|
@@ -1205,10 +1205,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1205
1205
|
}
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
1208
|
-
/**
|
|
1209
|
-
* 获取PSTN电话用户的设备信息
|
|
1210
|
-
* @param userStreams 用户流数据
|
|
1211
|
-
* @returns 设备信息对象
|
|
1208
|
+
/**
|
|
1209
|
+
* 获取PSTN电话用户的设备信息
|
|
1210
|
+
* @param userStreams 用户流数据
|
|
1211
|
+
* @returns 设备信息对象
|
|
1212
1212
|
*/
|
|
1213
1213
|
}, {
|
|
1214
1214
|
key: "_getPstnUserDeviceInfo",
|
|
@@ -1223,10 +1223,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1223
1223
|
};
|
|
1224
1224
|
}
|
|
1225
1225
|
|
|
1226
|
-
/**
|
|
1227
|
-
* 获取SIP/H323会议系统用户的设备信息
|
|
1228
|
-
* @param userStreams 用户流数据
|
|
1229
|
-
* @returns 设备信息对象
|
|
1226
|
+
/**
|
|
1227
|
+
* 获取SIP/H323会议系统用户的设备信息
|
|
1228
|
+
* @param userStreams 用户流数据
|
|
1229
|
+
* @returns 设备信息对象
|
|
1230
1230
|
*/
|
|
1231
1231
|
}, {
|
|
1232
1232
|
key: "_getSipOrH323UserDeviceInfo",
|
|
@@ -1241,9 +1241,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1241
1241
|
};
|
|
1242
1242
|
}
|
|
1243
1243
|
|
|
1244
|
-
/**
|
|
1245
|
-
* 获取默认设备信息
|
|
1246
|
-
* @returns 默认设备信息对象
|
|
1244
|
+
/**
|
|
1245
|
+
* 获取默认设备信息
|
|
1246
|
+
* @returns 默认设备信息对象
|
|
1247
1247
|
*/
|
|
1248
1248
|
}, {
|
|
1249
1249
|
key: "_getDefaultDeviceInfo",
|
|
@@ -1257,11 +1257,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1257
1257
|
};
|
|
1258
1258
|
}
|
|
1259
1259
|
|
|
1260
|
-
/**
|
|
1261
|
-
* 获取用户流状态信息
|
|
1262
|
-
* @param user 用户数据
|
|
1263
|
-
* @param userStreams 用户流数据
|
|
1264
|
-
* @returns 流状态信息对象
|
|
1260
|
+
/**
|
|
1261
|
+
* 获取用户流状态信息
|
|
1262
|
+
* @param user 用户数据
|
|
1263
|
+
* @param userStreams 用户流数据
|
|
1264
|
+
* @returns 流状态信息对象
|
|
1265
1265
|
*/
|
|
1266
1266
|
}, {
|
|
1267
1267
|
key: "_getUserStreamInfo",
|
|
@@ -1279,11 +1279,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1279
1279
|
};
|
|
1280
1280
|
}
|
|
1281
1281
|
|
|
1282
|
-
/**
|
|
1283
|
-
* 根据视频源类型查找流
|
|
1284
|
-
* @param userStreams 用户流数组
|
|
1285
|
-
* @param videoSourceType 视频源类型
|
|
1286
|
-
* @returns 找到的流或undefined
|
|
1282
|
+
/**
|
|
1283
|
+
* 根据视频源类型查找流
|
|
1284
|
+
* @param userStreams 用户流数组
|
|
1285
|
+
* @param videoSourceType 视频源类型
|
|
1286
|
+
* @returns 找到的流或undefined
|
|
1287
1287
|
*/
|
|
1288
1288
|
}, {
|
|
1289
1289
|
key: "_findStreamByVideoSourceType",
|
|
@@ -1293,11 +1293,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1293
1293
|
});
|
|
1294
1294
|
}
|
|
1295
1295
|
|
|
1296
|
-
/**
|
|
1297
|
-
* 根据连接器类型查找流
|
|
1298
|
-
* @param userStreams 用户流数组
|
|
1299
|
-
* @param connectorType 连接器类型
|
|
1300
|
-
* @returns 找到的流或undefined
|
|
1296
|
+
/**
|
|
1297
|
+
* 根据连接器类型查找流
|
|
1298
|
+
* @param userStreams 用户流数组
|
|
1299
|
+
* @param connectorType 连接器类型
|
|
1300
|
+
* @returns 找到的流或undefined
|
|
1301
1301
|
*/
|
|
1302
1302
|
}, {
|
|
1303
1303
|
key: "_findStreamByConnectorType",
|
|
@@ -1307,10 +1307,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1307
1307
|
});
|
|
1308
1308
|
}
|
|
1309
1309
|
|
|
1310
|
-
/**
|
|
1311
|
-
* 查找SIP或H323流
|
|
1312
|
-
* @param userStreams 用户流数组
|
|
1313
|
-
* @returns 找到的流或undefined
|
|
1310
|
+
/**
|
|
1311
|
+
* 查找SIP或H323流
|
|
1312
|
+
* @param userStreams 用户流数组
|
|
1313
|
+
* @returns 找到的流或undefined
|
|
1314
1314
|
*/
|
|
1315
1315
|
}, {
|
|
1316
1316
|
key: "_findSipOrH323Stream",
|
|
@@ -1320,10 +1320,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1320
1320
|
});
|
|
1321
1321
|
}
|
|
1322
1322
|
|
|
1323
|
-
/**
|
|
1324
|
-
* 检查流是否有音频发布并已启动
|
|
1325
|
-
* @param stream 流信息
|
|
1326
|
-
* @returns 是否有音频发布并已启动
|
|
1323
|
+
/**
|
|
1324
|
+
* 检查流是否有音频发布并已启动
|
|
1325
|
+
* @param stream 流信息
|
|
1326
|
+
* @returns 是否有音频发布并已启动
|
|
1327
1327
|
*/
|
|
1328
1328
|
}, {
|
|
1329
1329
|
key: "_hasAudioPublishedAndStarted",
|
|
@@ -1331,10 +1331,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1331
1331
|
return (stream === null || stream === void 0 ? void 0 : stream.audioSourceState) === _fcrCore.FcrMediaSourceState.OPEN;
|
|
1332
1332
|
}
|
|
1333
1333
|
|
|
1334
|
-
/**
|
|
1335
|
-
* 检查流是否有视频发布并已启动
|
|
1336
|
-
* @param stream 流信息
|
|
1337
|
-
* @returns 是否有视频发布并已启动
|
|
1334
|
+
/**
|
|
1335
|
+
* 检查流是否有视频发布并已启动
|
|
1336
|
+
* @param stream 流信息
|
|
1337
|
+
* @returns 是否有视频发布并已启动
|
|
1338
1338
|
*/
|
|
1339
1339
|
}, {
|
|
1340
1340
|
key: "_hasVideoPublishedAndStarted",
|
|
@@ -1500,11 +1500,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1500
1500
|
|
|
1501
1501
|
// [所有其他方法的完整实现...]
|
|
1502
1502
|
|
|
1503
|
-
/**
|
|
1504
|
-
* 检查是否在会话持续时间内,避免重复发送请求
|
|
1505
|
-
* @param userId 用户ID
|
|
1506
|
-
* @param timestampMap 时间戳映射表
|
|
1507
|
-
* @returns 如果在持续时间内返回true,否则返回false
|
|
1503
|
+
/**
|
|
1504
|
+
* 检查是否在会话持续时间内,避免重复发送请求
|
|
1505
|
+
* @param userId 用户ID
|
|
1506
|
+
* @param timestampMap 时间戳映射表
|
|
1507
|
+
* @returns 如果在持续时间内返回true,否则返回false
|
|
1508
1508
|
*/
|
|
1509
1509
|
}, {
|
|
1510
1510
|
key: "_isWithinSessionDuration",
|
|
@@ -1514,11 +1514,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1514
1514
|
return now - ((_timestampMap$get = timestampMap.get(userId)) !== null && _timestampMap$get !== void 0 ? _timestampMap$get : 0) <= _constant.SESSION_DURATION * 1000;
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
|
-
/**
|
|
1518
|
-
* 设置权限并更新UI状态
|
|
1519
|
-
* 设置权限后需要同步更新UI状态
|
|
1520
|
-
* @param setPrivilege 设置权限的函数
|
|
1521
|
-
* @param uiState 要更新的UI状态
|
|
1517
|
+
/**
|
|
1518
|
+
* 设置权限并更新UI状态
|
|
1519
|
+
* 设置权限后需要同步更新UI状态
|
|
1520
|
+
* @param setPrivilege 设置权限的函数
|
|
1521
|
+
* @param uiState 要更新的UI状态
|
|
1522
1522
|
*/
|
|
1523
1523
|
}, {
|
|
1524
1524
|
key: "_setPrivilegeAndUpdateUI",
|
|
@@ -1527,10 +1527,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1527
1527
|
this._sharedSecurityDataSource.setCheckedStateMap(_objectSpread(_objectSpread({}, this.checkedStateMap), uiState));
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
1530
|
-
/**
|
|
1531
|
-
* 显示toast消息的辅助方法
|
|
1532
|
-
* @param message 消息内容
|
|
1533
|
-
* @param type 消息类型,默认为'normal'
|
|
1530
|
+
/**
|
|
1531
|
+
* 显示toast消息的辅助方法
|
|
1532
|
+
* @param message 消息内容
|
|
1533
|
+
* @param type 消息类型,默认为'normal'
|
|
1534
1534
|
*/
|
|
1535
1535
|
}, {
|
|
1536
1536
|
key: "_showToast",
|
|
@@ -1542,9 +1542,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1542
1542
|
});
|
|
1543
1543
|
}
|
|
1544
1544
|
|
|
1545
|
-
/**
|
|
1546
|
-
* 打开对话框的辅助方法
|
|
1547
|
-
* @param dialogKey 对话框键值
|
|
1545
|
+
/**
|
|
1546
|
+
* 打开对话框的辅助方法
|
|
1547
|
+
* @param dialogKey 对话框键值
|
|
1548
1548
|
*/
|
|
1549
1549
|
}, {
|
|
1550
1550
|
key: "_openDialog",
|
|
@@ -1552,11 +1552,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1552
1552
|
this._dialogProvider.openDialog(dialogKey, params);
|
|
1553
1553
|
}
|
|
1554
1554
|
|
|
1555
|
-
/**
|
|
1556
|
-
* 更新流发布权限的辅助方法
|
|
1557
|
-
* @param streamId 流ID
|
|
1558
|
-
* @param audioPrivilege 音频权限
|
|
1559
|
-
* @param videoPrivilege 视频权限
|
|
1555
|
+
/**
|
|
1556
|
+
* 更新流发布权限的辅助方法
|
|
1557
|
+
* @param streamId 流ID
|
|
1558
|
+
* @param audioPrivilege 音频权限
|
|
1559
|
+
* @param videoPrivilege 视频权限
|
|
1560
1560
|
*/
|
|
1561
1561
|
}, {
|
|
1562
1562
|
key: "_updateStreamPrivilege",
|
|
@@ -1567,10 +1567,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1567
1567
|
}));
|
|
1568
1568
|
}
|
|
1569
1569
|
|
|
1570
|
-
/**
|
|
1571
|
-
* 获取用户的目标音频流
|
|
1572
|
-
* @param userId 用户ID
|
|
1573
|
-
* @returns 目标流信息,包含硬件设备流和普通客户端流
|
|
1570
|
+
/**
|
|
1571
|
+
* 获取用户的目标音频流
|
|
1572
|
+
* @param userId 用户ID
|
|
1573
|
+
* @returns 目标流信息,包含硬件设备流和普通客户端流
|
|
1574
1574
|
*/
|
|
1575
1575
|
}, {
|
|
1576
1576
|
key: "_getUserTargetAudioStreams",
|
|
@@ -1593,9 +1593,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1593
1593
|
};
|
|
1594
1594
|
}
|
|
1595
1595
|
|
|
1596
|
-
/**
|
|
1597
|
-
* 静音指定用户的音频
|
|
1598
|
-
* @param userId 用户ID
|
|
1596
|
+
/**
|
|
1597
|
+
* 静音指定用户的音频
|
|
1598
|
+
* @param userId 用户ID
|
|
1599
1599
|
*/
|
|
1600
1600
|
}, {
|
|
1601
1601
|
key: "_muteUserAudio",
|
|
@@ -1622,9 +1622,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1622
1622
|
}
|
|
1623
1623
|
}
|
|
1624
1624
|
|
|
1625
|
-
/**
|
|
1626
|
-
* 取消静音指定用户的音频
|
|
1627
|
-
* @param userId 用户ID
|
|
1625
|
+
/**
|
|
1626
|
+
* 取消静音指定用户的音频
|
|
1627
|
+
* @param userId 用户ID
|
|
1628
1628
|
*/
|
|
1629
1629
|
}, {
|
|
1630
1630
|
key: "_unmuteUserAudio",
|
|
@@ -1660,9 +1660,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1660
1660
|
});
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
|
-
/**
|
|
1664
|
-
* 静音指定用户的视频
|
|
1665
|
-
* @param userId 用户ID
|
|
1663
|
+
/**
|
|
1664
|
+
* 静音指定用户的视频
|
|
1665
|
+
* @param userId 用户ID
|
|
1666
1666
|
*/
|
|
1667
1667
|
}, {
|
|
1668
1668
|
key: "_muteUserVideo",
|
|
@@ -1742,33 +1742,31 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1742
1742
|
}, {
|
|
1743
1743
|
key: "_setAsHost",
|
|
1744
1744
|
value: function _setAsHost(userId) {
|
|
1745
|
-
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1746
|
-
if (!canSetHost) {
|
|
1747
|
-
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1748
|
-
return;
|
|
1749
|
-
}
|
|
1750
1745
|
this._showSetHostDialog(userId, _type.FcrUserRole.HOST);
|
|
1751
1746
|
}
|
|
1752
1747
|
}, {
|
|
1753
1748
|
key: "_setAsCoHost",
|
|
1754
1749
|
value: function _setAsCoHost(userId) {
|
|
1755
|
-
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1756
|
-
if (!canSetHost) {
|
|
1757
|
-
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
1758
|
-
return;
|
|
1759
|
-
}
|
|
1760
1750
|
this._showSetHostDialog(userId, _type.FcrUserRole.COHOST);
|
|
1761
1751
|
}
|
|
1762
1752
|
|
|
1763
|
-
/**
|
|
1764
|
-
* 显示设置主持人/联席主持人对话框
|
|
1765
|
-
* @param userId 用户ID
|
|
1766
|
-
* @param type 角色类型
|
|
1753
|
+
/**
|
|
1754
|
+
* 显示设置主持人/联席主持人对话框
|
|
1755
|
+
* @param userId 用户ID
|
|
1756
|
+
* @param type 角色类型
|
|
1767
1757
|
*/
|
|
1768
1758
|
}, {
|
|
1769
1759
|
key: "_showSetHostDialog",
|
|
1770
1760
|
value: function _showSetHostDialog(userId, type) {
|
|
1771
1761
|
var _this16 = this;
|
|
1762
|
+
if ([_type.FcrUserRole.HOST, _type.FcrUserRole.COHOST].includes(type)) {
|
|
1763
|
+
var canSetHost = this.isHostSupportedByPlatform(userId);
|
|
1764
|
+
if (!canSetHost) {
|
|
1765
|
+
var errorMessage = type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_attendies_toast_cant_sethost') : (0, _i18n.transI18n)('fmt_attendies_toast_cant_setcohost');
|
|
1766
|
+
this._showToast(errorMessage, 'error');
|
|
1767
|
+
return;
|
|
1768
|
+
}
|
|
1769
|
+
}
|
|
1772
1770
|
var user = this.userMap.get(userId);
|
|
1773
1771
|
if (!user) {
|
|
1774
1772
|
this._showToast((0, _i18n.transI18n)('fmt_uimanager_tips_userleaft'), 'error');
|
|
@@ -1796,10 +1794,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1796
1794
|
}, 'UPDATE_USER_ROLE');
|
|
1797
1795
|
}
|
|
1798
1796
|
|
|
1799
|
-
/**
|
|
1800
|
-
* 获取角色显示名称
|
|
1801
|
-
* @param type 角色类型
|
|
1802
|
-
* @returns 角色显示名称
|
|
1797
|
+
/**
|
|
1798
|
+
* 获取角色显示名称
|
|
1799
|
+
* @param type 角色类型
|
|
1800
|
+
* @returns 角色显示名称
|
|
1803
1801
|
*/
|
|
1804
1802
|
}, {
|
|
1805
1803
|
key: "_getRoleDisplayName",
|
|
@@ -1807,10 +1805,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1807
1805
|
return type === _type.FcrUserRole.HOST ? (0, _i18n.transI18n)('fmt_role_host') : (0, _i18n.transI18n)('fmt_role_cohost');
|
|
1808
1806
|
}
|
|
1809
1807
|
|
|
1810
|
-
/**
|
|
1811
|
-
* 处理设置主持人确认操作
|
|
1812
|
-
* @param userId 用户ID
|
|
1813
|
-
* @param type 角色类型
|
|
1808
|
+
/**
|
|
1809
|
+
* 处理设置主持人确认操作
|
|
1810
|
+
* @param userId 用户ID
|
|
1811
|
+
* @param type 角色类型
|
|
1814
1812
|
*/
|
|
1815
1813
|
}, {
|
|
1816
1814
|
key: "_handleSetHostConfirmation",
|
|
@@ -1848,9 +1846,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1848
1846
|
}
|
|
1849
1847
|
return _handleSetHostConfirmation;
|
|
1850
1848
|
}()
|
|
1851
|
-
/**
|
|
1852
|
-
* 处理设置主持人时的错误
|
|
1853
|
-
* @param error 错误对象
|
|
1849
|
+
/**
|
|
1850
|
+
* 处理设置主持人时的错误
|
|
1851
|
+
* @param error 错误对象
|
|
1854
1852
|
*/
|
|
1855
1853
|
)
|
|
1856
1854
|
}, {
|
|
@@ -1888,9 +1886,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1888
1886
|
this._userControl.updateRemoteUserRole(userId, _type.FcrUserRole.PARTICIPANT);
|
|
1889
1887
|
}
|
|
1890
1888
|
|
|
1891
|
-
/**
|
|
1892
|
-
* 将指定用户移动到等待房间
|
|
1893
|
-
* @param userId 要移动的用户ID
|
|
1889
|
+
/**
|
|
1890
|
+
* 将指定用户移动到等待房间
|
|
1891
|
+
* @param userId 要移动的用户ID
|
|
1894
1892
|
*/
|
|
1895
1893
|
}, {
|
|
1896
1894
|
key: "_moveToWaitingRoomByUserId",
|
|
@@ -1959,10 +1957,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1959
1957
|
}
|
|
1960
1958
|
return _moveToWaitingRoomByUserId;
|
|
1961
1959
|
}()
|
|
1962
|
-
/**
|
|
1963
|
-
* 踢出用户的主入口方法
|
|
1964
|
-
* 根据当前房间类型选择相应的处理逻辑
|
|
1965
|
-
* @param userId 要踢出的用户ID
|
|
1960
|
+
/**
|
|
1961
|
+
* 踢出用户的主入口方法
|
|
1962
|
+
* 根据当前房间类型选择相应的处理逻辑
|
|
1963
|
+
* @param userId 要踢出的用户ID
|
|
1966
1964
|
*/
|
|
1967
1965
|
)
|
|
1968
1966
|
}, {
|
|
@@ -1987,9 +1985,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1987
1985
|
}
|
|
1988
1986
|
}
|
|
1989
1987
|
|
|
1990
|
-
/**
|
|
1991
|
-
* 从主房间踢出用户
|
|
1992
|
-
* @param userId 用户ID
|
|
1988
|
+
/**
|
|
1989
|
+
* 从主房间踢出用户
|
|
1990
|
+
* @param userId 用户ID
|
|
1993
1991
|
*/
|
|
1994
1992
|
}, {
|
|
1995
1993
|
key: "_kickOutUserFromMainRoom",
|
|
@@ -1999,9 +1997,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
1999
1997
|
this.openConfirmDialog(dialogConfig, _struct.KICK_OUT_DIALOG_CONFIG.MAIN_ROOM.DIALOG_ID);
|
|
2000
1998
|
}
|
|
2001
1999
|
|
|
2002
|
-
/**
|
|
2003
|
-
* 从等待房间踢出用户
|
|
2004
|
-
* @param userId 用户ID
|
|
2000
|
+
/**
|
|
2001
|
+
* 从等待房间踢出用户
|
|
2002
|
+
* @param userId 用户ID
|
|
2005
2003
|
*/
|
|
2006
2004
|
}, {
|
|
2007
2005
|
key: "_kickOutUserFromWaitingRoom",
|
|
@@ -2011,10 +2009,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2011
2009
|
this.openRemoveAdmitWaitingRoomDialog(dialogConfig);
|
|
2012
2010
|
}
|
|
2013
2011
|
|
|
2014
|
-
/**
|
|
2015
|
-
* 检查用户是否存在
|
|
2016
|
-
* @param userId 用户ID
|
|
2017
|
-
* @returns 用户是否存在
|
|
2012
|
+
/**
|
|
2013
|
+
* 检查用户是否存在
|
|
2014
|
+
* @param userId 用户ID
|
|
2015
|
+
* @returns 用户是否存在
|
|
2018
2016
|
*/
|
|
2019
2017
|
}, {
|
|
2020
2018
|
key: "_isUserExists",
|
|
@@ -2022,10 +2020,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2022
2020
|
return this.userMap.has(userId);
|
|
2023
2021
|
}
|
|
2024
2022
|
|
|
2025
|
-
/**
|
|
2026
|
-
* 根据用户ID获取用户名
|
|
2027
|
-
* @param userId 用户ID
|
|
2028
|
-
* @returns 用户名,如果找不到则返回空字符串
|
|
2023
|
+
/**
|
|
2024
|
+
* 根据用户ID获取用户名
|
|
2025
|
+
* @param userId 用户ID
|
|
2026
|
+
* @returns 用户名,如果找不到则返回空字符串
|
|
2029
2027
|
*/
|
|
2030
2028
|
}, {
|
|
2031
2029
|
key: "_getUserNameById",
|
|
@@ -2034,11 +2032,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2034
2032
|
return ((_this$userMap$get4 = this.userMap.get(userId)) === null || _this$userMap$get4 === void 0 ? void 0 : _this$userMap$get4.userInfo.userName) || '';
|
|
2035
2033
|
}
|
|
2036
2034
|
|
|
2037
|
-
/**
|
|
2038
|
-
* 创建主房间踢出用户的对话框配置
|
|
2039
|
-
* @param userId 用户ID
|
|
2040
|
-
* @param userName 用户名
|
|
2041
|
-
* @returns 对话框配置对象
|
|
2035
|
+
/**
|
|
2036
|
+
* 创建主房间踢出用户的对话框配置
|
|
2037
|
+
* @param userId 用户ID
|
|
2038
|
+
* @param userName 用户名
|
|
2039
|
+
* @returns 对话框配置对象
|
|
2042
2040
|
*/
|
|
2043
2041
|
}, {
|
|
2044
2042
|
key: "_createMainRoomKickOutDialogConfig",
|
|
@@ -2057,11 +2055,11 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2057
2055
|
};
|
|
2058
2056
|
}
|
|
2059
2057
|
|
|
2060
|
-
/**
|
|
2061
|
-
* 创建等待房间踢出用户的对话框配置
|
|
2062
|
-
* @param userId 用户ID
|
|
2063
|
-
* @param userName 用户名
|
|
2064
|
-
* @returns 对话框配置对象
|
|
2058
|
+
/**
|
|
2059
|
+
* 创建等待房间踢出用户的对话框配置
|
|
2060
|
+
* @param userId 用户ID
|
|
2061
|
+
* @param userName 用户名
|
|
2062
|
+
* @returns 对话框配置对象
|
|
2065
2063
|
*/
|
|
2066
2064
|
}, {
|
|
2067
2065
|
key: "_createWaitingRoomKickOutDialogConfig",
|
|
@@ -2080,10 +2078,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2080
2078
|
};
|
|
2081
2079
|
}
|
|
2082
2080
|
|
|
2083
|
-
/**
|
|
2084
|
-
* 执行踢出用户操作
|
|
2085
|
-
* @param userId 用户ID
|
|
2086
|
-
* @param kickOutType 踢出类型
|
|
2081
|
+
/**
|
|
2082
|
+
* 执行踢出用户操作
|
|
2083
|
+
* @param userId 用户ID
|
|
2084
|
+
* @param kickOutType 踢出类型
|
|
2087
2085
|
*/
|
|
2088
2086
|
}, {
|
|
2089
2087
|
key: "_executeKickOut",
|
|
@@ -2147,9 +2145,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2147
2145
|
}
|
|
2148
2146
|
}
|
|
2149
2147
|
|
|
2150
|
-
/**
|
|
2151
|
-
* 设置等候室用户数量监听器
|
|
2152
|
-
* 当等候室用户数量为0时 tab自动切换回主房间
|
|
2148
|
+
/**
|
|
2149
|
+
* 设置等候室用户数量监听器
|
|
2150
|
+
* 当等候室用户数量为0时 tab自动切换回主房间
|
|
2153
2151
|
*/
|
|
2154
2152
|
}, {
|
|
2155
2153
|
key: "_setupWaitingRoomUserCountListener",
|
|
@@ -2164,10 +2162,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2164
2162
|
}));
|
|
2165
2163
|
}
|
|
2166
2164
|
|
|
2167
|
-
/**
|
|
2168
|
-
* 检查会话是否已经被处理过
|
|
2169
|
-
* @param sessionId 会话ID
|
|
2170
|
-
* @returns 是否已处理
|
|
2165
|
+
/**
|
|
2166
|
+
* 检查会话是否已经被处理过
|
|
2167
|
+
* @param sessionId 会话ID
|
|
2168
|
+
* @returns 是否已处理
|
|
2171
2169
|
*/
|
|
2172
2170
|
}, {
|
|
2173
2171
|
key: "_isSessionAlreadyProcessed",
|
|
@@ -2175,9 +2173,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2175
2173
|
return this._processedUserOpenDeviceRequests.has(sessionId);
|
|
2176
2174
|
}
|
|
2177
2175
|
|
|
2178
|
-
/**
|
|
2179
|
-
* 验证本地用户信息
|
|
2180
|
-
* @returns 验证是否通过
|
|
2176
|
+
/**
|
|
2177
|
+
* 验证本地用户信息
|
|
2178
|
+
* @returns 验证是否通过
|
|
2181
2179
|
*/
|
|
2182
2180
|
}, {
|
|
2183
2181
|
key: "_validateLocalUser",
|
|
@@ -2197,9 +2195,9 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2197
2195
|
return true;
|
|
2198
2196
|
}
|
|
2199
2197
|
|
|
2200
|
-
/**
|
|
2201
|
-
* 处理设备请求
|
|
2202
|
-
* @param session 对等会话
|
|
2198
|
+
/**
|
|
2199
|
+
* 处理设备请求
|
|
2200
|
+
* @param session 对等会话
|
|
2203
2201
|
*/
|
|
2204
2202
|
}, {
|
|
2205
2203
|
key: "_handleDeviceRequest",
|
|
@@ -2221,10 +2219,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2221
2219
|
}
|
|
2222
2220
|
}
|
|
2223
2221
|
|
|
2224
|
-
/**
|
|
2225
|
-
* 处理摄像头开启请求
|
|
2226
|
-
* @param session 对等会话
|
|
2227
|
-
* @param sender 发送者信息
|
|
2222
|
+
/**
|
|
2223
|
+
* 处理摄像头开启请求
|
|
2224
|
+
* @param session 对等会话
|
|
2225
|
+
* @param sender 发送者信息
|
|
2228
2226
|
*/
|
|
2229
2227
|
}, {
|
|
2230
2228
|
key: "_handleCameraRequest",
|
|
@@ -2245,10 +2243,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2245
2243
|
this._showCameraRequestDialog(session, sender);
|
|
2246
2244
|
}
|
|
2247
2245
|
|
|
2248
|
-
/**
|
|
2249
|
-
* 处理麦克风开启请求
|
|
2250
|
-
* @param session 对等会话
|
|
2251
|
-
* @param sender 发送者信息
|
|
2246
|
+
/**
|
|
2247
|
+
* 处理麦克风开启请求
|
|
2248
|
+
* @param session 对等会话
|
|
2249
|
+
* @param sender 发送者信息
|
|
2252
2250
|
*/
|
|
2253
2251
|
}, {
|
|
2254
2252
|
key: "_handleMicrophoneRequest",
|
|
@@ -2269,10 +2267,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2269
2267
|
this._showMicrophoneRequestDialog(session, sender);
|
|
2270
2268
|
}
|
|
2271
2269
|
|
|
2272
|
-
/**
|
|
2273
|
-
* 显示摄像头请求确认对话框
|
|
2274
|
-
* @param session 对等会话
|
|
2275
|
-
* @param sender 发送者信息
|
|
2270
|
+
/**
|
|
2271
|
+
* 显示摄像头请求确认对话框
|
|
2272
|
+
* @param session 对等会话
|
|
2273
|
+
* @param sender 发送者信息
|
|
2276
2274
|
*/
|
|
2277
2275
|
}, {
|
|
2278
2276
|
key: "_showCameraRequestDialog",
|
|
@@ -2297,10 +2295,10 @@ var ParticipantStoreBase = exports.ParticipantStoreBase = /*#__PURE__*/function
|
|
|
2297
2295
|
}, _type2.FcrUISessionKey.REQUEST_OPEN_CAMERA);
|
|
2298
2296
|
}
|
|
2299
2297
|
|
|
2300
|
-
/**
|
|
2301
|
-
* 显示麦克风请求确认对话框
|
|
2302
|
-
* @param session 对等会话
|
|
2303
|
-
* @param sender 发送者信息
|
|
2298
|
+
/**
|
|
2299
|
+
* 显示麦克风请求确认对话框
|
|
2300
|
+
* @param session 对等会话
|
|
2301
|
+
* @param sender 发送者信息
|
|
2304
2302
|
*/
|
|
2305
2303
|
}, {
|
|
2306
2304
|
key: "_showMicrophoneRequestDialog",
|