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.
Files changed (237) hide show
  1. package/lib/base.js +2 -2
  2. package/lib/electron/bootstrap-sdk.js +6 -6
  3. package/lib/electron/exit-codes.js +11 -11
  4. package/lib/electron/hang-detection/manager.js +4 -4
  5. package/lib/electron/ipc-protocol.js +12 -12
  6. package/lib/electron/process-manager/event-manager.js +30 -30
  7. package/lib/electron/process-manager/index.js +88 -88
  8. package/lib/electron/process-manager/state-manager.js +57 -57
  9. package/lib/electron/process-manager/types.js +16 -16
  10. package/lib/electron/sdk-helper.js +3 -3
  11. package/lib/electron/window-proxy/browser-window-proxy.js +13 -13
  12. package/lib/electron/window-proxy/main-process-handler.js +14 -14
  13. package/lib/fragments/annotation/style.css +9 -9
  14. package/lib/fragments/annotation/toolbar/components/item/style.css +45 -45
  15. package/lib/fragments/annotation/toolbar/components/panel/style.css +24 -24
  16. package/lib/fragments/annotation/toolbar/components/tips/style.css +19 -19
  17. package/lib/fragments/annotation/toolbar/style.css +55 -55
  18. package/lib/fragments/whiteboard/cursor.css +77 -77
  19. package/lib/fragments/whiteboard/store.js +1 -1
  20. package/lib/fragments/whiteboard/style.css +4 -4
  21. package/lib/global.css +62 -62
  22. package/lib/global.d.ts +27 -27
  23. package/lib/modules/action-bar/components/chat/index.css +88 -88
  24. package/lib/modules/action-bar/components/more/index.css +114 -114
  25. package/lib/modules/action-bar/components/notification-bar/components/interpreter/index.css +58 -58
  26. package/lib/modules/action-bar/components/notification-bar/components/virtual-image/index.css +56 -56
  27. package/lib/modules/action-bar/components/notification-bar/index.css +74 -74
  28. package/lib/modules/action-bar/components/participants/index.css +21 -21
  29. package/lib/modules/action-bar/components/record/index.css +39 -39
  30. package/lib/modules/action-bar/components/trigger-output-language/index.css +86 -86
  31. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.css +22 -22
  32. package/lib/modules/action-bar/index.css +358 -358
  33. package/lib/modules/action-bar/main-scene/view.js +3 -3
  34. package/lib/modules/audio-stream/index.js +3 -3
  35. package/lib/modules/caption/draggable-container/index.css +10 -10
  36. package/lib/modules/caption/draggable-container/index.js +34 -12
  37. package/lib/modules/caption/store.d.ts +1 -4
  38. package/lib/modules/caption/store.js +10 -18
  39. package/lib/modules/caption/view.css +158 -158
  40. package/lib/modules/caption/view.js +16 -27
  41. package/lib/modules/chat/components/chat-bar/index.css +89 -89
  42. package/lib/modules/chat/components/chat-select/index.css +185 -185
  43. package/lib/modules/chat/index.css +124 -124
  44. package/lib/modules/chat/store.d.ts +1 -0
  45. package/lib/modules/chat/store.js +2 -2
  46. package/lib/modules/components/apps/app-item/index.css +49 -49
  47. package/lib/modules/components/apps/index.css +9 -9
  48. package/lib/modules/components/caption-menu/index.css +58 -58
  49. package/lib/modules/components/caption-menu/index.d.ts +2 -0
  50. package/lib/modules/components/caption-menu/index.js +13 -10
  51. package/lib/modules/components/caption-menu/participants-privilege-control-options.js +5 -19
  52. package/lib/modules/components/caption-menu/steps/index.css +73 -73
  53. package/lib/modules/components/caption-menu/translation-setting-options.js +31 -24
  54. package/lib/modules/components/control-bar/components/loading/index.css +76 -76
  55. package/lib/modules/components/control-bar/components/progress/style.css +51 -51
  56. package/lib/modules/components/control-bar/components/switch-theme/index.css +101 -101
  57. package/lib/modules/components/control-bar/index.css +99 -99
  58. package/lib/modules/components/device-control/index.css +177 -177
  59. package/lib/modules/components/leave-meeting/components/index.css +151 -151
  60. package/lib/modules/components/leave-meeting/style.css +9 -9
  61. package/lib/modules/components/member-window/components/member-actions/store.js +22 -22
  62. package/lib/modules/components/member-window/index.css +502 -502
  63. package/lib/modules/components/security-menu/index.css +42 -42
  64. package/lib/modules/components/tab-frame/index.css +40 -40
  65. package/lib/modules/components/toolbar/components/item/style.css +94 -94
  66. package/lib/modules/components/toolbar/components/panel/style.css +86 -86
  67. package/lib/modules/components/toolbar/style.css +85 -85
  68. package/lib/modules/connection-gateway/components/computer/index.css +12 -12
  69. package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -36
  70. package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -72
  71. package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -10
  72. package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -46
  73. package/lib/modules/connection-gateway/components/phone/index.css +49 -49
  74. package/lib/modules/connection-gateway/index.css +6 -6
  75. package/lib/modules/control-bar/components/carmera/index.js +7 -39
  76. package/lib/modules/control-bar/components/cloud-recording-buttons.js +18 -33
  77. package/lib/modules/control-bar/components/meeting-details/index.css +133 -133
  78. package/lib/modules/control-bar/components/microphone/index.js +3 -43
  79. package/lib/modules/control-bar/components/more-actions/index.css +103 -103
  80. package/lib/modules/control-bar/components/share-audio/index.css +90 -90
  81. package/lib/modules/control-bar/components/share-audio/index.d.ts +2 -0
  82. package/lib/modules/control-bar/components/share-audio/index.js +4 -10
  83. package/lib/modules/control-bar/components/share-state-nav/index.css +79 -79
  84. package/lib/modules/control-bar/hooks.d.ts +1 -0
  85. package/lib/modules/control-bar/hooks.js +140 -1
  86. package/lib/modules/control-bar/index.css +340 -340
  87. package/lib/modules/control-bar/index.js +4 -4
  88. package/lib/modules/control-bar/store.d.ts +3 -4
  89. package/lib/modules/control-bar/store.js +37 -30
  90. package/lib/modules/control-bar/type.d.ts +3 -0
  91. package/lib/modules/control-bar/view.js +40 -57
  92. package/lib/modules/device-pretest/index.css +123 -123
  93. package/lib/modules/dialog/components/confirm/index.css +24 -24
  94. package/lib/modules/dialog/components/confirm/index.js +0 -1
  95. package/lib/modules/dialog/components/dialog-container/index.css +112 -112
  96. package/lib/modules/dialog/components/dialog-container/index.js +1 -0
  97. package/lib/modules/dialog/dialogs/confirm/index.css +24 -24
  98. package/lib/modules/dialog/dialogs/device-setting/index.css +26 -26
  99. package/lib/modules/dialog/dialogs/interpreter/index.css +30 -30
  100. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -20
  101. package/lib/modules/dialog/dialogs/system-preference/index.css +52 -52
  102. package/lib/modules/dialog/dialogs/widget/index.js +4 -4
  103. package/lib/modules/dialog/index.css +56 -56
  104. package/lib/modules/event-toast/index.css +25 -25
  105. package/lib/modules/event-toast/index.js +7 -1
  106. package/lib/modules/interpreter/action/add-btn/index.css +4 -4
  107. package/lib/modules/interpreter/action/delete-btn/index.css +14 -14
  108. package/lib/modules/interpreter/action/switch-btn/index.css +3 -3
  109. package/lib/modules/interpreter/dialog-content/index.css +33 -33
  110. package/lib/modules/interpreter/footer/index.css +11 -11
  111. package/lib/modules/interpreter/index.css +4 -4
  112. package/lib/modules/interpreter/interpreter-list/index.css +8 -8
  113. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-language/index.css +46 -46
  114. package/lib/modules/interpreter/interpreter-list/interpreter-item/components/pick-user/index.css +46 -46
  115. package/lib/modules/interpreter/interpreter-list/interpreter-item/index.css +32 -32
  116. package/lib/modules/interpreter/loading-wrapper/index.css +53 -53
  117. package/lib/modules/invite/components/voip-invite.css +26 -26
  118. package/lib/modules/invite/index.css +331 -331
  119. package/lib/modules/layout/components/CommonVideoRenderer.js +4 -4
  120. package/lib/modules/layout/components/index.css +653 -653
  121. package/lib/modules/layout/index.css +59 -59
  122. package/lib/modules/layout/store.base.d.ts +1 -1
  123. package/lib/modules/layout/store.base.js +5 -5
  124. package/lib/modules/layout/store.electron.d.ts +0 -1
  125. package/lib/modules/layout/store.electron.js +37 -133
  126. package/lib/modules/layout/type.js +5 -5
  127. package/lib/modules/notification/index.css +77 -77
  128. package/lib/modules/notification/interpreter-status/index.css +76 -76
  129. package/lib/modules/participant/components/confirm-input/index.css +4 -4
  130. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.css +83 -83
  131. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.css +87 -87
  132. package/lib/modules/participant/index.css +102 -102
  133. package/lib/modules/participant/store.base.js +183 -185
  134. package/lib/modules/pc-audio-connect/index.css +12 -12
  135. package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -36
  136. package/lib/modules/phone-audio-connect/components/calling/index.css +72 -72
  137. package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -10
  138. package/lib/modules/phone-audio-connect/components/useing/index.css +46 -46
  139. package/lib/modules/phone-audio-connect/index.css +56 -56
  140. package/lib/modules/secondary-window/store.js +8 -10
  141. package/lib/modules/setting/audio-settings/index.css +195 -195
  142. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.d.ts +28 -0
  143. package/lib/modules/setting/audio-whiteList/audio-device-adaptation.js +43 -7
  144. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.d.ts +3 -14
  145. package/lib/modules/setting/audio-whiteList/audio-whiteList-manager.js +51 -30
  146. package/lib/modules/setting/caption_and_transcribing/index.css +88 -88
  147. package/lib/modules/setting/general-settings/index.css +41 -41
  148. package/lib/modules/setting/index.css +112 -112
  149. package/lib/modules/setting/index.js +4 -2
  150. package/lib/modules/setting/minutes-settings/index.css +65 -65
  151. package/lib/modules/setting/state/index.css +207 -207
  152. package/lib/modules/setting/storage-settings/index.css +91 -91
  153. package/lib/modules/setting/store.base.d.ts +5 -3
  154. package/lib/modules/setting/store.base.js +64 -43
  155. package/lib/modules/setting/store.electron.d.ts +1 -1
  156. package/lib/modules/setting/store.electron.js +3 -7
  157. package/lib/modules/setting/translate-settings/index.css +47 -47
  158. package/lib/modules/setting/video-settings/index.css +357 -357
  159. package/lib/modules/setting/view.js +3 -2
  160. package/lib/modules/share-screen/components/control-bar/index.css +75 -75
  161. package/lib/modules/share-screen/components/selection/index.css +73 -73
  162. package/lib/modules/share-screen/components/share-state-bar/index.css +76 -76
  163. package/lib/modules/share-screen/index.js +10 -10
  164. package/lib/modules/share-screen/store.base.js +2 -2
  165. package/lib/modules/share-screen/store.electron.js +51 -23
  166. package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -3
  167. package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -3
  168. package/lib/modules/state-bar/index.css +706 -706
  169. package/lib/modules/state-bar/main-scene/store.base.js +2 -2
  170. package/lib/modules/state-bar/meeting-detail.css +137 -137
  171. package/lib/modules/state-bar/meeting-network-state.css +150 -150
  172. package/lib/modules/state-bar/waiting-scene/store.base.js +2 -2
  173. package/lib/modules/subtitles-history/components/list-item.js +4 -7
  174. package/lib/modules/subtitles-history/components/settings/index.css +5 -5
  175. package/lib/modules/subtitles-history/index.css +129 -129
  176. package/lib/modules/subtitles-history/store.base.d.ts +3 -1
  177. package/lib/modules/subtitles-history/store.base.js +11 -1
  178. package/lib/modules/video-window/components/members/index.css +51 -51
  179. package/lib/modules/video-window/components/speaking/index.css +86 -86
  180. package/lib/modules/video-window/components/topControl/index.css +35 -35
  181. package/lib/modules/video-window/index.css +21 -21
  182. package/lib/modules/video-window/popover-watcher.js +3 -3
  183. package/lib/modules/video-window/store.js +10 -10
  184. package/lib/modules/waiting-room-layout/index.css +96 -96
  185. package/lib/modules/whiteboard/components/control-bar/index.css +52 -52
  186. package/lib/modules/whiteboard/components/loading/index.css +76 -76
  187. package/lib/modules/whiteboard/components/multi-window/index.css +63 -63
  188. package/lib/modules/whiteboard/components/pagination/index.css +228 -228
  189. package/lib/modules/whiteboard/components/progress/style.css +51 -51
  190. package/lib/modules/whiteboard/components/switch-theme/index.css +99 -99
  191. package/lib/modules/whiteboard/components/toolbar/style.css +591 -591
  192. package/lib/modules/whiteboard/style.css +140 -140
  193. package/lib/modules/widget/index.css +9 -9
  194. package/lib/object-manager.js +8 -8
  195. package/lib/plugins/module-dev-plugin.js +11 -11
  196. package/lib/providers/ability-provider.js +17 -17
  197. package/lib/providers/board-share/struct.js +6 -6
  198. package/lib/providers/dialog/provider.base.js +2 -2
  199. package/lib/providers/dialog/type.js +3 -3
  200. package/lib/providers/multi-display-provider.js +4 -4
  201. package/lib/providers/privilege-provider.js +7 -7
  202. package/lib/providers/screen-share/provider.base.d.ts +2 -13
  203. package/lib/providers/screen-share/provider.base.js +28 -35
  204. package/lib/providers/screen-share/provider.electron.d.ts +0 -5
  205. package/lib/providers/screen-share/provider.electron.js +31 -18
  206. package/lib/providers/screen-share/stream-state-sync.js +18 -18
  207. package/lib/providers/screen-share/struct.js +24 -24
  208. package/lib/providers/screen-share/type.d.ts +0 -16
  209. package/lib/providers/stt-provider/stt-provider.d.ts +3 -4
  210. package/lib/providers/stt-provider/stt-provider.js +145 -146
  211. package/lib/providers/stt-provider/type.d.ts +2 -10
  212. package/lib/providers/stt-provider/type.js +3 -3
  213. package/lib/providers/window/main-window.js +2 -2
  214. package/lib/providers/window/provider.js +5 -5
  215. package/lib/providers/window/renderer-window.js +2 -2
  216. package/lib/schema.js +26 -26
  217. package/lib/shared-data/meeting-time.js +8 -8
  218. package/lib/shared-data/setting.js +3 -3
  219. package/lib/translations/enUS.d.ts +12 -1
  220. package/lib/translations/enUS.js +22 -19
  221. package/lib/translations/zhCN.d.ts +12 -1
  222. package/lib/translations/zhCN.js +20 -17
  223. package/lib/type.js +21 -21
  224. package/lib/ui-scene-switch.js +2 -2
  225. package/lib/utilities/constant.js +6 -6
  226. package/lib/utilities/renderer.js +8 -8
  227. package/lib/utilities/shared-storage.js +2 -2
  228. package/lib/utilities/tools.js +14 -14
  229. package/package.json +78 -79
  230. package/public/assets/fcr_chat_reddot.svg +5 -5
  231. package/public/assets/fcr_grid_big.svg +3 -3
  232. package/public/assets/fcr_leave2.svg +58 -58
  233. package/public/assets/fcr_listontop_big.svg +3 -3
  234. package/public/assets/step-gradient.svg +10 -10
  235. package/public/fragment.html +10 -10
  236. package/public/index.html +183 -183
  237. package/public/meeting-manager.js +405 -405
@@ -1,91 +1,91 @@
1
- .fcr-device-settings-storage {
2
- display: flex;
3
- flex-flow: column nowrap;
4
- align-items: stretch;
5
- gap: 10px;
6
- }
7
-
8
- .fcr-device-settings-storage__block {
9
- padding: 10px 12px 12px;
10
- display: flex;
11
- flex-flow: column nowrap;
12
- gap: 9px;
13
- border-radius: var(--fcr_cornerradius_s);
14
- background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
15
- }
16
-
17
- .fcr-device-settings-storage__title {
18
- font-size: 13px;
19
- line-height: 1;
20
- font-weight: 700;
21
- color: var(--fcr_ui_scene_icontext1);
22
- }
23
-
24
- .fcr-device-settings-storage__row {
25
- display: flex;
26
- flex-flow: row nowrap;
27
- gap: 8px;
28
- }
29
-
30
- .fcr-device-settings-storage__input-wrapper {
31
- flex: 1;
32
- display: inline-flex;
33
- flex-flow: row nowrap;
34
- align-items: center;
35
- height: 32px;
36
- border: 0.5px solid var(--fcr_web_ui_scene_line4);
37
- padding: 1px 1px 1px 11px;
38
- border-radius: var(--fcr_cornerradius_xs);
39
- background-color: var(--fcr_ui_scene_input2);
40
- font-size: 12px;
41
- overflow: hidden;
42
- }
43
-
44
- .fcr-device-settings-storage__input {
45
- flex: 1;
46
- color: var(--fcr_ui_scene_icontext1);
47
- outline: none;
48
- background: none;
49
- font-size: inherit;
50
- }
51
-
52
- .fcr-device-settings-storage__input-btn {
53
- height: 28px;
54
- padding: 0 6px;
55
- color: var(--fcr_ui_scene_ramp_brand6);
56
- border-radius: var(--fcr_cornerradius_xxs);
57
- font-size: inherit;
58
- }
59
-
60
- .fcr-device-settings-storage__action-btn {
61
- border: 0.5px solid var(--fcr_web_ui_scene_line4);
62
- border-radius: var(--fcr_cornerradius_xs);
63
- padding: 0 20px;
64
- color: var(--fcr_ui_scene_icontext1);
65
- background-color: var(--fcr_web_ui_scene_fill2);
66
- }
67
-
68
- .fcr-device-settings-storage__input-btn:hover,
69
- .fcr-device-settings-storage__action-btn:hover {
70
- background-color: var(--fcr_web_ui_scene_hover);
71
- }
72
-
73
- .fcr-device-settings-storage__input-btn:disabled,
74
- .fcr-device-settings-storage__action-btn:disabled {
75
- background-color: var(--fcr_web_ui_scene_fill2);
76
- opacity: 0.5;
77
- cursor: default;
78
- }
79
-
80
- .fcr-device-settings-storage__footer {
81
- padding-top: 3px;
82
- font-size: 13px;
83
- line-height: 1;
84
- font-weight: 300;
85
- color: var(--fcr_ui_scene_icontext2);
86
- font-variant-numeric: tabular-nums;
87
- }
88
-
89
- .fcr-device-settings-storage__footer .highlight {
90
- color: var(--fcr_ui_scene_ramp_brand6);
91
- }
1
+ .fcr-device-settings-storage {
2
+ display: flex;
3
+ flex-flow: column nowrap;
4
+ align-items: stretch;
5
+ gap: 10px;
6
+ }
7
+
8
+ .fcr-device-settings-storage__block {
9
+ padding: 10px 12px 12px;
10
+ display: flex;
11
+ flex-flow: column nowrap;
12
+ gap: 9px;
13
+ border-radius: var(--fcr_cornerradius_s);
14
+ background-color: var(--fcr_mobile_ui_scene_color_popup_block5);
15
+ }
16
+
17
+ .fcr-device-settings-storage__title {
18
+ font-size: 13px;
19
+ line-height: 1;
20
+ font-weight: 700;
21
+ color: var(--fcr_ui_scene_icontext1);
22
+ }
23
+
24
+ .fcr-device-settings-storage__row {
25
+ display: flex;
26
+ flex-flow: row nowrap;
27
+ gap: 8px;
28
+ }
29
+
30
+ .fcr-device-settings-storage__input-wrapper {
31
+ flex: 1;
32
+ display: inline-flex;
33
+ flex-flow: row nowrap;
34
+ align-items: center;
35
+ height: 32px;
36
+ border: 0.5px solid var(--fcr_web_ui_scene_line4);
37
+ padding: 1px 1px 1px 11px;
38
+ border-radius: var(--fcr_cornerradius_xs);
39
+ background-color: var(--fcr_ui_scene_input2);
40
+ font-size: 12px;
41
+ overflow: hidden;
42
+ }
43
+
44
+ .fcr-device-settings-storage__input {
45
+ flex: 1;
46
+ color: var(--fcr_ui_scene_icontext1);
47
+ outline: none;
48
+ background: none;
49
+ font-size: inherit;
50
+ }
51
+
52
+ .fcr-device-settings-storage__input-btn {
53
+ height: 28px;
54
+ padding: 0 6px;
55
+ color: var(--fcr_ui_scene_ramp_brand6);
56
+ border-radius: var(--fcr_cornerradius_xxs);
57
+ font-size: inherit;
58
+ }
59
+
60
+ .fcr-device-settings-storage__action-btn {
61
+ border: 0.5px solid var(--fcr_web_ui_scene_line4);
62
+ border-radius: var(--fcr_cornerradius_xs);
63
+ padding: 0 20px;
64
+ color: var(--fcr_ui_scene_icontext1);
65
+ background-color: var(--fcr_web_ui_scene_fill2);
66
+ }
67
+
68
+ .fcr-device-settings-storage__input-btn:hover,
69
+ .fcr-device-settings-storage__action-btn:hover {
70
+ background-color: var(--fcr_web_ui_scene_hover);
71
+ }
72
+
73
+ .fcr-device-settings-storage__input-btn:disabled,
74
+ .fcr-device-settings-storage__action-btn:disabled {
75
+ background-color: var(--fcr_web_ui_scene_fill2);
76
+ opacity: 0.5;
77
+ cursor: default;
78
+ }
79
+
80
+ .fcr-device-settings-storage__footer {
81
+ padding-top: 3px;
82
+ font-size: 13px;
83
+ line-height: 1;
84
+ font-weight: 300;
85
+ color: var(--fcr_ui_scene_icontext2);
86
+ font-variant-numeric: tabular-nums;
87
+ }
88
+
89
+ .fcr-device-settings-storage__footer .highlight {
90
+ color: var(--fcr_ui_scene_ramp_brand6);
91
+ }
@@ -3,7 +3,7 @@ import { FcrInterpreterRoomControl, FcrLanguage, FcrPerformanceInfo } from 'fcr-
3
3
  import { FcrNetworkStats } from 'fcr-core/lib/type';
4
4
  import { VirtualBackground } from '../device-pretest/assets/virtual-backdound-resources';
5
5
  import { FcrStreamControl } from 'fcr-core/lib/room-control/stream-control/type';
6
- import { FcrBaseRoomControl } from 'fcr-core/lib/room-control/type';
6
+ import { FcrBaseRoomControl, FcrRoomType } from 'fcr-core/lib/room-control/type';
7
7
  import { FcrUIDeviceProvider } from '../../providers/device-provider';
8
8
  import { FcrUIMessageProvider } from '../../providers/message/type';
9
9
  import { FcrUISharedSettingDataSource } from '../../shared-data/setting';
@@ -49,6 +49,7 @@ export declare abstract class SettingStoreBase implements FcrUIManagedObject {
49
49
  accessor loudestStreamVolumeLevel: number;
50
50
  accessor microphoneVolumeLevel: number;
51
51
  accessor isWifiConnected: boolean;
52
+ accessor isMainRoom: boolean;
52
53
  accessor networkState: FcrNetworkStats;
53
54
  accessor performanceState: FcrPerformanceInfo & {
54
55
  cpuOtherAppUsage: number;
@@ -140,7 +141,7 @@ export declare abstract class SettingStoreBase implements FcrUIManagedObject {
140
141
  avatar?: string | undefined;
141
142
  }>;
142
143
  get sharedSttSettingDataSource(): FcrUISharedSttSettingDataSource;
143
- get sttProvider(): FcrUISttProvider;
144
+ protected get sttProvider(): FcrUISttProvider;
144
145
  get languageOptions(): import("../../providers/stt-provider/type").FcrUISttLanguageOptions;
145
146
  get captionFontSize(): FcrUICaptionFontSize;
146
147
  get captionStyle(): import("../../shared-data/stt-setting.ts/type").FcrUICaptionStyle;
@@ -204,8 +205,9 @@ export declare abstract class SettingStoreBase implements FcrUIManagedObject {
204
205
  toggleTwoLineCaptionEnabled(): void;
205
206
  toggleTwoLineTranscribingEnabled(): void;
206
207
  subscribeTranslateLanguage(language: FcrLanguage | null): void;
207
- handleJoinRoom(): void;
208
+ handleJoinRoom(roomType: FcrRoomType | undefined): void;
208
209
  handleExitRoom(isRoutingChange?: boolean): void;
210
+ private _handleJoinMainRoom;
209
211
  private _onNetworkStatsUpdated;
210
212
  private _onLocalAudioStatsUpdated;
211
213
  private _onRemoteAudioStatsUpdated;
@@ -87,17 +87,18 @@ var _fcrCore = require("fcr-core");
87
87
  var _mobx = require("mobx");
88
88
  var _decorator = require("agora-foundation/lib/decorator");
89
89
  var _schedule = require("agora-foundation/lib/schedule");
90
+ var _type = require("fcr-core/lib/room-control/type");
90
91
  var _i18n = require("agora-ui-foundation/lib/i18n");
91
92
  var _deviceProvider = require("../../providers/device-provider");
92
93
  var _logger = require("../../utilities/logger");
93
94
  var _roomProvider = require("../../providers/room-provider/room-provider");
94
- var _type = require("./type");
95
+ var _type2 = require("./type");
95
96
  var _objectManager = require("../../object-manager");
96
97
  var _react = require("react");
97
98
  var _env = require("agora-foundation/lib/utilities/env");
98
99
  var _defaultConfig = require("../../utilities/default-config");
99
100
  var _SettingStoreBase;
100
- var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_getSystemInfoTimer, _init_isHiddenMeetingTab, _setDialogConfigDecs, _setSettingDecs, _clearGetSystemInfoIntervalDecs, _changeMediaSettingDecs, _toggleTwoLineCaptionEnabledDecs, _toggleTwoLineTranscribingEnabledDecs, _subscribeTranslateLanguageDecs, _handleJoinRoomDecs, _handleExitRoomDecs, _onNetworkStatsUpdatedDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _ref;
101
+ var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_isMainRoom, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_getSystemInfoTimer, _init_isHiddenMeetingTab, _setDialogConfigDecs, _setSettingDecs, _clearGetSystemInfoIntervalDecs, _changeMediaSettingDecs, _toggleTwoLineCaptionEnabledDecs, _toggleTwoLineTranscribingEnabledDecs, _subscribeTranslateLanguageDecs, _handleJoinRoomDecs, _handleExitRoomDecs, _handleJoinMainRoomDecs, _onNetworkStatsUpdatedDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _ref;
101
102
  function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
102
103
  function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
103
104
  function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -151,7 +152,8 @@ var _J = /*#__PURE__*/new WeakMap();
151
152
  var _K = /*#__PURE__*/new WeakMap();
152
153
  var _L = /*#__PURE__*/new WeakMap();
153
154
  var _M = /*#__PURE__*/new WeakMap();
154
- _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _changeMediaSettingDecs = [_mobx.action, _mobx.action.bound], _toggleTwoLineCaptionEnabledDecs = [_mobx.action, _mobx.action.bound], _toggleTwoLineTranscribingEnabledDecs = [_mobx.action, _mobx.action.bound], _subscribeTranslateLanguageDecs = [_mobx.action, _mobx.action.bound], _handleJoinRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _handleExitRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], "logger");
155
+ var _N = /*#__PURE__*/new WeakMap();
156
+ _ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _changeMediaSettingDecs = [_mobx.action, _mobx.action.bound], _toggleTwoLineCaptionEnabledDecs = [_mobx.action, _mobx.action.bound], _toggleTwoLineTranscribingEnabledDecs = [_mobx.action, _mobx.action.bound], _subscribeTranslateLanguageDecs = [_mobx.action, _mobx.action.bound], _handleJoinRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _handleExitRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _handleJoinMainRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], "logger");
155
157
  var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
156
158
  function SettingStoreBase(_ref2) {
157
159
  var objectManager = _ref2.objectManager;
@@ -196,7 +198,8 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
196
198
  _classPrivateFieldInitSpec(this, _A, _init_loudestStreamVolumeLevel(this, 0));
197
199
  _classPrivateFieldInitSpec(this, _B, _init_microphoneVolumeLevel(this, 0));
198
200
  _classPrivateFieldInitSpec(this, _C, _init_isWifiConnected(this, false));
199
- _classPrivateFieldInitSpec(this, _D, _init_networkState(this, {
201
+ _classPrivateFieldInitSpec(this, _D, _init_isMainRoom(this, false));
202
+ _classPrivateFieldInitSpec(this, _E, _init_networkState(this, {
200
203
  txPacketLoss: -1,
201
204
  rxPacketLoss: -1,
202
205
  rtt: 0,
@@ -211,7 +214,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
211
214
  rxVideoKBitrate: 0,
212
215
  rxVideoKBytes: 0
213
216
  }));
214
- _classPrivateFieldInitSpec(this, _E, _init_performanceState(this, {
217
+ _classPrivateFieldInitSpec(this, _F, _init_performanceState(this, {
215
218
  cpuTotalUsage: 0,
216
219
  cpuAppUsage: 0,
217
220
  cpuOtherAppUsage: 0,
@@ -221,14 +224,14 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
221
224
  memoryAppUsageInKbytes: 0,
222
225
  memoryOtherAppUsageInKbytes: 0
223
226
  }));
224
- _classPrivateFieldInitSpec(this, _F, _init_localAudioStreamMap(this, new Map()));
225
- _classPrivateFieldInitSpec(this, _G, _init_remoteAudioStreamMap(this, new Map()));
226
- _classPrivateFieldInitSpec(this, _H, _init_localVideoStreamMap(this, new Map()));
227
- _classPrivateFieldInitSpec(this, _I, _init_remoteVideoStreamMap(this, new Map()));
228
- _classPrivateFieldInitSpec(this, _J, _init_systemMemorySize(this, 0));
229
- _classPrivateFieldInitSpec(this, _K, _init_systemCpuDesc(this, ''));
230
- _classPrivateFieldInitSpec(this, _L, _init_getSystemInfoTimer(this, null));
231
- _classPrivateFieldInitSpec(this, _M, _init_isHiddenMeetingTab(this, true));
227
+ _classPrivateFieldInitSpec(this, _G, _init_localAudioStreamMap(this, new Map()));
228
+ _classPrivateFieldInitSpec(this, _H, _init_remoteAudioStreamMap(this, new Map()));
229
+ _classPrivateFieldInitSpec(this, _I, _init_localVideoStreamMap(this, new Map()));
230
+ _classPrivateFieldInitSpec(this, _J, _init_remoteVideoStreamMap(this, new Map()));
231
+ _classPrivateFieldInitSpec(this, _K, _init_systemMemorySize(this, 0));
232
+ _classPrivateFieldInitSpec(this, _L, _init_systemCpuDesc(this, ''));
233
+ _classPrivateFieldInitSpec(this, _M, _init_getSystemInfoTimer(this, null));
234
+ _classPrivateFieldInitSpec(this, _N, _init_isHiddenMeetingTab(this, true));
232
235
  this._objectManager = objectManager;
233
236
  this._monitorProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MONITOR_PROVIDER);
234
237
  this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
@@ -245,7 +248,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
245
248
  if (this._deviceProvider.cameraId && this._deviceProvider.cameraTrack) {
246
249
  this._cameraTrack = this._deviceProvider.cameraTrack;
247
250
  }
248
- if (this.dialogConfig.activeTab === _type.DeviceSettingTab.STATE) {
251
+ if (this.dialogConfig.activeTab === _type2.DeviceSettingTab.STATE) {
249
252
  this._setupAudioVolumeAnalyzerTask();
250
253
  }
251
254
  this.initSettingConfig();
@@ -275,7 +278,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
275
278
  _classPrivateFieldSet(_C, this, v);
276
279
  }
277
280
  }, {
278
- key: "networkState",
281
+ key: "isMainRoom",
279
282
  get: function get() {
280
283
  return _classPrivateFieldGet(_D, this);
281
284
  },
@@ -283,7 +286,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
283
286
  _classPrivateFieldSet(_D, this, v);
284
287
  }
285
288
  }, {
286
- key: "performanceState",
289
+ key: "networkState",
287
290
  get: function get() {
288
291
  return _classPrivateFieldGet(_E, this);
289
292
  },
@@ -291,7 +294,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
291
294
  _classPrivateFieldSet(_E, this, v);
292
295
  }
293
296
  }, {
294
- key: "localAudioStreamMap",
297
+ key: "performanceState",
295
298
  get: function get() {
296
299
  return _classPrivateFieldGet(_F, this);
297
300
  },
@@ -299,7 +302,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
299
302
  _classPrivateFieldSet(_F, this, v);
300
303
  }
301
304
  }, {
302
- key: "remoteAudioStreamMap",
305
+ key: "localAudioStreamMap",
303
306
  get: function get() {
304
307
  return _classPrivateFieldGet(_G, this);
305
308
  },
@@ -307,7 +310,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
307
310
  _classPrivateFieldSet(_G, this, v);
308
311
  }
309
312
  }, {
310
- key: "localVideoStreamMap",
313
+ key: "remoteAudioStreamMap",
311
314
  get: function get() {
312
315
  return _classPrivateFieldGet(_H, this);
313
316
  },
@@ -315,7 +318,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
315
318
  _classPrivateFieldSet(_H, this, v);
316
319
  }
317
320
  }, {
318
- key: "remoteVideoStreamMap",
321
+ key: "localVideoStreamMap",
319
322
  get: function get() {
320
323
  return _classPrivateFieldGet(_I, this);
321
324
  },
@@ -323,7 +326,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
323
326
  _classPrivateFieldSet(_I, this, v);
324
327
  }
325
328
  }, {
326
- key: "systemMemorySize",
329
+ key: "remoteVideoStreamMap",
327
330
  get: function get() {
328
331
  return _classPrivateFieldGet(_J, this);
329
332
  },
@@ -331,7 +334,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
331
334
  _classPrivateFieldSet(_J, this, v);
332
335
  }
333
336
  }, {
334
- key: "systemCpuDesc",
337
+ key: "systemMemorySize",
335
338
  get: function get() {
336
339
  return _classPrivateFieldGet(_K, this);
337
340
  },
@@ -339,7 +342,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
339
342
  _classPrivateFieldSet(_K, this, v);
340
343
  }
341
344
  }, {
342
- key: "getSystemInfoTimer",
345
+ key: "systemCpuDesc",
343
346
  get: function get() {
344
347
  return _classPrivateFieldGet(_L, this);
345
348
  },
@@ -347,13 +350,21 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
347
350
  _classPrivateFieldSet(_L, this, v);
348
351
  }
349
352
  }, {
350
- key: "isHiddenMeetingTab",
353
+ key: "getSystemInfoTimer",
351
354
  get: function get() {
352
355
  return _classPrivateFieldGet(_M, this);
353
356
  },
354
357
  set: function set(v) {
355
358
  _classPrivateFieldSet(_M, this, v);
356
359
  }
360
+ }, {
361
+ key: "isHiddenMeetingTab",
362
+ get: function get() {
363
+ return _classPrivateFieldGet(_N, this);
364
+ },
365
+ set: function set(v) {
366
+ _classPrivateFieldSet(_N, this, v);
367
+ }
357
368
  }, {
358
369
  key: "maxVideoSendInfo",
359
370
  get: function get() {
@@ -715,7 +726,7 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
715
726
  (_this3$_audioDeviceVo = _this3._audioDeviceVolumeRefreshTask) === null || _this3$_audioDeviceVo === void 0 || _this3$_audioDeviceVo.stop();
716
727
  _this3._audioDeviceVolumeRefreshTask = undefined;
717
728
  }
718
- if (activeTab === _type.DeviceSettingTab.STATE) {
729
+ if (activeTab === _type2.DeviceSettingTab.STATE) {
719
730
  _this3._setupAudioVolumeAnalyzerTask();
720
731
  }
721
732
  }), (0, _mobx.reaction)(function () {
@@ -1146,10 +1157,13 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
1146
1157
  }
1147
1158
  }, {
1148
1159
  key: "handleJoinRoom",
1149
- value: function handleJoinRoom() {
1160
+ value: function handleJoinRoom(roomType) {
1161
+ var isMainRoom = roomType === _type.FcrRoomType.Mainroom;
1162
+ this.isMainRoom = isMainRoom;
1163
+ if (isMainRoom) {
1164
+ this._handleJoinMainRoom();
1165
+ }
1150
1166
  var roomProvider = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ROOM_PROVIDER);
1151
- this._sharedSttSettingDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_STT_SETTING_DATA_SOURCE);
1152
- this._sttProvider = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.P_STT_PROVIDER);
1153
1167
  this._sharedLayoutDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
1154
1168
  this._currentRoomControl = new _roomProvider.FcrUICurrentRoomControlProviderImpl(roomProvider.currentRoomControl).currentRoomControl;
1155
1169
  this._currentRoomControl.addObserver(this._roomObserver);
@@ -1160,9 +1174,6 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
1160
1174
  streamInfoList.set(streamInfo.streamId, streamInfo);
1161
1175
  });
1162
1176
  this._streamInfoList = streamInfoList;
1163
- this._sharedInterpreterDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
1164
- this._interpreterRoomControlReaction = this._createInterpreterRoomControlReaction();
1165
- this._disposers.push(this._interpreterRoomControlReaction);
1166
1177
  this.isHiddenMeetingTab = false;
1167
1178
  if (this._deviceProvider.followSystemSpeakerDevice) {
1168
1179
  this._showSystemSelectedDeviceChangedToast({
@@ -1212,6 +1223,15 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
1212
1223
  this._streamVolumeMap.clear();
1213
1224
  this._streamInfoList.clear();
1214
1225
  }
1226
+ }, {
1227
+ key: "_handleJoinMainRoom",
1228
+ value: function _handleJoinMainRoom() {
1229
+ this._sharedSttSettingDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_STT_SETTING_DATA_SOURCE);
1230
+ this._sttProvider = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.P_STT_PROVIDER);
1231
+ this._sharedInterpreterDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
1232
+ this._interpreterRoomControlReaction = this._createInterpreterRoomControlReaction();
1233
+ this._disposers.push(this._interpreterRoomControlReaction);
1234
+ }
1215
1235
  }, {
1216
1236
  key: "_onNetworkStatsUpdated",
1217
1237
  value: function _onNetworkStatsUpdated(roomId, stats) {
@@ -1408,19 +1428,20 @@ var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
1408
1428
  }]);
1409
1429
  }();
1410
1430
  _SettingStoreBase = SettingStoreBase;
1411
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStoreBase, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.observable, 1, "isHiddenMeetingTab"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_mobx.computed, 3, "media"], [_mobx.computed, 3, "sceneConfig"], [_mobx.computed, 3, "sharedSttSettingDataSource"], [_mobx.computed, 3, "sttProvider"], [_mobx.computed, 3, "languageOptions"], [_mobx.computed, 3, "captionFontSize"], [_mobx.computed, 3, "captionStyle"], [_mobx.computed, 3, "isTwoLineCaptionEnabled"], [_mobx.computed, 3, "isTwoLineTranscribingEnabled"], [_mobx.computed, 3, "translateLanguage"], [_mobx.computed, 3, "sharedInterpreterDataSource"], [_mobx.computed, 3, "currentRoomControl"], [_mobx.computed, 3, "interpreterRoomControl"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "initSettingConfig"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "setCaptionFontSize"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_decorator.bound, 2, "startMicrophoneTest"], [_decorator.bound, 2, "stopMicrophoneTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_changeMediaSettingDecs, 18, "changeMediaSetting"], [_toggleTwoLineCaptionEnabledDecs, 18, "toggleTwoLineCaptionEnabled"], [_toggleTwoLineTranscribingEnabledDecs, 18, "toggleTwoLineTranscribingEnabled"], [_subscribeTranslateLanguageDecs, 18, "subscribeTranslateLanguage"], [_handleJoinRoomDecs, 18, "handleJoinRoom"], [_handleExitRoomDecs, 18, "handleExitRoom"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"], [_decorator.bound, 2, "_handleSystemSelectedDeviceChanged"]], []).e, 14);
1431
+ var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStoreBase, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "isMainRoom"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.observable, 1, "isHiddenMeetingTab"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_mobx.computed, 3, "media"], [_mobx.computed, 3, "sceneConfig"], [_mobx.computed, 3, "sharedSttSettingDataSource"], [_mobx.computed, 3, "sttProvider"], [_mobx.computed, 3, "languageOptions"], [_mobx.computed, 3, "captionFontSize"], [_mobx.computed, 3, "captionStyle"], [_mobx.computed, 3, "isTwoLineCaptionEnabled"], [_mobx.computed, 3, "isTwoLineTranscribingEnabled"], [_mobx.computed, 3, "translateLanguage"], [_mobx.computed, 3, "sharedInterpreterDataSource"], [_mobx.computed, 3, "currentRoomControl"], [_mobx.computed, 3, "interpreterRoomControl"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "initSettingConfig"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "setCaptionFontSize"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_decorator.bound, 2, "startMicrophoneTest"], [_decorator.bound, 2, "stopMicrophoneTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_changeMediaSettingDecs, 18, "changeMediaSetting"], [_toggleTwoLineCaptionEnabledDecs, 18, "toggleTwoLineCaptionEnabled"], [_toggleTwoLineTranscribingEnabledDecs, 18, "toggleTwoLineTranscribingEnabled"], [_subscribeTranslateLanguageDecs, 18, "subscribeTranslateLanguage"], [_handleJoinRoomDecs, 18, "handleJoinRoom"], [_handleExitRoomDecs, 18, "handleExitRoom"], [_handleJoinMainRoomDecs, 18, "_handleJoinMainRoom"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"], [_decorator.bound, 2, "_handleSystemSelectedDeviceChanged"]], []).e, 15);
1412
1432
  _init_loudestStreamVolumeLevel = _applyDecs$e[0];
1413
1433
  _init_microphoneVolumeLevel = _applyDecs$e[1];
1414
1434
  _init_isWifiConnected = _applyDecs$e[2];
1415
- _init_networkState = _applyDecs$e[3];
1416
- _init_performanceState = _applyDecs$e[4];
1417
- _init_localAudioStreamMap = _applyDecs$e[5];
1418
- _init_remoteAudioStreamMap = _applyDecs$e[6];
1419
- _init_localVideoStreamMap = _applyDecs$e[7];
1420
- _init_remoteVideoStreamMap = _applyDecs$e[8];
1421
- _init_systemMemorySize = _applyDecs$e[9];
1422
- _init_systemCpuDesc = _applyDecs$e[10];
1423
- _init_getSystemInfoTimer = _applyDecs$e[11];
1424
- _init_isHiddenMeetingTab = _applyDecs$e[12];
1425
- _initProto = _applyDecs$e[13];
1435
+ _init_isMainRoom = _applyDecs$e[3];
1436
+ _init_networkState = _applyDecs$e[4];
1437
+ _init_performanceState = _applyDecs$e[5];
1438
+ _init_localAudioStreamMap = _applyDecs$e[6];
1439
+ _init_remoteAudioStreamMap = _applyDecs$e[7];
1440
+ _init_localVideoStreamMap = _applyDecs$e[8];
1441
+ _init_remoteVideoStreamMap = _applyDecs$e[9];
1442
+ _init_systemMemorySize = _applyDecs$e[10];
1443
+ _init_systemCpuDesc = _applyDecs$e[11];
1444
+ _init_getSystemInfoTimer = _applyDecs$e[12];
1445
+ _init_isHiddenMeetingTab = _applyDecs$e[13];
1446
+ _initProto = _applyDecs$e[14];
1426
1447
  var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
@@ -4,7 +4,7 @@ import { FcrDeviceInfo } from 'fcr-core/lib/type';
4
4
  export default class SettingStore extends SettingStoreBase {
5
5
  private _renderer;
6
6
  private _windowProvider;
7
- private _audioDeviceWhiteListManager?;
7
+ private _audioDeviceWhiteListManager;
8
8
  private _pollingTask;
9
9
  private _audioDeviceObserver;
10
10
  constructor(args: SettingStoreArgs);
@@ -73,6 +73,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function (_SettingStoreBase
73
73
  (0, _classCallCheck2["default"])(this, SettingStore);
74
74
  _this = _callSuper(this, SettingStore, [args]);
75
75
  (0, _defineProperty2["default"])(_this, "_renderer", void _initProto(_this));
76
+ (0, _defineProperty2["default"])(_this, "_audioDeviceWhiteListManager", null);
76
77
  (0, _defineProperty2["default"])(_this, "_audioDeviceObserver", {
77
78
  onMicrophoneChanged: _this._handleMicrophoneChanged,
78
79
  onMicrophoneListUpdated: _this._handleMicrophoneListUpdated
@@ -81,12 +82,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function (_SettingStoreBase
81
82
  _this._renderer = objectManager.getObject(_objectManager.FcrUIObjectKeys.RENDERER_WRAPPER);
82
83
  _this._windowProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_WINDOW_PROVIDER);
83
84
  var delegate = {
84
- getCurrentSetting: function getCurrentSetting() {
85
- return {
86
- audioEchoCancellation: _this.sharedSettingDataSource.setting.audioEchoCancellation,
87
- noiseReduce: _this.sharedSettingDataSource.setting.noiseReduce
88
- };
89
- },
90
85
  getMicrophoneId: function getMicrophoneId() {
91
86
  return _this.deviceProvider.microphoneId || '';
92
87
  },
@@ -96,7 +91,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function (_SettingStoreBase
96
91
  enableAudioEchoCancellation: function enableAudioEchoCancellation(enable) {
97
92
  return _this.deviceProvider.enableAudioEchoCancellation(enable);
98
93
  },
99
- toggleAgc: function toggleAgc(enable) {
94
+ enableAudioGainControl: function enableAudioGainControl(enable) {
100
95
  return _this.deviceProvider.toggleAGC(enable);
101
96
  },
102
97
  setNoiseLevel: function setNoiseLevel(level) {
@@ -168,6 +163,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function (_SettingStoreBase
168
163
  var _this$_audioDeviceWhi4;
169
164
  this._pollingTask.stop();
170
165
  (_this$_audioDeviceWhi4 = this._audioDeviceWhiteListManager) === null || _this$_audioDeviceWhi4 === void 0 || _this$_audioDeviceWhi4.release();
166
+ this._audioDeviceWhiteListManager = null;
171
167
  this.deviceProvider.removeObserver(this._audioDeviceObserver);
172
168
  }
173
169
  }]);
@@ -1,47 +1,47 @@
1
- .fcr-translate-settings {
2
- padding-top: 15px;
3
- }
4
-
5
- .fcr-translate-settings__section {
6
- margin-top: 10px;
7
- border-radius: var(--fcr_cornerradius_s);
8
- width: 100%;
9
- background: var(--fcr_mobile_ui_scene_color_popup_block5);
10
- }
11
-
12
- .fcr-translate-settings__section:first-child {
13
- margin-top: 0;
14
- }
15
-
16
- .fcr-translate-settings__section:last-child {
17
- margin-bottom: 10px;
18
- }
19
-
20
- .fcr-translate-settings__section-title {
21
- padding: 0 10px 0 12px;
22
- font-size: 13px;
23
- line-height: 32px;
24
- font-weight: 700;
25
- color: var(--fcr_ui_scene_icontext1);
26
- }
27
-
28
- .fcr-translate-settings__section-sub-title {
29
- padding: 0 10px 0 12px;
30
- font-size: 13px;
31
- }
32
-
33
- .fcr-translate-settings__translate-language-select {
34
- padding: 12px;
35
- }
36
-
37
- .fcr-translate-settings__show-two-language {
38
- padding: 0 12px 12px 12px;
39
- }
40
-
41
- .fcr-translate-settings__interpreter-mode {
42
- display: flex;
43
- padding: 12px;
44
- flex-direction: column;
45
- height: 100px;
46
- justify-content: space-between;
47
- }
1
+ .fcr-translate-settings {
2
+ padding-top: 15px;
3
+ }
4
+
5
+ .fcr-translate-settings__section {
6
+ margin-top: 10px;
7
+ border-radius: var(--fcr_cornerradius_s);
8
+ width: 100%;
9
+ background: var(--fcr_mobile_ui_scene_color_popup_block5);
10
+ }
11
+
12
+ .fcr-translate-settings__section:first-child {
13
+ margin-top: 0;
14
+ }
15
+
16
+ .fcr-translate-settings__section:last-child {
17
+ margin-bottom: 10px;
18
+ }
19
+
20
+ .fcr-translate-settings__section-title {
21
+ padding: 0 10px 0 12px;
22
+ font-size: 13px;
23
+ line-height: 32px;
24
+ font-weight: 700;
25
+ color: var(--fcr_ui_scene_icontext1);
26
+ }
27
+
28
+ .fcr-translate-settings__section-sub-title {
29
+ padding: 0 10px 0 12px;
30
+ font-size: 13px;
31
+ }
32
+
33
+ .fcr-translate-settings__translate-language-select {
34
+ padding: 12px;
35
+ }
36
+
37
+ .fcr-translate-settings__show-two-language {
38
+ padding: 0 12px 12px 12px;
39
+ }
40
+
41
+ .fcr-translate-settings__interpreter-mode {
42
+ display: flex;
43
+ padding: 12px;
44
+ flex-direction: column;
45
+ height: 100px;
46
+ justify-content: space-between;
47
+ }