fcr-ui-scene 3.7.4 → 3.7.6

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 (870) hide show
  1. package/installer/icons/icon.png +0 -0
  2. package/installer/mac/entitlements.mac.plist +5 -1
  3. package/lib/assets/mic-loading.gif +0 -0
  4. package/lib/base.d.ts +15 -6
  5. package/lib/base.js +139 -107
  6. package/lib/{creator.d.ts → creator/index.d.ts} +16 -12
  7. package/lib/{creator.js → creator/index.js} +281 -210
  8. package/lib/creator/provider-initializer.browser.d.ts +14 -0
  9. package/lib/creator/provider-initializer.browser.js +303 -0
  10. package/lib/creator/provider-initializer.electron.d.ts +14 -0
  11. package/lib/creator/provider-initializer.electron.js +343 -0
  12. package/lib/creator/type.d.ts +15 -0
  13. package/lib/electron/app.js +84 -48
  14. package/lib/electron/bootstrap-sdk.js +138 -15
  15. package/lib/electron/event-manager.d.ts +88 -0
  16. package/lib/electron/event-manager.js +242 -0
  17. package/lib/electron/injections.d.ts +14 -32
  18. package/lib/electron/injections.js +207 -326
  19. package/lib/electron/ipc/type.d.ts +2 -0
  20. package/lib/electron/ipc/type.js +2 -0
  21. package/lib/electron/ipc-protocol.d.ts +91 -0
  22. package/lib/electron/ipc-protocol.js +61 -0
  23. package/lib/electron/main.js +64 -86
  24. package/lib/electron/preload.d.ts +1 -1
  25. package/lib/electron/preload.js +18 -112
  26. package/lib/electron/sdk-helper.d.ts +4 -0
  27. package/lib/electron/sdk-helper.js +272 -0
  28. package/lib/electron/struct.d.ts +12 -0
  29. package/lib/electron/struct.js +21 -0
  30. package/lib/electron/until.d.ts +32 -0
  31. package/lib/electron/until.js +58 -0
  32. package/lib/electron/window-proxy/browser-window-proxy.d.ts +63 -0
  33. package/lib/electron/window-proxy/browser-window-proxy.js +728 -0
  34. package/lib/electron/window-proxy/main-process-handler.d.ts +45 -0
  35. package/lib/electron/window-proxy/main-process-handler.js +446 -0
  36. package/lib/electron/window.d.ts +0 -4
  37. package/lib/electron/window.js +10 -21
  38. package/lib/fragments/annotation/index.d.ts +1 -0
  39. package/lib/fragments/annotation/index.js +3 -1
  40. package/lib/fragments/annotation/store.d.ts +1 -0
  41. package/lib/fragments/annotation/store.js +45 -18
  42. package/lib/fragments/annotation/toolbar/store.d.ts +6 -6
  43. package/lib/fragments/annotation/toolbar/store.js +13 -41
  44. package/lib/fragments/annotation/toolbar/view.js +32 -37
  45. package/lib/fragments/annotation/view.d.ts +0 -1
  46. package/lib/fragments/annotation/view.js +11 -12
  47. package/lib/fragments/base.d.ts +3 -0
  48. package/lib/fragments/base.js +3 -1
  49. package/lib/fragments/whiteboard/index.d.ts +1 -1
  50. package/lib/fragments/whiteboard/index.js +3 -6
  51. package/lib/fragments/whiteboard/store.d.ts +1 -0
  52. package/lib/fragments/whiteboard/store.js +15 -8
  53. package/lib/global.css +22 -10
  54. package/lib/global.d.ts +19 -1
  55. package/lib/modules/action-bar/components/apps/index.js +1 -1
  56. package/lib/modules/action-bar/components/chat/index.js +1 -1
  57. package/lib/modules/action-bar/components/collapse/index.d.ts +1 -1
  58. package/lib/modules/action-bar/components/collapse/index.js +1 -3
  59. package/lib/modules/action-bar/components/confirm-leave-meeting/index.d.ts +3 -0
  60. package/lib/modules/action-bar/components/confirm-leave-meeting/index.js +78 -0
  61. package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -1
  62. package/lib/modules/action-bar/components/interpreter/index.js +1 -1
  63. package/lib/modules/action-bar/components/item/index.d.ts +1 -1
  64. package/lib/modules/action-bar/components/leave/index.js +1 -1
  65. package/lib/modules/action-bar/components/live-streaming/index.js +1 -1
  66. package/lib/modules/action-bar/components/more/index.js +3 -9
  67. package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -1
  68. package/lib/modules/action-bar/components/more/poppover-content.js +13 -13
  69. package/lib/modules/action-bar/components/notification-bar/index.js +1 -1
  70. package/lib/modules/action-bar/components/participants/index.js +1 -1
  71. package/lib/modules/action-bar/components/placement/index.d.ts +1 -1
  72. package/lib/modules/action-bar/components/record/index.js +1 -1
  73. package/lib/modules/action-bar/components/record/popover.js +1 -1
  74. package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -1
  75. package/lib/modules/action-bar/components/screen-share/index.browser.d.ts +4 -0
  76. package/lib/modules/action-bar/components/screen-share/index.browser.js +62 -0
  77. package/lib/modules/action-bar/components/screen-share/index.electron.d.ts +4 -0
  78. package/lib/modules/action-bar/components/screen-share/index.electron.js +72 -0
  79. package/lib/modules/action-bar/components/screen-share/index.js +3 -85
  80. package/lib/modules/action-bar/components/screen-share/submenu.d.ts +5 -1
  81. package/lib/modules/action-bar/components/screen-share/submenu.js +56 -43
  82. package/lib/modules/action-bar/components/security/index.js +2 -14
  83. package/lib/modules/action-bar/components/settings/index.js +3 -3
  84. package/lib/modules/action-bar/components/smaller/index.js +1 -1
  85. package/lib/modules/action-bar/components/trigger-output-language/index.js +1 -1
  86. package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +1 -1
  87. package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -2
  88. package/lib/modules/action-bar/constants.d.ts +1 -0
  89. package/lib/modules/action-bar/constants.js +8 -0
  90. package/lib/modules/action-bar/main-scene/index.d.ts +19 -0
  91. package/lib/modules/action-bar/main-scene/index.js +141 -0
  92. package/lib/modules/action-bar/{store.d.ts → main-scene/store.base.d.ts} +84 -108
  93. package/lib/modules/action-bar/{store.js → main-scene/store.base.js} +285 -288
  94. package/lib/modules/action-bar/main-scene/store.browser.d.ts +4 -0
  95. package/lib/modules/action-bar/main-scene/store.browser.js +111 -0
  96. package/lib/modules/action-bar/main-scene/store.electron.d.ts +10 -0
  97. package/lib/modules/action-bar/main-scene/store.electron.js +100 -0
  98. package/lib/modules/action-bar/main-scene/view.d.ts +4 -0
  99. package/lib/modules/action-bar/{view.js → main-scene/view.js} +16 -17
  100. package/lib/modules/action-bar/{types.d.ts → type.d.ts} +9 -0
  101. package/lib/modules/action-bar/type.js +13 -0
  102. package/lib/modules/action-bar/waiting-scene/index.d.ts +15 -0
  103. package/lib/modules/action-bar/waiting-scene/index.js +102 -0
  104. package/lib/modules/action-bar/waiting-scene/store.base.d.ts +9 -0
  105. package/lib/{shared-data-source/annotation-data.js → modules/action-bar/waiting-scene/store.base.js} +20 -35
  106. package/lib/modules/action-bar/waiting-scene/store.browser.d.ts +3 -0
  107. package/lib/modules/action-bar/waiting-scene/store.browser.js +25 -0
  108. package/lib/modules/action-bar/waiting-scene/store.electron.d.ts +9 -0
  109. package/lib/modules/action-bar/waiting-scene/store.electron.js +45 -0
  110. package/lib/modules/action-bar/waiting-scene/view.d.ts +2 -0
  111. package/lib/modules/action-bar/waiting-scene/view.js +123 -0
  112. package/lib/modules/audio-stream/index.d.ts +3 -14
  113. package/lib/modules/audio-stream/index.js +21 -16
  114. package/lib/modules/chat/chat-room-store.d.ts +7 -20
  115. package/lib/modules/chat/chat-room-store.js +21 -20
  116. package/lib/modules/chat/components/message-list/index.js +1 -1
  117. package/lib/modules/chat/components/message-list/message-item/index.js +2 -2
  118. package/lib/modules/chat/index.css +4 -0
  119. package/lib/modules/chat/index.d.ts +6 -22
  120. package/lib/modules/chat/index.dev.js +9 -9
  121. package/lib/modules/chat/index.js +52 -108
  122. package/lib/modules/chat/store.d.ts +16 -30
  123. package/lib/modules/chat/store.js +138 -53
  124. package/lib/modules/chat/types.d.ts +19 -2
  125. package/lib/modules/chat/view.js +5 -4
  126. package/lib/modules/components/annotation-menu/index.js +1 -6
  127. package/lib/modules/components/control-bar/components/switch-theme/index.js +2 -2
  128. package/lib/modules/components/control-bar/index.css +17 -5
  129. package/lib/modules/components/control-bar/index.d.ts +19 -11
  130. package/lib/modules/components/control-bar/index.js +101 -29
  131. package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
  132. package/lib/modules/components/device-control/components/carmera/index.js +16 -16
  133. package/lib/modules/components/device-control/components/microphone/index.d.ts +3 -2
  134. package/lib/modules/components/device-control/components/microphone/index.js +44 -28
  135. package/lib/modules/components/device-control/components/none-menu/index.js +4 -4
  136. package/lib/modules/components/device-control/components/phone-menu/index.js +4 -4
  137. package/lib/modules/components/device-control/components/video-menu/index.js +4 -4
  138. package/lib/modules/components/device-control/main-scene/store.d.ts +9 -0
  139. package/lib/modules/components/device-control/main-scene/store.js +94 -0
  140. package/lib/modules/components/device-control/{store.d.ts → store.base.d.ts} +12 -15
  141. package/lib/modules/components/device-control/{store.js → store.base.js} +39 -33
  142. package/lib/modules/components/device-control/type.d.ts +4 -0
  143. package/lib/modules/components/device-control/waiting-scene/store.d.ts +5 -0
  144. package/lib/modules/components/device-control/waiting-scene/store.js +90 -0
  145. package/lib/modules/components/leave-meeting/components/assign-host.d.ts +1 -1
  146. package/lib/modules/components/leave-meeting/index.js +7 -11
  147. package/lib/modules/components/leave-meeting/main-scene/store.d.ts +14 -0
  148. package/lib/modules/components/leave-meeting/main-scene/store.js +113 -0
  149. package/lib/modules/components/leave-meeting/store.base.d.ts +36 -0
  150. package/lib/modules/components/leave-meeting/{store.js → store.base.js} +45 -50
  151. package/lib/modules/components/leave-meeting/type.d.ts +4 -0
  152. package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +13 -0
  153. package/lib/modules/components/leave-meeting/waiting-scene/store.js +104 -0
  154. package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +5 -6
  155. package/lib/modules/components/member-window/components/member-actions/index.js +2 -0
  156. package/lib/modules/components/member-window/components/member-actions/libs/index.js +12 -14
  157. package/lib/modules/components/member-window/components/member-actions/provider.d.ts +1 -0
  158. package/lib/modules/components/member-window/components/member-actions/provider.js +14 -3
  159. package/lib/modules/components/member-window/components/member-actions/store.d.ts +17 -5
  160. package/lib/modules/components/member-window/components/member-actions/store.js +28 -10
  161. package/lib/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +4 -4
  162. package/lib/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +1 -1
  163. package/lib/modules/components/member-window/components/video-player/components/zoomable-container.js +18 -32
  164. package/lib/modules/components/member-window/types.d.ts +1 -0
  165. package/lib/modules/components/security-menu/index.d.ts +1 -9
  166. package/lib/modules/components/security-menu/index.js +42 -39
  167. package/lib/modules/components/security-menu/store.d.ts +47 -0
  168. package/lib/modules/components/security-menu/store.js +332 -0
  169. package/lib/modules/components/security-menu/type.d.ts +4 -0
  170. package/lib/modules/components/security-menu/type.js +6 -0
  171. package/lib/modules/components/tab-frame/index.js +6 -21
  172. package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +1 -0
  173. package/lib/modules/components/toolbar/components/capture-tool/index.js +3 -4
  174. package/lib/modules/components/toolbar/components/color-tool/index.d.ts +2 -1
  175. package/lib/modules/components/toolbar/components/graphic-tool/index.js +0 -2
  176. package/lib/modules/components/toolbar/components/multiple-color-tool/index.d.ts +2 -1
  177. package/lib/modules/components/toolbar/components/multiple-color-tool/index.js +1 -1
  178. package/lib/modules/components/toolbar/components/vertical-frame/index.js +9 -5
  179. package/lib/modules/components/toolbar/hooks/use-resize-visible.js +16 -4
  180. package/lib/modules/components/toolbar/index.d.ts +3 -1
  181. package/lib/modules/components/toolbar/index.js +5 -3
  182. package/lib/modules/connection-gateway/index.d.ts +3 -18
  183. package/lib/modules/connection-gateway/index.js +25 -28
  184. package/lib/modules/connection-gateway/store.d.ts +4 -20
  185. package/lib/modules/connection-gateway/store.js +19 -21
  186. package/lib/modules/connection-gateway/types.d.ts +4 -0
  187. package/lib/modules/control-bar/components/boundary-detector.d.ts +8 -0
  188. package/lib/modules/control-bar/components/boundary-detector.js +56 -0
  189. package/lib/modules/control-bar/components/carmera/index.d.ts +1 -0
  190. package/lib/modules/control-bar/components/carmera/index.js +147 -0
  191. package/lib/modules/control-bar/components/cloud-recording-buttons.js +3 -0
  192. package/lib/modules/control-bar/components/meeting-details/index.js +7 -17
  193. package/lib/modules/control-bar/components/microphone/index.d.ts +6 -0
  194. package/lib/modules/control-bar/components/microphone/index.js +233 -0
  195. package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -1
  196. package/lib/modules/control-bar/components/more-actions/index.js +22 -59
  197. package/lib/modules/control-bar/components/share-audio/index.d.ts +0 -2
  198. package/lib/modules/control-bar/components/share-audio/index.js +6 -24
  199. package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -1
  200. package/lib/modules/control-bar/components/share-state-nav/index.js +9 -5
  201. package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -1
  202. package/lib/modules/control-bar/context.d.ts +5 -0
  203. package/lib/modules/control-bar/context.js +12 -0
  204. package/lib/modules/control-bar/enums.d.ts +3 -1
  205. package/lib/modules/control-bar/enums.js +2 -0
  206. package/lib/modules/control-bar/hooks.d.ts +3 -0
  207. package/lib/modules/control-bar/hooks.js +36 -0
  208. package/lib/modules/control-bar/index.d.ts +21 -49
  209. package/lib/modules/control-bar/index.dev.js +40 -0
  210. package/lib/modules/control-bar/index.js +99 -45
  211. package/lib/modules/control-bar/reactor.d.ts +2 -0
  212. package/lib/modules/control-bar/reactor.js +8 -0
  213. package/lib/modules/control-bar/store.d.ts +58 -117
  214. package/lib/modules/control-bar/store.js +360 -456
  215. package/lib/modules/control-bar/type.d.ts +43 -0
  216. package/lib/modules/control-bar/type.js +6 -0
  217. package/lib/modules/control-bar/view.d.ts +1 -5
  218. package/lib/modules/control-bar/view.js +622 -459
  219. package/lib/modules/device-pretest/audio-preview/microphone-detection.js +1 -1
  220. package/lib/modules/device-pretest/audio-preview/speaker-control.js +3 -0
  221. package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
  222. package/lib/modules/device-pretest/index.d.ts +0 -1
  223. package/lib/modules/device-pretest/index.js +3 -4
  224. package/lib/modules/device-pretest/settings/beauty.d.ts +1 -1
  225. package/lib/modules/device-pretest/settings/beauty.js +3 -3
  226. package/lib/modules/device-pretest/settings/video-effect.js +1 -1
  227. package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
  228. package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
  229. package/lib/modules/device-pretest/store.d.ts +3 -2
  230. package/lib/modules/dialog/components/confirm/index.d.ts +5 -0
  231. package/lib/modules/dialog/components/confirm/index.js +162 -0
  232. package/lib/modules/dialog/components/dialog-container/component/body.d.ts +10 -8
  233. package/lib/modules/dialog/components/dialog-container/component/body.js +40 -26
  234. package/lib/modules/dialog/components/dialog-container/index.css +10 -0
  235. package/lib/modules/dialog/components/dialog-container/index.d.ts +5 -7
  236. package/lib/modules/dialog/components/dialog-container/index.js +42 -62
  237. package/lib/modules/dialog/components/host-area-container/index.d.ts +1 -1
  238. package/lib/modules/dialog/components/host-area-container/index.js +142 -200
  239. package/lib/modules/dialog/components/normal-window/index.d.ts +17 -14
  240. package/lib/modules/dialog/components/normal-window/index.js +40 -57
  241. package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +6 -3
  242. package/lib/modules/dialog/dialogs/annotation-tool/index.js +18 -19
  243. package/lib/modules/dialog/dialogs/chat/components/actions.d.ts +3 -1
  244. package/lib/modules/dialog/dialogs/chat/components/actions.js +17 -7
  245. package/lib/modules/dialog/dialogs/chat/index.d.ts +27 -4
  246. package/lib/modules/dialog/dialogs/chat/index.js +51 -30
  247. package/lib/modules/dialog/dialogs/confirm/index.css +24 -0
  248. package/lib/modules/dialog/dialogs/confirm/index.d.ts +22 -1
  249. package/lib/modules/dialog/dialogs/confirm/index.js +49 -33
  250. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +18 -6
  251. package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +25 -43
  252. package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +24 -8
  253. package/lib/modules/dialog/dialogs/connection-gateway/index.js +36 -43
  254. package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +17 -15
  255. package/lib/modules/dialog/dialogs/control-bar/index.d.ts +21 -8
  256. package/lib/modules/dialog/dialogs/control-bar/index.js +19 -114
  257. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +19 -0
  258. package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +41 -0
  259. package/lib/modules/dialog/dialogs/device-setting/index.d.ts +16 -1
  260. package/lib/modules/dialog/dialogs/device-setting/index.js +29 -27
  261. package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +10 -10
  262. package/lib/modules/dialog/dialogs/end-meeting/index.js +35 -26
  263. package/lib/modules/dialog/dialogs/interpreter/index.d.ts +18 -3
  264. package/lib/modules/dialog/dialogs/interpreter/index.js +33 -31
  265. package/lib/modules/dialog/dialogs/invite/index.d.ts +22 -1
  266. package/lib/modules/dialog/dialogs/invite/index.js +43 -43
  267. package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +12 -1
  268. package/lib/modules/dialog/dialogs/live-streaming/index.js +23 -22
  269. package/lib/modules/dialog/dialogs/mute-all/index.css +20 -0
  270. package/lib/modules/dialog/dialogs/mute-all/index.d.ts +20 -0
  271. package/lib/modules/dialog/dialogs/mute-all/index.js +49 -0
  272. package/lib/modules/dialog/dialogs/participant/components/actions.d.ts +3 -1
  273. package/lib/modules/dialog/dialogs/participant/components/actions.js +6 -8
  274. package/lib/modules/dialog/dialogs/participant/components/title.d.ts +6 -1
  275. package/lib/modules/dialog/dialogs/participant/components/title.js +4 -7
  276. package/lib/modules/dialog/dialogs/participant/index.d.ts +26 -2
  277. package/lib/modules/dialog/dialogs/participant/index.js +46 -40
  278. package/lib/modules/dialog/dialogs/rename/index.d.ts +18 -3
  279. package/lib/modules/dialog/dialogs/rename/index.js +29 -14
  280. package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +21 -0
  281. package/lib/modules/dialog/dialogs/sample-dialog/index.js +55 -0
  282. package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +19 -4
  283. package/lib/modules/dialog/dialogs/share-screen-selection/index.js +40 -33
  284. package/lib/modules/dialog/dialogs/sub-window/index.d.ts +21 -1
  285. package/lib/modules/dialog/dialogs/sub-window/index.js +27 -91
  286. package/lib/modules/dialog/dialogs/system-preference/electron.js +15 -16
  287. package/lib/modules/dialog/dialogs/system-preference/index.css +2 -2
  288. package/lib/modules/dialog/dialogs/system-preference/index.d.ts +32 -5
  289. package/lib/modules/dialog/dialogs/system-preference/index.js +55 -46
  290. package/lib/modules/dialog/dialogs/toast/index.d.ts +21 -3
  291. package/lib/modules/dialog/dialogs/toast/index.js +18 -41
  292. package/lib/modules/dialog/dialogs/video-window/index.d.ts +29 -2
  293. package/lib/modules/dialog/dialogs/video-window/index.js +50 -261
  294. package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +23 -4
  295. package/lib/modules/dialog/dialogs/whiteboard/index.js +58 -64
  296. package/lib/modules/dialog/dialogs/widget/index.d.ts +18 -6
  297. package/lib/modules/dialog/dialogs/widget/index.js +34 -28
  298. package/lib/modules/dialog/index.css +8 -1
  299. package/lib/modules/dialog/index.d.ts +5 -46
  300. package/lib/modules/dialog/index.js +29 -74
  301. package/lib/modules/dialog/level-config.d.ts +11 -11
  302. package/lib/modules/dialog/level-config.js +12 -15
  303. package/lib/modules/dialog/store.base.d.ts +46 -0
  304. package/lib/modules/dialog/store.base.js +279 -0
  305. package/lib/modules/dialog/store.browser.d.ts +18 -0
  306. package/lib/modules/dialog/store.browser.js +141 -0
  307. package/lib/modules/dialog/store.electron.d.ts +36 -0
  308. package/lib/modules/dialog/store.electron.js +299 -0
  309. package/lib/modules/dialog/type.d.ts +16 -11
  310. package/lib/modules/dialog/view.d.ts +1 -1
  311. package/lib/modules/dialog/view.js +10 -12
  312. package/lib/modules/event-sound/index.d.ts +3 -37
  313. package/lib/modules/event-sound/index.js +18 -273
  314. package/lib/modules/event-sound/store.d.ts +36 -0
  315. package/lib/modules/event-sound/store.js +283 -0
  316. package/lib/modules/event-sound/type.d.ts +4 -0
  317. package/lib/modules/event-sound/type.js +6 -0
  318. package/lib/modules/event-toast/index.css +0 -1
  319. package/lib/modules/event-toast/index.d.ts +5 -6
  320. package/lib/modules/event-toast/index.js +41 -24
  321. package/lib/modules/event-toast/store.base.d.ts +20 -0
  322. package/lib/modules/event-toast/{store.js → store.base.js} +80 -86
  323. package/lib/modules/event-toast/store.browser.d.ts +4 -0
  324. package/lib/modules/event-toast/store.browser.js +30 -0
  325. package/lib/modules/event-toast/store.electron.d.ts +17 -0
  326. package/lib/modules/event-toast/store.electron.js +144 -0
  327. package/lib/modules/event-toast/type.d.ts +10 -0
  328. package/lib/modules/event-toast/type.js +6 -0
  329. package/lib/modules/event-toast/view.js +13 -9
  330. package/lib/modules/interpreter/index.css +4 -0
  331. package/lib/modules/interpreter/index.d.ts +3 -15
  332. package/lib/modules/interpreter/index.js +18 -16
  333. package/lib/modules/interpreter/store.d.ts +10 -16
  334. package/lib/modules/interpreter/store.js +20 -49
  335. package/lib/modules/interpreter/type.d.ts +3 -15
  336. package/lib/modules/interpreter/view.d.ts +1 -0
  337. package/lib/modules/interpreter/view.js +4 -19
  338. package/lib/modules/invite/components/pstn-invite.js +2 -2
  339. package/lib/modules/invite/index.d.ts +3 -10
  340. package/lib/modules/invite/index.js +25 -12
  341. package/lib/modules/invite/store.d.ts +17 -30
  342. package/lib/modules/invite/store.js +65 -79
  343. package/lib/modules/invite/types.d.ts +5 -1
  344. package/lib/modules/layout/components/Aside.js +1 -1
  345. package/lib/modules/layout/components/Carousel.js +1 -1
  346. package/lib/modules/layout/components/CommonVideoRenderer.js +41 -5
  347. package/lib/modules/layout/components/Gallery.js +1 -1
  348. package/lib/modules/layout/components/who-is-speaking.js +1 -1
  349. package/lib/modules/layout/index.d.ts +3 -39
  350. package/lib/modules/layout/index.dev.js +8 -8
  351. package/lib/modules/layout/index.js +32 -45
  352. package/lib/modules/layout/{store.d.ts → store.base.d.ts} +31 -24
  353. package/lib/modules/layout/{store.js → store.base.js} +65 -137
  354. package/lib/modules/layout/store.browser.d.ts +11 -0
  355. package/lib/modules/layout/store.browser.js +56 -0
  356. package/lib/modules/layout/store.electron.d.ts +16 -0
  357. package/lib/modules/layout/store.electron.js +177 -0
  358. package/lib/modules/layout/type.d.ts +3 -39
  359. package/lib/modules/layout/view.js +1 -1
  360. package/lib/modules/live-streaming/index.d.ts +2 -15
  361. package/lib/modules/live-streaming/index.dev.js +3 -3
  362. package/lib/modules/live-streaming/index.js +25 -12
  363. package/lib/modules/live-streaming/store.d.ts +6 -18
  364. package/lib/modules/live-streaming/store.js +22 -26
  365. package/lib/modules/live-streaming/type.d.ts +4 -0
  366. package/lib/modules/live-streaming/type.js +6 -0
  367. package/lib/modules/notification/index.d.ts +3 -7
  368. package/lib/modules/notification/index.js +26 -16
  369. package/lib/modules/notification/store.d.ts +11 -6
  370. package/lib/modules/notification/store.js +51 -11
  371. package/lib/modules/notification/type.d.ts +4 -0
  372. package/lib/modules/notification/type.js +6 -0
  373. package/lib/modules/notification/view.d.ts +6 -6
  374. package/lib/modules/notification/view.js +23 -32
  375. package/lib/modules/offscreen-pulling/index.js +1 -1
  376. package/lib/modules/participant/components/confirm-input/index.js +5 -4
  377. package/lib/modules/participant/components/mute-all/index.d.ts +1 -4
  378. package/lib/modules/participant/components/mute-all/index.js +32 -11
  379. package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +1 -1
  380. package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -2
  381. package/lib/modules/participant/components/participants/components/footer/index.js +5 -3
  382. package/lib/modules/participant/components/participants/components/merge/index.d.ts +1 -2
  383. package/lib/modules/participant/components/participants/components/merge/index.js +1 -3
  384. package/lib/modules/participant/components/participants/components/render-tab/index.js +1 -1
  385. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +1 -1
  386. package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +1 -1
  387. package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +1 -1
  388. package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -1
  389. package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +5 -4
  390. package/lib/modules/participant/components/participants/index.js +17 -37
  391. package/lib/modules/participant/components/participants/types.d.ts +1 -0
  392. package/lib/modules/participant/index.css +4 -0
  393. package/lib/modules/participant/index.d.ts +6 -47
  394. package/lib/modules/participant/index.dev.js +9 -9
  395. package/lib/modules/participant/index.js +60 -56
  396. package/lib/modules/participant/member-list-data-source.d.ts +2 -1
  397. package/lib/modules/participant/member-list-data-source.js +14 -14
  398. package/lib/modules/participant/store.base.d.ts +434 -0
  399. package/lib/modules/participant/store.base.js +2365 -0
  400. package/lib/modules/participant/store.browser.d.ts +9 -0
  401. package/lib/modules/participant/store.browser.js +123 -0
  402. package/lib/modules/participant/store.electron.d.ts +13 -0
  403. package/lib/modules/participant/store.electron.js +130 -0
  404. package/lib/modules/participant/struct.d.ts +49 -0
  405. package/lib/modules/participant/struct.js +60 -0
  406. package/lib/modules/participant/type.d.ts +5 -22
  407. package/lib/modules/participant/type.js +1 -25
  408. package/lib/modules/participant/view.js +1 -1
  409. package/lib/modules/pc-audio-connect/main-scene/index.d.ts +14 -0
  410. package/lib/modules/pc-audio-connect/{index.js → main-scene/index.js} +38 -19
  411. package/lib/modules/pc-audio-connect/main-scene/store.d.ts +33 -0
  412. package/lib/modules/pc-audio-connect/main-scene/store.js +313 -0
  413. package/lib/modules/pc-audio-connect/types.d.ts +4 -0
  414. package/lib/modules/pc-audio-connect/types.js +6 -1
  415. package/lib/modules/pc-audio-connect/view.js +2 -1
  416. package/lib/modules/pc-audio-connect/waiting-scene/index.d.ts +10 -0
  417. package/lib/modules/pc-audio-connect/waiting-scene/index.js +69 -0
  418. package/lib/modules/pc-audio-connect/waiting-scene/store.d.ts +30 -0
  419. package/lib/modules/pc-audio-connect/{store.js → waiting-scene/store.js} +38 -47
  420. package/lib/modules/phone-audio-connect/index.d.ts +2 -10
  421. package/lib/modules/phone-audio-connect/index.js +16 -9
  422. package/lib/modules/phone-audio-connect/store.d.ts +2 -11
  423. package/lib/modules/phone-audio-connect/store.js +12 -13
  424. package/lib/modules/phone-audio-connect/types.d.ts +4 -0
  425. package/lib/modules/secondary-window/index.d.ts +8 -29
  426. package/lib/modules/secondary-window/index.js +51 -9
  427. package/lib/modules/secondary-window/store.d.ts +27 -24
  428. package/lib/modules/secondary-window/store.js +171 -64
  429. package/lib/modules/secondary-window/type.d.ts +4 -0
  430. package/lib/modules/secondary-window/view.js +105 -73
  431. package/lib/modules/setting/audio-settings/audio-settings.js +5 -16
  432. package/lib/modules/setting/general-settings/general-settings.js +16 -11
  433. package/lib/modules/setting/index.css +1 -0
  434. package/lib/modules/setting/index.d.ts +8 -27
  435. package/lib/modules/setting/index.dev.js +10 -10
  436. package/lib/modules/setting/index.js +57 -30
  437. package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
  438. package/lib/modules/setting/state/index.js +3 -3
  439. package/lib/modules/setting/storage-settings/storage-settings.js +3 -14
  440. package/lib/modules/setting/{store.d.ts → store.base.d.ts} +32 -92
  441. package/lib/modules/setting/{store.js → store.base.js} +304 -286
  442. package/lib/modules/setting/store.browser.d.ts +7 -0
  443. package/lib/modules/setting/store.browser.js +55 -0
  444. package/lib/modules/setting/store.electron.d.ts +9 -0
  445. package/lib/modules/setting/store.electron.js +69 -0
  446. package/lib/modules/setting/translate-settings/translate-settings.js +2 -2
  447. package/lib/modules/setting/type.d.ts +69 -0
  448. package/lib/modules/setting/type.js +26 -0
  449. package/lib/modules/setting/video-settings/video-settings-basic.js +2 -2
  450. package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
  451. package/lib/modules/setting/video-settings/video-settings.js +9 -10
  452. package/lib/modules/setting/view.d.ts +0 -8
  453. package/lib/modules/setting/view.js +15 -27
  454. package/lib/modules/share-screen/components/control-bar/index.js +87 -81
  455. package/lib/modules/share-screen/components/selection/index.css +6 -3
  456. package/lib/modules/share-screen/components/selection/index.js +178 -202
  457. package/lib/modules/share-screen/index.d.ts +16 -30
  458. package/lib/modules/share-screen/index.dev.js +11 -11
  459. package/lib/modules/share-screen/index.js +47 -35
  460. package/lib/modules/share-screen/store.base.d.ts +49 -0
  461. package/lib/modules/share-screen/store.base.js +468 -0
  462. package/lib/modules/share-screen/store.browser.d.ts +9 -0
  463. package/lib/modules/share-screen/store.browser.js +43 -0
  464. package/lib/modules/share-screen/store.electron.d.ts +25 -0
  465. package/lib/modules/share-screen/store.electron.js +268 -0
  466. package/lib/modules/share-screen/type.d.ts +40 -0
  467. package/lib/modules/share-screen/type.js +13 -0
  468. package/lib/modules/share-screen/view.js +5 -6
  469. package/lib/modules/state-bar/index.d.ts +6 -35
  470. package/lib/modules/state-bar/index.dev.js +7 -7
  471. package/lib/modules/state-bar/index.js +18 -48
  472. package/lib/modules/state-bar/layout-config.js +5 -4
  473. package/lib/modules/state-bar/live-streaming-state.js +6 -5
  474. package/lib/modules/state-bar/main-scene/index.d.ts +5 -0
  475. package/lib/modules/state-bar/main-scene/index.js +47 -0
  476. package/lib/modules/state-bar/main-scene/store.base.d.ts +23 -0
  477. package/lib/modules/state-bar/main-scene/store.base.js +132 -0
  478. package/lib/modules/state-bar/main-scene/store.browser.d.ts +4 -0
  479. package/lib/modules/state-bar/main-scene/store.browser.js +86 -0
  480. package/lib/modules/state-bar/main-scene/store.electron.d.ts +13 -0
  481. package/lib/modules/state-bar/main-scene/store.electron.js +113 -0
  482. package/lib/modules/state-bar/meeting-details.js +20 -36
  483. package/lib/modules/state-bar/meeting-network-state.js +3 -3
  484. package/lib/modules/state-bar/meeting-time.js +1 -1
  485. package/lib/modules/state-bar/network-quality.js +1 -1
  486. package/lib/modules/state-bar/recording.js +7 -6
  487. package/lib/modules/state-bar/store.base.d.ts +82 -0
  488. package/lib/modules/state-bar/store.base.electron.d.ts +15 -0
  489. package/lib/{providers/whiteboard-provider.js → modules/state-bar/store.base.electron.js} +42 -60
  490. package/lib/modules/state-bar/{store.js → store.base.js} +140 -208
  491. package/lib/modules/state-bar/type.d.ts +5 -0
  492. package/lib/modules/state-bar/type.js +6 -0
  493. package/lib/modules/state-bar/view.js +36 -38
  494. package/lib/modules/state-bar/waiting-scene/index.d.ts +5 -0
  495. package/lib/modules/state-bar/waiting-scene/index.js +47 -0
  496. package/lib/modules/state-bar/waiting-scene/store.base.d.ts +11 -0
  497. package/lib/modules/state-bar/waiting-scene/store.base.js +50 -0
  498. package/lib/modules/state-bar/waiting-scene/store.browser.d.ts +4 -0
  499. package/lib/modules/state-bar/waiting-scene/store.browser.js +86 -0
  500. package/lib/modules/state-bar/waiting-scene/store.electron.d.ts +12 -0
  501. package/lib/modules/state-bar/waiting-scene/store.electron.js +105 -0
  502. package/lib/modules/video-window/components/members/index.js +3 -5
  503. package/lib/modules/video-window/index.d.ts +6 -38
  504. package/lib/modules/video-window/index.js +46 -56
  505. package/lib/modules/video-window/popover-watcher.d.ts +9 -0
  506. package/lib/modules/video-window/popover-watcher.js +60 -0
  507. package/lib/modules/video-window/store.d.ts +32 -22
  508. package/lib/modules/video-window/store.js +181 -140
  509. package/lib/modules/video-window/type.d.ts +3 -27
  510. package/lib/modules/video-window/view.js +58 -7
  511. package/lib/modules/waiting-room-layout/index.d.ts +3 -9
  512. package/lib/modules/waiting-room-layout/index.js +28 -21
  513. package/lib/modules/waiting-room-layout/store.d.ts +4 -10
  514. package/lib/modules/waiting-room-layout/store.js +10 -7
  515. package/lib/modules/whiteboard/components/control-bar/store.d.ts +6 -14
  516. package/lib/modules/whiteboard/components/control-bar/store.js +29 -31
  517. package/lib/modules/whiteboard/components/loading/index.d.ts +7 -1
  518. package/lib/modules/whiteboard/components/loading/index.js +6 -9
  519. package/lib/modules/whiteboard/components/multi-window/index.js +1 -1
  520. package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -6
  521. package/lib/modules/whiteboard/components/toolbar/store.js +4 -13
  522. package/lib/modules/whiteboard/index.d.ts +4 -92
  523. package/lib/modules/whiteboard/index.js +24 -813
  524. package/lib/modules/whiteboard/libs/theme.d.ts +4 -0
  525. package/lib/modules/whiteboard/libs/theme.js +31 -0
  526. package/lib/modules/whiteboard/store.browser.d.ts +5 -0
  527. package/lib/modules/whiteboard/store.browser.js +28 -0
  528. package/lib/modules/whiteboard/store.d.ts +67 -0
  529. package/lib/modules/whiteboard/store.electron.d.ts +10 -0
  530. package/lib/modules/whiteboard/store.electron.js +135 -0
  531. package/lib/modules/whiteboard/store.js +433 -0
  532. package/lib/modules/whiteboard/style.css +2 -12
  533. package/lib/modules/whiteboard/type.d.ts +4 -0
  534. package/lib/modules/whiteboard/view.js +95 -41
  535. package/lib/modules/widget/index.css +7 -15
  536. package/lib/modules/widget/index.d.ts +3 -3
  537. package/lib/modules/widget/index.js +22 -14
  538. package/lib/modules/widget/store.base.d.ts +15 -0
  539. package/lib/modules/widget/{store.js → store.base.js} +8 -6
  540. package/lib/modules/widget/store.browser.d.ts +6 -0
  541. package/lib/modules/widget/store.browser.js +81 -0
  542. package/lib/modules/widget/store.electron.d.ts +12 -0
  543. package/lib/modules/widget/store.electron.js +129 -0
  544. package/lib/modules/widget/type.d.ts +8 -7
  545. package/lib/modules/widget/view.d.ts +1 -0
  546. package/lib/modules/widget/view.js +22 -16
  547. package/lib/modules/widget/web-widget.d.ts +5 -4
  548. package/lib/modules/widget/web-widget.js +32 -40
  549. package/lib/object-manager.d.ts +79 -4
  550. package/lib/object-manager.js +135 -10
  551. package/lib/plugins/browser-runtime-plugin.js +1 -110
  552. package/lib/plugins/css-preset-plugin.js +0 -2
  553. package/lib/plugins/module-dev-plugin.js +62 -81
  554. package/lib/providers/ability-provider.d.ts +9 -1
  555. package/lib/providers/ability-provider.js +51 -49
  556. package/lib/providers/annotation/provider.d.ts +15 -0
  557. package/lib/providers/annotation/provider.js +69 -0
  558. package/lib/providers/annotation/type.d.ts +60 -0
  559. package/lib/providers/annotation/type.js +6 -0
  560. package/lib/providers/app-list-provider.d.ts +8 -6
  561. package/lib/providers/app-list-provider.js +17 -15
  562. package/lib/providers/board-share/bar-control/base.d.ts +47 -0
  563. package/lib/providers/board-share/bar-control/base.js +306 -0
  564. package/lib/providers/board-share/bar-control/browser.d.ts +10 -0
  565. package/lib/providers/board-share/bar-control/browser.js +42 -0
  566. package/lib/providers/board-share/bar-control/electron.d.ts +29 -0
  567. package/lib/providers/board-share/bar-control/electron.js +202 -0
  568. package/lib/providers/board-share/bar-control.d.ts +51 -0
  569. package/lib/{shared-data-source/whiteboard-data.js → providers/board-share/bar-control.js} +104 -62
  570. package/lib/providers/board-share/provider.base.d.ts +63 -0
  571. package/lib/providers/board-share/provider.base.js +394 -0
  572. package/lib/providers/board-share/provider.browser.d.ts +15 -0
  573. package/lib/providers/board-share/provider.browser.js +136 -0
  574. package/lib/providers/board-share/provider.electron.d.ts +22 -0
  575. package/lib/providers/board-share/provider.electron.js +163 -0
  576. package/lib/providers/board-share/struct.d.ts +14 -0
  577. package/lib/providers/board-share/struct.js +23 -0
  578. package/lib/providers/board-share/type.d.ts +161 -0
  579. package/lib/providers/board-share/type.js +6 -0
  580. package/lib/providers/chat-provider.d.ts +8 -2
  581. package/lib/providers/chat-provider.js +26 -12
  582. package/lib/providers/device-privilege-provider.d.ts +3 -2
  583. package/lib/providers/device-privilege-provider.js +1 -3
  584. package/lib/providers/device-provider.d.ts +39 -8
  585. package/lib/providers/device-provider.js +237 -142
  586. package/lib/providers/device-stream-provider.d.ts +6 -6
  587. package/lib/providers/device-stream-provider.js +31 -36
  588. package/lib/providers/dialog/provider.base.d.ts +43 -0
  589. package/lib/providers/dialog/provider.base.js +289 -0
  590. package/lib/providers/dialog/provider.browser.d.ts +16 -0
  591. package/lib/{modules/annotation/index.js → providers/dialog/provider.browser.js} +91 -92
  592. package/lib/providers/dialog/provider.electron.d.ts +16 -0
  593. package/lib/providers/dialog/provider.electron.js +263 -0
  594. package/lib/providers/dialog/type.d.ts +168 -0
  595. package/lib/providers/dialog/type.js +15 -0
  596. package/lib/providers/event-provider.d.ts +3 -67
  597. package/lib/providers/event-provider.js +4 -229
  598. package/lib/providers/facility/provider.base.d.ts +31 -0
  599. package/lib/providers/facility/provider.base.js +159 -0
  600. package/lib/providers/facility/provider.browser.d.ts +14 -0
  601. package/lib/providers/facility/provider.browser.js +75 -0
  602. package/lib/providers/facility/provider.electron.d.ts +17 -0
  603. package/lib/providers/facility/provider.electron.js +91 -0
  604. package/lib/providers/facility/struct.d.ts +5 -0
  605. package/lib/providers/facility/struct.js +13 -0
  606. package/lib/providers/facility/type.d.ts +36 -0
  607. package/lib/providers/facility/type.js +6 -0
  608. package/lib/providers/interpreter-provider.d.ts +4 -3
  609. package/lib/providers/interpreter-provider.js +2 -4
  610. package/lib/providers/local-storage-provider.d.ts +8 -1
  611. package/lib/providers/local-storage-provider.js +4 -3
  612. package/lib/providers/message/provider.d.ts +14 -0
  613. package/lib/providers/{message-provider.js → message/provider.js} +16 -52
  614. package/lib/providers/message/struct.d.ts +4 -0
  615. package/lib/providers/message/struct.js +12 -0
  616. package/lib/providers/{message-provider.d.ts → message/type.d.ts} +9 -27
  617. package/lib/providers/message/type.js +6 -0
  618. package/lib/providers/monitor-provider.d.ts +3 -1
  619. package/lib/providers/monitor-provider.js +4 -3
  620. package/lib/providers/mouse-detect/provider.d.ts +24 -0
  621. package/lib/providers/mouse-detect/provider.js +294 -0
  622. package/lib/providers/mouse-detect/struct.d.ts +4 -0
  623. package/lib/providers/mouse-detect/struct.js +12 -0
  624. package/lib/providers/mouse-detect/type.d.ts +14 -0
  625. package/lib/providers/mouse-detect/type.js +6 -0
  626. package/lib/providers/multi-display-provider.d.ts +27 -19
  627. package/lib/providers/multi-display-provider.js +127 -101
  628. package/lib/providers/phone-audio-provider.d.ts +3 -2
  629. package/lib/providers/phone-audio-provider.js +16 -16
  630. package/lib/providers/privilege-provider.d.ts +2 -1
  631. package/lib/providers/privilege-provider.js +9 -9
  632. package/lib/providers/renderer-provider.d.ts +23 -8
  633. package/lib/providers/renderer-provider.js +93 -28
  634. package/lib/providers/{room-provider.d.ts → room-provider/room-provider.d.ts} +19 -47
  635. package/lib/providers/{room-provider.js → room-provider/room-provider.js} +48 -206
  636. package/lib/{waiting-room-control-manager.d.ts → providers/room-provider/waiting-room-control-manager.d.ts} +1 -1
  637. package/lib/{waiting-room-control-manager.js → providers/room-provider/waiting-room-control-manager.js} +1 -1
  638. package/lib/providers/screen-share/provider.base.d.ts +95 -0
  639. package/lib/providers/screen-share/provider.base.js +525 -0
  640. package/lib/providers/screen-share/provider.browser.d.ts +19 -0
  641. package/lib/providers/screen-share/provider.browser.js +301 -0
  642. package/lib/providers/screen-share/provider.electron.d.ts +18 -0
  643. package/lib/providers/screen-share/provider.electron.js +452 -0
  644. package/lib/providers/screen-share/strategy/browser.d.ts +22 -0
  645. package/lib/providers/screen-share/strategy/browser.js +266 -0
  646. package/lib/providers/screen-share/strategy/electron.d.ts +22 -0
  647. package/lib/providers/screen-share/strategy/electron.js +294 -0
  648. package/lib/providers/screen-share/strategy/type.d.ts +39 -0
  649. package/lib/providers/screen-share/strategy/type.js +39 -0
  650. package/lib/providers/screen-share/stream-state-sync.d.ts +18 -0
  651. package/lib/providers/screen-share/stream-state-sync.js +217 -0
  652. package/lib/providers/screen-share/struct.d.ts +46 -0
  653. package/lib/providers/screen-share/struct.js +56 -0
  654. package/lib/providers/screen-share/type.d.ts +170 -0
  655. package/lib/providers/screen-share/type.js +6 -0
  656. package/lib/providers/session-provider.d.ts +3 -1
  657. package/lib/providers/session-provider.js +4 -3
  658. package/lib/providers/setting-storage/provider.base.d.ts +9 -0
  659. package/lib/providers/setting-storage/provider.base.js +14 -0
  660. package/lib/providers/setting-storage/provider.browser.d.ts +7 -0
  661. package/lib/providers/{user-setting-storage-provider.js → setting-storage/provider.browser.js} +23 -24
  662. package/lib/providers/setting-storage/provider.electron.d.ts +10 -0
  663. package/lib/providers/setting-storage/provider.electron.js +62 -0
  664. package/lib/providers/setting-storage/type.d.ts +18 -0
  665. package/lib/providers/setting-storage/type.js +6 -0
  666. package/lib/providers/widget-provider.d.ts +14 -6
  667. package/lib/providers/widget-provider.js +18 -24
  668. package/lib/providers/window/main-window.d.ts +51 -0
  669. package/lib/providers/window/main-window.js +306 -0
  670. package/lib/providers/window/provider.d.ts +27 -0
  671. package/lib/providers/window/provider.js +164 -0
  672. package/lib/providers/window/renderer-window.d.ts +77 -0
  673. package/lib/providers/window/renderer-window.js +512 -0
  674. package/lib/providers/window/type.d.ts +122 -0
  675. package/lib/providers/window/type.js +6 -0
  676. package/lib/runtime.d.ts +85 -82
  677. package/lib/runtime.js +7 -0
  678. package/lib/scenes/main-scene.d.ts +4 -110
  679. package/lib/scenes/main-scene.js +442 -545
  680. package/lib/scenes/type.d.ts +7 -0
  681. package/lib/scenes/type.js +6 -0
  682. package/lib/scenes/waiting-scene.d.ts +2 -76
  683. package/lib/scenes/waiting-scene.js +58 -165
  684. package/lib/schema.d.ts +2 -2
  685. package/lib/{utilities → shared-context}/board-context.d.ts +2 -0
  686. package/lib/{utilities → shared-context}/board-context.js +2 -0
  687. package/lib/shared-context/dialog-context.d.ts +13 -0
  688. package/lib/shared-context/dialog-context.js +10 -0
  689. package/lib/{utilities → shared-context}/video-track-render-context.js +1 -1
  690. package/lib/{shared-data-source → shared-data}/app-list-data.d.ts +6 -4
  691. package/lib/{shared-data-source → shared-data}/app-list-data.js +7 -4
  692. package/lib/{shared-data-source → shared-data}/chat-data.d.ts +4 -2
  693. package/lib/{shared-data-source → shared-data}/chat-data.js +11 -8
  694. package/lib/{shared-data-source → shared-data}/config.d.ts +8 -3
  695. package/lib/{shared-data-source → shared-data}/config.js +9 -3
  696. package/lib/{shared-data-source → shared-data}/confirm-data.d.ts +10 -9
  697. package/lib/{shared-data-source → shared-data}/confirm-data.js +10 -9
  698. package/lib/{shared-data-source → shared-data}/device-privilege-data.d.ts +3 -1
  699. package/lib/{shared-data-source → shared-data}/device-privilege-data.js +4 -3
  700. package/lib/{shared-data-source → shared-data}/interpreter.d.ts +5 -5
  701. package/lib/{shared-data-source → shared-data}/interpreter.js +16 -21
  702. package/lib/{shared-data-source → shared-data}/layout-data.d.ts +3 -1
  703. package/lib/{shared-data-source → shared-data}/layout-data.js +12 -9
  704. package/lib/{shared-data-source → shared-data}/meeting-time.d.ts +2 -6
  705. package/lib/{shared-data-source → shared-data}/meeting-time.js +12 -12
  706. package/lib/{shared-data-source → shared-data}/member-data.d.ts +8 -17
  707. package/lib/{shared-data-source → shared-data}/member-data.js +66 -94
  708. package/lib/{shared-data-source → shared-data}/pin-data.d.ts +6 -4
  709. package/lib/{shared-data-source → shared-data}/pin-data.js +14 -11
  710. package/lib/shared-data/screen-share/index.d.ts +26 -0
  711. package/lib/shared-data/screen-share/index.js +211 -0
  712. package/lib/shared-data/screen-share/type.d.ts +42 -0
  713. package/lib/shared-data/screen-share/type.js +6 -0
  714. package/lib/{shared-data-source → shared-data}/security-data.d.ts +5 -5
  715. package/lib/{shared-data-source → shared-data}/security-data.js +13 -13
  716. package/lib/{shared-data-source → shared-data}/setting.d.ts +5 -3
  717. package/lib/{shared-data-source → shared-data}/setting.js +8 -5
  718. package/lib/shared-data/speaker-spotlight.d.ts +7 -0
  719. package/lib/{shared-data-source → shared-data}/speaker-spotlight.js +10 -6
  720. package/lib/{shared-data-source → shared-data}/video-window.d.ts +3 -2
  721. package/lib/{shared-data-source → shared-data}/video-window.js +4 -3
  722. package/lib/{shared-data-source → shared-data}/waiting-room.d.ts +5 -5
  723. package/lib/{shared-data-source → shared-data}/waiting-room.js +10 -10
  724. package/lib/shared-data/widget-data.d.ts +13 -0
  725. package/lib/shared-data/widget-data.js +50 -0
  726. package/lib/translations/enUS.d.ts +16 -3
  727. package/lib/translations/enUS.js +22 -9
  728. package/lib/translations/zhCN.d.ts +16 -3
  729. package/lib/translations/zhCN.js +22 -9
  730. package/lib/type.d.ts +70 -79
  731. package/lib/type.js +16 -4
  732. package/lib/ui-manager.d.ts +6 -6
  733. package/lib/ui-manager.js +38 -10
  734. package/lib/ui-scene.d.ts +9 -39
  735. package/lib/ui-scene.js +160 -226
  736. package/lib/utilities/{screen.d.ts → browser-api.d.ts} +1 -0
  737. package/lib/utilities/{copyText.js → browser-api.js} +36 -1
  738. package/lib/utilities/constant.d.ts +67 -73
  739. package/lib/utilities/constant.js +70 -73
  740. package/lib/utilities/default-config.d.ts +32 -1
  741. package/lib/utilities/default-config.js +33 -1
  742. package/lib/utilities/dialog-utils.d.ts +8 -12
  743. package/lib/utilities/dialog-utils.js +63 -74
  744. package/lib/utilities/focus-helper.d.ts +2 -0
  745. package/lib/utilities/focus-helper.js +26 -0
  746. package/lib/utilities/logger.js +9 -1
  747. package/lib/utilities/meeting-detail.d.ts +10 -1
  748. package/lib/utilities/meeting-detail.js +25 -3
  749. package/lib/utilities/platform.d.ts +1 -0
  750. package/lib/utilities/platform.js +4 -1
  751. package/lib/utilities/renderer.d.ts +75 -17
  752. package/lib/utilities/renderer.js +418 -78
  753. package/package.json +6 -6
  754. package/public/index.html +50 -21
  755. package/lib/modules/action-bar/index.d.ts +0 -58
  756. package/lib/modules/action-bar/index.dev.d.ts +0 -0
  757. package/lib/modules/action-bar/index.dev.js +0 -94
  758. package/lib/modules/action-bar/index.js +0 -109
  759. package/lib/modules/action-bar/view.d.ts +0 -5
  760. package/lib/modules/annotation/annotation-index.d.ts +0 -2
  761. package/lib/modules/annotation/annotation-index.js +0 -80
  762. package/lib/modules/annotation/annotation-toolbar-store.d.ts +0 -75
  763. package/lib/modules/annotation/annotation-toolbar-store.js +0 -459
  764. package/lib/modules/annotation/board-cursor.css +0 -77
  765. package/lib/modules/annotation/components/color-picker/components/color.d.ts +0 -5
  766. package/lib/modules/annotation/components/color-picker/components/color.js +0 -38
  767. package/lib/modules/annotation/components/color-picker/components/panel.d.ts +0 -1
  768. package/lib/modules/annotation/components/color-picker/components/panel.js +0 -109
  769. package/lib/modules/annotation/components/color-picker/components/picker.d.ts +0 -1
  770. package/lib/modules/annotation/components/color-picker/components/picker.js +0 -75
  771. package/lib/modules/annotation/components/color-picker/index.d.ts +0 -2
  772. package/lib/modules/annotation/components/color-picker/index.js +0 -47
  773. package/lib/modules/annotation/components/eraser-picker.d.ts +0 -4
  774. package/lib/modules/annotation/components/eraser-picker.js +0 -144
  775. package/lib/modules/annotation/components/expansion/index.js +0 -100
  776. package/lib/modules/annotation/components/extra-tool-picker.d.ts +0 -1
  777. package/lib/modules/annotation/components/extra-tool-picker.js +0 -62
  778. package/lib/modules/annotation/components/history.d.ts +0 -2
  779. package/lib/modules/annotation/components/history.js +0 -78
  780. package/lib/modules/annotation/components/icons/fold-icon.d.ts +0 -2
  781. package/lib/modules/annotation/components/icons/fold-icon.js +0 -41
  782. package/lib/modules/annotation/components/icons/move-icon.d.ts +0 -1
  783. package/lib/modules/annotation/components/icons/move-icon.js +0 -66
  784. package/lib/modules/annotation/components/item/index.d.ts +0 -1
  785. package/lib/modules/annotation/components/item/index.js +0 -43
  786. package/lib/modules/annotation/components/move-handle.d.ts +0 -5
  787. package/lib/modules/annotation/components/move-handle.js +0 -134
  788. package/lib/modules/annotation/components/pen-picker.d.ts +0 -4
  789. package/lib/modules/annotation/components/pen-picker.js +0 -155
  790. package/lib/modules/annotation/components/screen-capture-picker.d.ts +0 -4
  791. package/lib/modules/annotation/components/screen-capture-picker.js +0 -85
  792. package/lib/modules/annotation/components/shape-picker.d.ts +0 -4
  793. package/lib/modules/annotation/components/shape-picker.js +0 -210
  794. package/lib/modules/annotation/hooks/index.d.ts +0 -14
  795. package/lib/modules/annotation/hooks/index.js +0 -292
  796. package/lib/modules/annotation/index.d.ts +0 -45
  797. package/lib/modules/annotation/store.d.ts +0 -98
  798. package/lib/modules/annotation/store.js +0 -620
  799. package/lib/modules/annotation/style.css +0 -36
  800. package/lib/modules/annotation/view.d.ts +0 -3
  801. package/lib/modules/annotation/view.js +0 -44
  802. package/lib/modules/components/leave-meeting/store.d.ts +0 -39
  803. package/lib/modules/control-bar/components/annotation-button/index.d.ts +0 -1
  804. package/lib/modules/control-bar/components/annotation-button/index.js +0 -72
  805. package/lib/modules/control-bar/types.d.ts +0 -20
  806. package/lib/modules/dialog/dialogs/pre-setting/index.css +0 -26
  807. package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +0 -6
  808. package/lib/modules/dialog/dialogs/pre-setting/index.js +0 -62
  809. package/lib/modules/dialog/dialogs/widget/electron.d.ts +0 -6
  810. package/lib/modules/dialog/dialogs/widget/electron.js +0 -38
  811. package/lib/modules/dialog/hooks/use-popover-watcher.d.ts +0 -14
  812. package/lib/modules/dialog/hooks/use-popover-watcher.js +0 -110
  813. package/lib/modules/dialog/hooks/useElectron.d.ts +0 -28
  814. package/lib/modules/dialog/hooks/useElectron.js +0 -277
  815. package/lib/modules/dialog/store.d.ts +0 -135
  816. package/lib/modules/dialog/store.js +0 -616
  817. package/lib/modules/event-confirm/components/window/index.d.ts +0 -7
  818. package/lib/modules/event-confirm/components/window/index.js +0 -221
  819. package/lib/modules/event-confirm/index.d.ts +0 -27
  820. package/lib/modules/event-confirm/index.js +0 -76
  821. package/lib/modules/event-confirm/store.d.ts +0 -50
  822. package/lib/modules/event-confirm/store.js +0 -394
  823. package/lib/modules/event-confirm/view.d.ts +0 -2
  824. package/lib/modules/event-confirm/view.js +0 -55
  825. package/lib/modules/event-toast/store.d.ts +0 -27
  826. package/lib/modules/participant/store.d.ts +0 -222
  827. package/lib/modules/participant/store.js +0 -1929
  828. package/lib/modules/pc-audio-connect/index.d.ts +0 -22
  829. package/lib/modules/pc-audio-connect/store.d.ts +0 -46
  830. package/lib/modules/setting/common/advance-link.d.ts +0 -3
  831. package/lib/modules/setting/common/advance-link.js +0 -27
  832. package/lib/modules/setting/common/index.css +0 -26
  833. package/lib/modules/setting/common/useNamespace.d.ts +0 -15
  834. package/lib/modules/setting/common/useNamespace.js +0 -66
  835. package/lib/modules/setting/dialog-wrapper.d.ts +0 -2
  836. package/lib/modules/setting/dialog-wrapper.js +0 -110
  837. package/lib/modules/share-screen/store.d.ts +0 -148
  838. package/lib/modules/share-screen/store.js +0 -950
  839. package/lib/modules/share-screen/types.d.ts +0 -26
  840. package/lib/modules/state-bar/store.d.ts +0 -124
  841. package/lib/modules/whiteboard/components/progress/electron.d.ts +0 -1
  842. package/lib/modules/whiteboard/components/progress/electron.js +0 -33
  843. package/lib/modules/widget/store.d.ts +0 -14
  844. package/lib/providers/annotation-provider.d.ts +0 -124
  845. package/lib/providers/annotation-provider.js +0 -369
  846. package/lib/providers/dialog-provider.d.ts +0 -137
  847. package/lib/providers/dialog-provider.js +0 -194
  848. package/lib/providers/screen-share-provider.d.ts +0 -246
  849. package/lib/providers/screen-share-provider.js +0 -850
  850. package/lib/providers/sharing-provider.d.ts +0 -42
  851. package/lib/providers/sharing-provider.js +0 -228
  852. package/lib/providers/user-setting-storage-provider.d.ts +0 -21
  853. package/lib/providers/whiteboard-provider.d.ts +0 -24
  854. package/lib/shared-data-source/annotation-data.d.ts +0 -17
  855. package/lib/shared-data-source/screen-share-data.d.ts +0 -364
  856. package/lib/shared-data-source/screen-share-data.js +0 -520
  857. package/lib/shared-data-source/speaker-spotlight.d.ts +0 -5
  858. package/lib/shared-data-source/whiteboard-data.d.ts +0 -70
  859. package/lib/utilities/copyText.d.ts +0 -2
  860. package/lib/utilities/renderer-event.d.ts +0 -10
  861. package/lib/utilities/renderer-event.js +0 -95
  862. package/lib/utilities/screen-capture-permission.d.ts +0 -2
  863. package/lib/utilities/screen-capture-permission.js +0 -24
  864. package/lib/utilities/screen.js +0 -53
  865. /package/lib/{modules/action-bar/types.js → creator/type.js} +0 -0
  866. /package/lib/modules/{control-bar/types.js → components/device-control/type.js} +0 -0
  867. /package/lib/modules/{share-screen/types.js → components/leave-meeting/type.js} +0 -0
  868. /package/lib/modules/{annotation/components/expansion/index.d.ts → control-bar/index.dev.d.ts} +0 -0
  869. /package/lib/modules/{event-confirm → dialog/components/confirm}/index.css +0 -0
  870. /package/lib/{utilities → shared-context}/video-track-render-context.d.ts +0 -0
@@ -104,10 +104,9 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
104
104
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
105
105
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
106
106
  var _imports = require("fcr-core/lib/imports");
107
- var _base = require("../base");
107
+ var _type = require("fcr-core/lib/type");
108
108
  var _env = require("agora-foundation/lib/utilities/env");
109
109
  var _fcrCore = require("fcr-core");
110
- var _type = require("fcr-core/lib/type");
111
110
  var _localVideoPlayer = require("agora-ui-foundation/lib/components/local-video-player");
112
111
  var _i18n = require("agora-ui-foundation/lib/i18n");
113
112
  var _mobx = require("mobx");
@@ -116,7 +115,7 @@ var _type2 = require("../type");
116
115
  var _tools = require("../utilities/tools");
117
116
  var _logger = require("../utilities/logger");
118
117
  var _FcrUIDeviceProviderImpl;
119
- var _initProto, _init__microphoneDevice, _init__microphone, _init__speakerDevice, _init__speaker, _init__cameraDevice, _init_currentIsMirror, _init_showForceOpenEffectDialog, _init_cameraEnabled, _init_showCameraPreview, _init_microphoneEnabled, _init_cameraList, _init_microphoneList, _init_microphoneVolumeLevel, _init_speakerList, _init_isLocalMirrorEnabled, _init_isLocalEditBeautyOptions, _init_speakerVolumeLevel, _init_speakerVolume, _init_microphoneVolume, _init_virtualBackgroundName, _init_enableBeauty, _init_beautyKey, _init_beautyOptions, _init_virtualBackgroundList, _init_soundEffectList, _init_microphoneDetecting, _init_speakerDetecting, _init_connectType, _init_isMainRoomAudioOff, _startPlayLocalVideoDecs, _stopPlayLocalVideoDecs, _startSpeakerTestDecs, _stopSpeakerTestDecs, _setCurrentIsMirrorDecs, _toggleLocalMirrorPreviewDecs, _setBeautyOptionsDecs, _handleCancelForceOpenVideoEffectDecs, _handleForceOpenVideoEffectDecs, _setCameraEnabledDecs, _handleCameraEnabledChangedDecs, _setMicrophoneEnabledDecs, _toggleLocalMirrorDecs, _resetMirrorDecs, _startMicrophoneTestDecs, _stopMicrophoneTestDecs, _enableVirtualBackgroundDecs, _setEditBeautyKeyDecs, _enableBeautyEffectDecs, _setCameraIdDecs, _setMainRoomAudioOffDecs, _setSpeakerIdDecs, _setMicrophoneIdDecs, _setSpeakerVolumeDecs, _setMicrophoneVolumeDecs, _startOrStopCameraDecs, _setShowCameraPreviewDecs, _loadUiResourcesDecs, _loadZipResourcesDecs, _setConnectTypeDecs, _toggleLocalCameraPreviewDecs, _getLoopbackDeviceIdDecs, _initDeviceListDecs, _handleMicrophoneAudioTrackDecs, _handleMicrophoneEnabledChangedDecs, _handleCameraVideoTrackDecs, _handleSpeakerDetectingChangedDecs, _stopSelectedSpeakerTestDecs, _handleMicrophoneDetectingChangedDecs, _stopMicrophoneTestDecs2, _updateVirtualBackgroundListDecs, _handleSystemSelectedSpeakerChangedDecs, _handleSystemSelectedMicrophoneChangedDecs, _correctSystemSelectedMicrophoneDeviceIdDecs, _handleSelectedSpeakerVolumeUpdatedDecs, _handleSpeakerTestVolumeIndicationUpdatedDecs, _handleMicrophoneVolumeIndicationUpdatedDecs, _handleSpeakerAddedDecs, _handleSpeakerRemovedDecs, _handleSpeakerListUpdatedDecs, _getMicrophoneListDecs, _getSpeakerListDecs, _formatDeviceListDecs, _loadBuiltinResourcesDecs, _ref;
118
+ var _initProto, _init__microphoneEnabled, _init__isMicrophoneWorking, _init__microphoneDevice, _init__microphone, _init__speakerDevice, _init__speaker, _init__cameraDevice, _init_currentIsMirror, _init_showForceOpenEffectDialog, _init_cameraEnabled, _init_showCameraPreview, _init_cameraList, _init_microphoneList, _init_microphoneVolumeLevel, _init_speakerList, _init_isLocalMirrorEnabled, _init_isLocalEditBeautyOptions, _init_speakerVolumeLevel, _init_speakerVolume, _init_microphoneVolume, _init_virtualBackgroundName, _init_enableBeauty, _init_beautyKey, _init_beautyOptions, _init_virtualBackgroundList, _init_soundEffectList, _init_microphoneDetecting, _init_speakerDetecting, _init_connectType, _init_isMainRoomAudioOff, _startPlayLocalVideoDecs, _stopPlayLocalVideoDecs, _startSpeakerTestDecs, _stopSpeakerTestDecs, _setCurrentIsMirrorDecs, _toggleLocalMirrorPreviewDecs, _setBeautyOptionsDecs, _handleCancelForceOpenVideoEffectDecs, _handleForceOpenVideoEffectDecs, _setCameraEnabledDecs, _handleCameraEnabledChangedDecs, _setMicrophoneEnabledDecs, _toggleLocalMirrorDecs, _resetMirrorDecs, _startMicrophoneTestDecs, _stopMicrophoneTestDecs, _enableVirtualBackgroundDecs, _setEditBeautyKeyDecs, _enableBeautyEffectDecs, _setCameraIdDecs, _setMainRoomAudioOffDecs, _setSpeakerIdDecs, _setMicrophoneIdDecs, _setSpeakerVolumeDecs, _setMicrophoneVolumeDecs, _startOrStopCameraDecs, _setShowCameraPreviewDecs, _loadUiResourcesDecs, _loadZipResourcesDecs, _setConnectTypeDecs, _toggleLocalCameraPreviewDecs, _getLoopbackDeviceIdDecs, _initDeviceListDecs, _handleMicrophoneAudioTrackDecs, _handleMicrophoneStateUpdatedDecs, _handleMicrophoneEnabledChangedDecs, _handleCameraVideoTrackDecs, _handleSpeakerDetectingChangedDecs, _stopSelectedSpeakerTestDecs, _handleMicrophoneDetectingChangedDecs, _stopMicrophoneTestDecs2, _updateVirtualBackgroundListDecs, _handleSystemSelectedSpeakerChangedDecs, _handleSystemSelectedMicrophoneChangedDecs, _correctSystemSelectedMicrophoneDeviceIdDecs, _handleSelectedSpeakerVolumeUpdatedDecs, _handleSpeakerTestVolumeIndicationUpdatedDecs, _handleMicrophoneVolumeIndicationUpdatedDecs, _handleSpeakerAddedDecs, _handleSpeakerRemovedDecs, _handleSpeakerListUpdatedDecs, _getMicrophoneListDecs, _getSpeakerListDecs, _formatDeviceListDecs, _loadBuiltinResourcesDecs, _ref;
120
119
  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
121
120
  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
122
121
  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
@@ -161,9 +160,10 @@ var _Z = /*#__PURE__*/new WeakMap();
161
160
  var _a = /*#__PURE__*/new WeakMap();
162
161
  var _b = /*#__PURE__*/new WeakMap();
163
162
  var _c = /*#__PURE__*/new WeakMap();
164
- _ref = (_startPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _stopPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _startSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _stopSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _setCurrentIsMirrorDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorPreviewDecs = [_mobx.action, _mobx.action.bound], _setBeautyOptionsDecs = [_mobx.action, _mobx.action.bound], _handleCancelForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _handleForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraEnabledDecs = [_mobx.action, _mobx.action.bound], _handleCameraEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneEnabledDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorDecs = [_mobx.action, _mobx.action.bound], _resetMirrorDecs = [_mobx.action, _mobx.action.bound], _startMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _enableVirtualBackgroundDecs = [_mobx.action, _mobx.action.bound], _setEditBeautyKeyDecs = [_mobx.action, _mobx.action.bound], _enableBeautyEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraIdDecs = [_mobx.action, _mobx.action.bound], _setMainRoomAudioOffDecs = [_mobx.action, _mobx.action.bound], _setSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setSpeakerVolumeDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneVolumeDecs = [_mobx.action, _mobx.action.bound], _startOrStopCameraDecs = [_mobx.action, _mobx.action.bound], _setShowCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _loadUiResourcesDecs = [_mobx.action, _mobx.action.bound], _loadZipResourcesDecs = [_mobx.action, _mobx.action.bound], _setConnectTypeDecs = [_mobx.action, _mobx.action.bound], _toggleLocalCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _getLoopbackDeviceIdDecs = [_mobx.action, _mobx.action.bound], _initDeviceListDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneAudioTrackDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _handleCameraVideoTrackDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopSelectedSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs2 = [_mobx.action, _mobx.action.bound], _updateVirtualBackgroundListDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedSpeakerChangedDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedMicrophoneChangedDecs = [_mobx.action, _mobx.action.bound], _correctSystemSelectedMicrophoneDeviceIdDecs = [_mobx.action, _mobx.action.bound], _handleSelectedSpeakerVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerTestVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerAddedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerRemovedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerListUpdatedDecs = [_mobx.action, _mobx.action.bound], _getMicrophoneListDecs = [_mobx.action, _mobx.action.bound], _getSpeakerListDecs = [_mobx.action, _mobx.action.bound], _formatDeviceListDecs = [_mobx.action, _mobx.action.bound], _loadBuiltinResourcesDecs = [_mobx.action, _mobx.action.bound], "logger");
163
+ var _d = /*#__PURE__*/new WeakMap();
164
+ _ref = (_startPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _stopPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _startSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _stopSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _setCurrentIsMirrorDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorPreviewDecs = [_mobx.action, _mobx.action.bound], _setBeautyOptionsDecs = [_mobx.action, _mobx.action.bound], _handleCancelForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _handleForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraEnabledDecs = [_mobx.action, _mobx.action.bound], _handleCameraEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneEnabledDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorDecs = [_mobx.action, _mobx.action.bound], _resetMirrorDecs = [_mobx.action, _mobx.action.bound], _startMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _enableVirtualBackgroundDecs = [_mobx.action, _mobx.action.bound], _setEditBeautyKeyDecs = [_mobx.action, _mobx.action.bound], _enableBeautyEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraIdDecs = [_mobx.action, _mobx.action.bound], _setMainRoomAudioOffDecs = [_mobx.action, _mobx.action.bound], _setSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setSpeakerVolumeDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneVolumeDecs = [_mobx.action, _mobx.action.bound], _startOrStopCameraDecs = [_mobx.action, _mobx.action.bound], _setShowCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _loadUiResourcesDecs = [_mobx.action, _mobx.action.bound], _loadZipResourcesDecs = [_mobx.action, _mobx.action.bound], _setConnectTypeDecs = [_mobx.action, _mobx.action.bound], _toggleLocalCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _getLoopbackDeviceIdDecs = [_mobx.action, _mobx.action.bound], _initDeviceListDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneAudioTrackDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _handleCameraVideoTrackDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopSelectedSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs2 = [_mobx.action, _mobx.action.bound], _updateVirtualBackgroundListDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedSpeakerChangedDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedMicrophoneChangedDecs = [_mobx.action, _mobx.action.bound], _correctSystemSelectedMicrophoneDeviceIdDecs = [_mobx.action, _mobx.action.bound], _handleSelectedSpeakerVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerTestVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerAddedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerRemovedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerListUpdatedDecs = [_mobx.action, _mobx.action.bound], _getMicrophoneListDecs = [_mobx.action, _mobx.action.bound], _getSpeakerListDecs = [_mobx.action, _mobx.action.bound], _formatDeviceListDecs = [_mobx.action, _mobx.action.bound], _loadBuiltinResourcesDecs = [_mobx.action, _mobx.action.bound], "logger");
165
165
  var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/function () {
166
- function FcrUIDeviceProviderImpl(_eventProvider, _mediaControl, _sharedSettingDataSource) {
166
+ function FcrUIDeviceProviderImpl(_renderer, _facilityProvider, _messageProvider, _mediaControl, _sharedSettingDataSource) {
167
167
  var _this = this;
168
168
  (0, _classCallCheck2["default"])(this, FcrUIDeviceProviderImpl);
169
169
  (0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
@@ -187,7 +187,8 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
187
187
  (0, _defineProperty2["default"])(this, "_lastEnableVideoEffectType", _type2.FcrUIVideoEffectType.NONE);
188
188
  // microphone observer
189
189
  (0, _defineProperty2["default"])(this, "_microphoneObserver", {
190
- onVolumeIndicationUpdated: this._handleMicrophoneVolumeIndicationUpdated
190
+ onVolumeIndicationUpdated: this._handleMicrophoneVolumeIndicationUpdated,
191
+ onMicrophoneStateUpdated: this._handleMicrophoneStateUpdated
191
192
  });
192
193
  (0, _defineProperty2["default"])(this, "_mediaControlObserver", {
193
194
  onCameraAdded: this._handleCameraAdded,
@@ -203,54 +204,60 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
203
204
  });
204
205
  (0, _defineProperty2["default"])(this, "_defaultMirror", true);
205
206
  (0, _defineProperty2["default"])(this, "_volumeIndicationInterval", 200);
206
- _classPrivateFieldInitSpec(this, _A, _init__microphoneDevice(this, {
207
- id: null
207
+ _classPrivateFieldInitSpec(this, _A, _init__microphoneEnabled(this, false));
208
+ _classPrivateFieldInitSpec(this, _B, _init__isMicrophoneWorking(this, false));
209
+ _classPrivateFieldInitSpec(this, _C, _init__microphoneDevice(this, {
210
+ id: null,
211
+ name: null
208
212
  }));
209
- _classPrivateFieldInitSpec(this, _B, _init__microphone(this, {
213
+ _classPrivateFieldInitSpec(this, _D, _init__microphone(this, {
210
214
  id: DEFAULT_DEVICE_ID
211
215
  }));
212
- _classPrivateFieldInitSpec(this, _C, _init__speakerDevice(this, {
213
- id: null
216
+ _classPrivateFieldInitSpec(this, _E, _init__speakerDevice(this, {
217
+ id: null,
218
+ name: null
214
219
  }));
215
- _classPrivateFieldInitSpec(this, _D, _init__speaker(this, {
220
+ _classPrivateFieldInitSpec(this, _F, _init__speaker(this, {
216
221
  id: DEFAULT_DEVICE_ID
217
222
  }));
218
- _classPrivateFieldInitSpec(this, _E, _init__cameraDevice(this, {
223
+ _classPrivateFieldInitSpec(this, _G, _init__cameraDevice(this, {
219
224
  id: null
220
225
  }));
221
226
  // 是否开启镜像
222
- _classPrivateFieldInitSpec(this, _F, _init_currentIsMirror(this, true));
227
+ _classPrivateFieldInitSpec(this, _H, _init_currentIsMirror(this, true));
223
228
  // 是否展示展示强制开启特效弹窗
224
- _classPrivateFieldInitSpec(this, _G, _init_showForceOpenEffectDialog(this, false));
225
- _classPrivateFieldInitSpec(this, _H, _init_cameraEnabled(this, false));
226
- _classPrivateFieldInitSpec(this, _I, _init_showCameraPreview(this, false));
227
- _classPrivateFieldInitSpec(this, _J, _init_microphoneEnabled(this, false));
228
- _classPrivateFieldInitSpec(this, _K, _init_cameraList(this, []));
229
- _classPrivateFieldInitSpec(this, _L, _init_microphoneList(this, []));
230
- _classPrivateFieldInitSpec(this, _M, _init_microphoneVolumeLevel(this, 0));
231
- _classPrivateFieldInitSpec(this, _N, _init_speakerList(this, []));
232
- _classPrivateFieldInitSpec(this, _O, _init_isLocalMirrorEnabled(this, false));
233
- _classPrivateFieldInitSpec(this, _P, _init_isLocalEditBeautyOptions(this, false));
234
- _classPrivateFieldInitSpec(this, _Q, _init_speakerVolumeLevel(this, 0));
235
- _classPrivateFieldInitSpec(this, _R, _init_speakerVolume(this, 0));
236
- _classPrivateFieldInitSpec(this, _S, _init_microphoneVolume(this, 100));
237
- _classPrivateFieldInitSpec(this, _T, _init_virtualBackgroundName(this, 'None'));
238
- _classPrivateFieldInitSpec(this, _U, _init_enableBeauty(this, false));
239
- _classPrivateFieldInitSpec(this, _V, _init_beautyKey(this, 'none'));
240
- _classPrivateFieldInitSpec(this, _W, _init_beautyOptions(this, {
229
+ _classPrivateFieldInitSpec(this, _I, _init_showForceOpenEffectDialog(this, false));
230
+ _classPrivateFieldInitSpec(this, _J, _init_cameraEnabled(this, false));
231
+ _classPrivateFieldInitSpec(this, _K, _init_showCameraPreview(this, false));
232
+ // @observable accessor microphoneEnabled = false;
233
+ _classPrivateFieldInitSpec(this, _L, _init_cameraList(this, []));
234
+ _classPrivateFieldInitSpec(this, _M, _init_microphoneList(this, []));
235
+ _classPrivateFieldInitSpec(this, _N, _init_microphoneVolumeLevel(this, 0));
236
+ _classPrivateFieldInitSpec(this, _O, _init_speakerList(this, []));
237
+ _classPrivateFieldInitSpec(this, _P, _init_isLocalMirrorEnabled(this, false));
238
+ _classPrivateFieldInitSpec(this, _Q, _init_isLocalEditBeautyOptions(this, false));
239
+ _classPrivateFieldInitSpec(this, _R, _init_speakerVolumeLevel(this, 0));
240
+ _classPrivateFieldInitSpec(this, _S, _init_speakerVolume(this, 0));
241
+ _classPrivateFieldInitSpec(this, _T, _init_microphoneVolume(this, 100));
242
+ _classPrivateFieldInitSpec(this, _U, _init_virtualBackgroundName(this, 'None'));
243
+ _classPrivateFieldInitSpec(this, _V, _init_enableBeauty(this, false));
244
+ _classPrivateFieldInitSpec(this, _W, _init_beautyKey(this, 'none'));
245
+ _classPrivateFieldInitSpec(this, _X, _init_beautyOptions(this, {
241
246
  lighteningContrastLevel: 0,
242
247
  lighteningLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
243
248
  smoothnessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
244
249
  sharpnessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
245
250
  rednessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE
246
251
  }));
247
- _classPrivateFieldInitSpec(this, _X, _init_virtualBackgroundList(this, []));
248
- _classPrivateFieldInitSpec(this, _Y, _init_soundEffectList(this, new Map()));
249
- _classPrivateFieldInitSpec(this, _Z, _init_microphoneDetecting(this, false));
250
- _classPrivateFieldInitSpec(this, _a, _init_speakerDetecting(this, false));
251
- _classPrivateFieldInitSpec(this, _b, _init_connectType(this, _type2.FcrUIConnectType.NONE));
252
- _classPrivateFieldInitSpec(this, _c, _init_isMainRoomAudioOff(this, false));
253
- this._eventProvider = _eventProvider;
252
+ _classPrivateFieldInitSpec(this, _Y, _init_virtualBackgroundList(this, []));
253
+ _classPrivateFieldInitSpec(this, _Z, _init_soundEffectList(this, new Map()));
254
+ _classPrivateFieldInitSpec(this, _a, _init_microphoneDetecting(this, false));
255
+ _classPrivateFieldInitSpec(this, _b, _init_speakerDetecting(this, false));
256
+ _classPrivateFieldInitSpec(this, _c, _init_connectType(this, _type2.FcrUIConnectType.NONE));
257
+ _classPrivateFieldInitSpec(this, _d, _init_isMainRoomAudioOff(this, false));
258
+ this._renderer = _renderer;
259
+ this._facilityProvider = _facilityProvider;
260
+ this._messageProvider = _messageProvider;
254
261
  this._mediaControl = _mediaControl;
255
262
  this._sharedSettingDataSource = _sharedSettingDataSource;
256
263
  this._disposer.push((0, _mobx.reaction)(function () {
@@ -258,7 +265,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
258
265
  }, this._handleCameraEnabledChanged), (0, _mobx.reaction)(function () {
259
266
  return _this._cameraDevice;
260
267
  }, this._handleCameraDeviceIdChanged), (0, _mobx.reaction)(function () {
261
- return _this.microphoneEnabled;
268
+ return _this._microphoneEnabled;
262
269
  }, this._handleMicrophoneEnabledChanged), (0, _mobx.reaction)(function () {
263
270
  return _this._microphone;
264
271
  }, this._handleMicrophoneIdChanged), (0, _mobx.reaction)(function () {
@@ -279,7 +286,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
279
286
  });
280
287
  }
281
288
  return (0, _createClass2["default"])(FcrUIDeviceProviderImpl, [{
282
- key: "_microphoneDevice",
289
+ key: "_microphoneEnabled",
283
290
  get: function get() {
284
291
  return _classPrivateFieldGet(_A, this);
285
292
  },
@@ -287,7 +294,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
287
294
  _classPrivateFieldSet(_A, this, v);
288
295
  }
289
296
  }, {
290
- key: "_microphone",
297
+ key: "_isMicrophoneWorking",
291
298
  get: function get() {
292
299
  return _classPrivateFieldGet(_B, this);
293
300
  },
@@ -295,7 +302,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
295
302
  _classPrivateFieldSet(_B, this, v);
296
303
  }
297
304
  }, {
298
- key: "_speakerDevice",
305
+ key: "_microphoneDevice",
299
306
  get: function get() {
300
307
  return _classPrivateFieldGet(_C, this);
301
308
  },
@@ -303,7 +310,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
303
310
  _classPrivateFieldSet(_C, this, v);
304
311
  }
305
312
  }, {
306
- key: "_speaker",
313
+ key: "_microphone",
307
314
  get: function get() {
308
315
  return _classPrivateFieldGet(_D, this);
309
316
  },
@@ -311,7 +318,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
311
318
  _classPrivateFieldSet(_D, this, v);
312
319
  }
313
320
  }, {
314
- key: "_cameraDevice",
321
+ key: "_speakerDevice",
315
322
  get: function get() {
316
323
  return _classPrivateFieldGet(_E, this);
317
324
  },
@@ -319,7 +326,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
319
326
  _classPrivateFieldSet(_E, this, v);
320
327
  }
321
328
  }, {
322
- key: "currentIsMirror",
329
+ key: "_speaker",
323
330
  get: function get() {
324
331
  return _classPrivateFieldGet(_F, this);
325
332
  },
@@ -327,7 +334,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
327
334
  _classPrivateFieldSet(_F, this, v);
328
335
  }
329
336
  }, {
330
- key: "showForceOpenEffectDialog",
337
+ key: "_cameraDevice",
331
338
  get: function get() {
332
339
  return _classPrivateFieldGet(_G, this);
333
340
  },
@@ -335,7 +342,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
335
342
  _classPrivateFieldSet(_G, this, v);
336
343
  }
337
344
  }, {
338
- key: "cameraEnabled",
345
+ key: "currentIsMirror",
339
346
  get: function get() {
340
347
  return _classPrivateFieldGet(_H, this);
341
348
  },
@@ -343,7 +350,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
343
350
  _classPrivateFieldSet(_H, this, v);
344
351
  }
345
352
  }, {
346
- key: "showCameraPreview",
353
+ key: "showForceOpenEffectDialog",
347
354
  get: function get() {
348
355
  return _classPrivateFieldGet(_I, this);
349
356
  },
@@ -351,7 +358,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
351
358
  _classPrivateFieldSet(_I, this, v);
352
359
  }
353
360
  }, {
354
- key: "microphoneEnabled",
361
+ key: "cameraEnabled",
355
362
  get: function get() {
356
363
  return _classPrivateFieldGet(_J, this);
357
364
  },
@@ -359,7 +366,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
359
366
  _classPrivateFieldSet(_J, this, v);
360
367
  }
361
368
  }, {
362
- key: "cameraList",
369
+ key: "showCameraPreview",
363
370
  get: function get() {
364
371
  return _classPrivateFieldGet(_K, this);
365
372
  },
@@ -367,7 +374,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
367
374
  _classPrivateFieldSet(_K, this, v);
368
375
  }
369
376
  }, {
370
- key: "microphoneList",
377
+ key: "cameraList",
371
378
  get: function get() {
372
379
  return _classPrivateFieldGet(_L, this);
373
380
  },
@@ -375,7 +382,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
375
382
  _classPrivateFieldSet(_L, this, v);
376
383
  }
377
384
  }, {
378
- key: "microphoneVolumeLevel",
385
+ key: "microphoneList",
379
386
  get: function get() {
380
387
  return _classPrivateFieldGet(_M, this);
381
388
  },
@@ -383,7 +390,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
383
390
  _classPrivateFieldSet(_M, this, v);
384
391
  }
385
392
  }, {
386
- key: "speakerList",
393
+ key: "microphoneVolumeLevel",
387
394
  get: function get() {
388
395
  return _classPrivateFieldGet(_N, this);
389
396
  },
@@ -391,7 +398,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
391
398
  _classPrivateFieldSet(_N, this, v);
392
399
  }
393
400
  }, {
394
- key: "isLocalMirrorEnabled",
401
+ key: "speakerList",
395
402
  get: function get() {
396
403
  return _classPrivateFieldGet(_O, this);
397
404
  },
@@ -399,7 +406,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
399
406
  _classPrivateFieldSet(_O, this, v);
400
407
  }
401
408
  }, {
402
- key: "isLocalEditBeautyOptions",
409
+ key: "isLocalMirrorEnabled",
403
410
  get: function get() {
404
411
  return _classPrivateFieldGet(_P, this);
405
412
  },
@@ -407,7 +414,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
407
414
  _classPrivateFieldSet(_P, this, v);
408
415
  }
409
416
  }, {
410
- key: "speakerVolumeLevel",
417
+ key: "isLocalEditBeautyOptions",
411
418
  get: function get() {
412
419
  return _classPrivateFieldGet(_Q, this);
413
420
  },
@@ -415,7 +422,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
415
422
  _classPrivateFieldSet(_Q, this, v);
416
423
  }
417
424
  }, {
418
- key: "speakerVolume",
425
+ key: "speakerVolumeLevel",
419
426
  get: function get() {
420
427
  return _classPrivateFieldGet(_R, this);
421
428
  },
@@ -423,7 +430,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
423
430
  _classPrivateFieldSet(_R, this, v);
424
431
  }
425
432
  }, {
426
- key: "microphoneVolume",
433
+ key: "speakerVolume",
427
434
  get: function get() {
428
435
  return _classPrivateFieldGet(_S, this);
429
436
  },
@@ -431,7 +438,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
431
438
  _classPrivateFieldSet(_S, this, v);
432
439
  }
433
440
  }, {
434
- key: "virtualBackgroundName",
441
+ key: "microphoneVolume",
435
442
  get: function get() {
436
443
  return _classPrivateFieldGet(_T, this);
437
444
  },
@@ -439,7 +446,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
439
446
  _classPrivateFieldSet(_T, this, v);
440
447
  }
441
448
  }, {
442
- key: "enableBeauty",
449
+ key: "virtualBackgroundName",
443
450
  get: function get() {
444
451
  return _classPrivateFieldGet(_U, this);
445
452
  },
@@ -447,7 +454,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
447
454
  _classPrivateFieldSet(_U, this, v);
448
455
  }
449
456
  }, {
450
- key: "beautyKey",
457
+ key: "enableBeauty",
451
458
  get: function get() {
452
459
  return _classPrivateFieldGet(_V, this);
453
460
  },
@@ -455,7 +462,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
455
462
  _classPrivateFieldSet(_V, this, v);
456
463
  }
457
464
  }, {
458
- key: "beautyOptions",
465
+ key: "beautyKey",
459
466
  get: function get() {
460
467
  return _classPrivateFieldGet(_W, this);
461
468
  },
@@ -463,7 +470,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
463
470
  _classPrivateFieldSet(_W, this, v);
464
471
  }
465
472
  }, {
466
- key: "virtualBackgroundList",
473
+ key: "beautyOptions",
467
474
  get: function get() {
468
475
  return _classPrivateFieldGet(_X, this);
469
476
  },
@@ -471,7 +478,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
471
478
  _classPrivateFieldSet(_X, this, v);
472
479
  }
473
480
  }, {
474
- key: "soundEffectList",
481
+ key: "virtualBackgroundList",
475
482
  get: function get() {
476
483
  return _classPrivateFieldGet(_Y, this);
477
484
  },
@@ -479,7 +486,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
479
486
  _classPrivateFieldSet(_Y, this, v);
480
487
  }
481
488
  }, {
482
- key: "microphoneDetecting",
489
+ key: "soundEffectList",
483
490
  get: function get() {
484
491
  return _classPrivateFieldGet(_Z, this);
485
492
  },
@@ -487,7 +494,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
487
494
  _classPrivateFieldSet(_Z, this, v);
488
495
  }
489
496
  }, {
490
- key: "speakerDetecting",
497
+ key: "microphoneDetecting",
491
498
  get: function get() {
492
499
  return _classPrivateFieldGet(_a, this);
493
500
  },
@@ -495,7 +502,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
495
502
  _classPrivateFieldSet(_a, this, v);
496
503
  }
497
504
  }, {
498
- key: "connectType",
505
+ key: "speakerDetecting",
499
506
  get: function get() {
500
507
  return _classPrivateFieldGet(_b, this);
501
508
  },
@@ -503,13 +510,21 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
503
510
  _classPrivateFieldSet(_b, this, v);
504
511
  }
505
512
  }, {
506
- key: "isMainRoomAudioOff",
513
+ key: "connectType",
507
514
  get: function get() {
508
515
  return _classPrivateFieldGet(_c, this);
509
516
  },
510
517
  set: function set(v) {
511
518
  _classPrivateFieldSet(_c, this, v);
512
519
  }
520
+ }, {
521
+ key: "isMainRoomAudioOff",
522
+ get: function get() {
523
+ return _classPrivateFieldGet(_d, this);
524
+ },
525
+ set: function set(v) {
526
+ _classPrivateFieldSet(_d, this, v);
527
+ }
513
528
  }, {
514
529
  key: "ifAccessMicrophone",
515
530
  value: function () {
@@ -524,7 +539,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
524
539
  break;
525
540
  }
526
541
  _context.next = 1;
527
- return window.runtime.checkMediaPermission('microphone');
542
+ return this._facilityProvider.checkMicrophonePermission();
528
543
  case 1:
529
544
  hasSystemPermission = _context.sent;
530
545
  case 2:
@@ -533,7 +548,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
533
548
  case "end":
534
549
  return _context.stop();
535
550
  }
536
- }, _callee);
551
+ }, _callee, this);
537
552
  }));
538
553
  function ifAccessMicrophone() {
539
554
  return _ifAccessMicrophone.apply(this, arguments);
@@ -554,7 +569,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
554
569
  break;
555
570
  }
556
571
  _context2.next = 1;
557
- return window.runtime.checkMediaPermission('camera');
572
+ return this._facilityProvider.checkCameraPermission();
558
573
  case 1:
559
574
  hasSystemPermission = _context2.sent;
560
575
  case 2:
@@ -563,7 +578,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
563
578
  case "end":
564
579
  return _context2.stop();
565
580
  }
566
- }, _callee2);
581
+ }, _callee2, this);
567
582
  }));
568
583
  function ifAccessCamera() {
569
584
  return _ifAccessCamera.apply(this, arguments);
@@ -595,12 +610,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
595
610
  }
596
611
  }
597
612
  if (this.microphoneList.length > 0) {
598
- this._eventProvider.showToast({
613
+ this._messageProvider.showToast({
599
614
  type: 'normal',
600
615
  message: (0, _i18n.transI18n)('fmt_gateway_tips_nodata')
601
616
  });
602
617
  } else {
603
- this._eventProvider.showToast({
618
+ this._messageProvider.showToast({
604
619
  type: 'normal',
605
620
  message: (0, _i18n.transI18n)('fmt_toolbar_label_nodevice')
606
621
  });
@@ -669,6 +684,14 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
669
684
  speakerDeviceId: this._speakerDevice.id || ''
670
685
  };
671
686
  }
687
+ }, {
688
+ key: "currentDeviceName",
689
+ get: function get() {
690
+ return {
691
+ microphoneDeviceName: this._microphoneDevice.name || '',
692
+ speakerDeviceName: this._speakerDevice.name || ''
693
+ };
694
+ }
672
695
  }, {
673
696
  key: "isAudioConnected",
674
697
  get: function get() {
@@ -679,6 +702,39 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
679
702
  get: function get() {
680
703
  return !this._sharedSettingDataSource.media.microphoneExpectedOff && this._sharedSettingDataSource.media.autoConnectAudio;
681
704
  }
705
+ }, {
706
+ key: "microphoneEnabled",
707
+ get: function get() {
708
+ return this._microphoneEnabled && !this.speakerDetecting && this._isMicrophoneWorking;
709
+ }
710
+ }, {
711
+ key: "microphoneState",
712
+ get: function get() {
713
+ if (this.speakerDetecting) {
714
+ return _type2.FcrUIMicrophoneState.MUTE;
715
+ }
716
+ if (this._microphoneEnabled && this._isMicrophoneWorking) {
717
+ return _type2.FcrUIMicrophoneState.UNMUTE;
718
+ }
719
+ if (this._microphoneEnabled && !this._isMicrophoneWorking) {
720
+ return _type2.FcrUIMicrophoneState.OPENING;
721
+ }
722
+ if (!this._microphoneEnabled) {
723
+ return _type2.FcrUIMicrophoneState.MUTE;
724
+ }
725
+ return _type2.FcrUIMicrophoneState.MUTE;
726
+ }
727
+ }, {
728
+ key: "resetDevice",
729
+ value: function resetDevice() {
730
+ this._hasExecutedOpenCamera = false;
731
+ this._hasExecutedConnectAudio = false;
732
+ this._isAudioConnected = false;
733
+ this.setCameraEnabled(false);
734
+ this.setMicrophoneEnabled(false);
735
+ this.setConnectType(_type2.FcrUIConnectType.NONE);
736
+ this._observable.notifyObservers('onAudioDisconnected');
737
+ }
682
738
  }, {
683
739
  key: "release",
684
740
  value: function release() {
@@ -693,6 +749,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
693
749
  this._stopMicrophoneTest();
694
750
  (_this$_microphoneAudi = this._microphoneAudioTrack) === null || _this$_microphoneAudi === void 0 || _this$_microphoneAudi.stop();
695
751
  this._microphoneAudioTrack = null;
752
+ this._isMicrophoneWorking = false;
696
753
  this._disposer.forEach(function (disposer) {
697
754
  return disposer();
698
755
  });
@@ -859,7 +916,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
859
916
  }, {
860
917
  key: "setMicrophoneEnabled",
861
918
  value: function setMicrophoneEnabled(enable) {
862
- this.microphoneEnabled = enable;
919
+ this._microphoneEnabled = enable;
863
920
  }
864
921
  }, {
865
922
  key: "toggleLocalMirror",
@@ -1121,7 +1178,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1121
1178
  name: (0, _tools.getFileNameWithoutExtension)(resource),
1122
1179
  path: resource,
1123
1180
  type: resourceType,
1124
- url: URL.createObjectURL(window.runtime.fileToBlob(resource, type))
1181
+ url: URL.createObjectURL(_this4._renderer.fileToBlob(resource, type))
1125
1182
  };
1126
1183
  });
1127
1184
  var _newList = _this4.virtualBackgroundList.concat(list);
@@ -1131,7 +1188,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1131
1188
  var key = (0, _tools.getFileNameWithoutExtension)(resource);
1132
1189
  _this4.soundEffectList.set(key, {
1133
1190
  md5Url: resource,
1134
- url: URL.createObjectURL(window.runtime.fileToBlob(resource, type))
1191
+ url: URL.createObjectURL(_this4._renderer.fileToBlob(resource, type))
1135
1192
  });
1136
1193
  });
1137
1194
  }
@@ -1300,13 +1357,19 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1300
1357
  this.logger.warn('microphone audio track is not set');
1301
1358
  return;
1302
1359
  }
1303
- if (this.microphoneEnabled) {
1360
+ if (this._microphoneEnabled) {
1304
1361
  this._microphoneAudioTrack.start();
1305
1362
  } else {
1363
+ this._isMicrophoneWorking = false;
1306
1364
  this._microphoneAudioTrack.stop();
1307
1365
  this.microphoneVolumeLevel = 0;
1308
1366
  }
1309
1367
  }
1368
+ }, {
1369
+ key: "_handleMicrophoneStateUpdated",
1370
+ value: function _handleMicrophoneStateUpdated(deviceId, state) {
1371
+ this._isMicrophoneWorking = this._microphoneDevice.id === deviceId && state === _type.FcrMediaSourceState.OPEN;
1372
+ }
1310
1373
  }, {
1311
1374
  key: "_handleMicrophoneEnabledChanged",
1312
1375
  value: function _handleMicrophoneEnabledChanged() {
@@ -1352,7 +1415,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1352
1415
  key: "_handleSpeakerDetectingChanged",
1353
1416
  value: function _handleSpeakerDetectingChanged() {
1354
1417
  var _this7 = this;
1355
- if (this.microphoneEnabled) {
1418
+ if (this._microphoneEnabled) {
1356
1419
  if (this.speakerDetecting) {
1357
1420
  var _this$_microphoneAudi3;
1358
1421
  (_this$_microphoneAudi3 = this._microphoneAudioTrack) === null || _this$_microphoneAudi3 === void 0 || _this$_microphoneAudi3.stop();
@@ -1405,12 +1468,18 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1405
1468
  key: "_handleMicrophoneIdChanged",
1406
1469
  value: function () {
1407
1470
  var _handleMicrophoneIdChanged2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8() {
1471
+ var _this8 = this;
1472
+ var _this$microphoneList$, name;
1408
1473
  return _regenerator["default"].wrap(function (_context8) {
1409
1474
  while (1) switch (_context8.prev = _context8.next) {
1410
1475
  case 0:
1411
1476
  if (!this.followSystemMicrophoneDevice) {
1477
+ name = ((_this$microphoneList$ = this.microphoneList.find(function (item) {
1478
+ return item.deviceId === _this8._microphone.id;
1479
+ })) === null || _this$microphoneList$ === void 0 ? void 0 : _this$microphoneList$.deviceName) || null;
1412
1480
  this._microphoneDevice = {
1413
- id: this._microphone.id
1481
+ id: this._microphone.id,
1482
+ name: name
1414
1483
  };
1415
1484
  } else {
1416
1485
  this._correctSystemSelectedMicrophoneDeviceId();
@@ -1435,6 +1504,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1435
1504
  this._microphone.id = DEFAULT_DEVICE_ID;
1436
1505
  } else {
1437
1506
  var _this$_microphoneAudi7, _this$_microphoneAudi8;
1507
+ this._isMicrophoneWorking = false;
1438
1508
  (_this$_microphoneAudi7 = this._microphoneAudioTrack) === null || _this$_microphoneAudi7 === void 0 || _this$_microphoneAudi7.removeObserver(this._microphoneObserver);
1439
1509
  (_this$_microphoneAudi8 = this._microphoneAudioTrack) === null || _this$_microphoneAudi8 === void 0 || _this$_microphoneAudi8.stop();
1440
1510
  this._microphoneAudioTrack = this._mediaControl.getMicrophoneTrack(this._microphoneDevice.id);
@@ -1459,12 +1529,18 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1459
1529
  key: "_handleSpeakerIdChanged",
1460
1530
  value: function () {
1461
1531
  var _handleSpeakerIdChanged2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee9() {
1532
+ var _this9 = this;
1533
+ var _this$speakerList$fin, name;
1462
1534
  return _regenerator["default"].wrap(function (_context9) {
1463
1535
  while (1) switch (_context9.prev = _context9.next) {
1464
1536
  case 0:
1465
1537
  if (!this.followSystemSpeakerDevice) {
1538
+ name = ((_this$speakerList$fin = this.speakerList.find(function (item) {
1539
+ return item.deviceId === _this9._speaker.id;
1540
+ })) === null || _this$speakerList$fin === void 0 ? void 0 : _this$speakerList$fin.deviceName) || null;
1466
1541
  this._speakerDevice = {
1467
- id: this._speaker.id
1542
+ id: this._speaker.id,
1543
+ name: name
1468
1544
  };
1469
1545
  } else {
1470
1546
  this._correctSystemSpeakerDeviceId();
@@ -1490,12 +1566,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1490
1566
  while (1) switch (_context0.prev = _context0.next) {
1491
1567
  case 0:
1492
1568
  md5Url = (0, _imports.md5)(url);
1493
- return _context0.abrupt("return", window.runtime.getResourceByFileType(url, md5Url, type));
1569
+ return _context0.abrupt("return", this._renderer.getResourceByFileType(url, md5Url, type));
1494
1570
  case 1:
1495
1571
  case "end":
1496
1572
  return _context0.stop();
1497
1573
  }
1498
- }, _callee0);
1574
+ }, _callee0, this);
1499
1575
  }));
1500
1576
  function _fetchZipAndUnzip(_x8, _x9) {
1501
1577
  return _fetchZipAndUnzip2.apply(this, arguments);
@@ -1533,11 +1609,20 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1533
1609
  return this._mediaControl.getSystemSelectedSpeaker();
1534
1610
  case 1:
1535
1611
  defaultDevice = _context1.sent;
1536
- this.logger.debug("system selected speaker changed : ".concat(defaultDevice === null || defaultDevice === void 0 ? void 0 : defaultDevice.deviceName));
1612
+ if (!(defaultDevice === undefined)) {
1613
+ _context1.next = 2;
1614
+ break;
1615
+ }
1616
+ this.logger.error('get system selected speaker device failed');
1617
+ return _context1.abrupt("return");
1618
+ case 2:
1619
+ this.logger.debug("system selected speaker changed : ".concat(defaultDevice.deviceName));
1620
+ this._observable.notifyObservers('onSystemSelectedDeviceChanged', defaultDevice);
1537
1621
  this._speakerDevice = {
1538
- id: (defaultDevice === null || defaultDevice === void 0 ? void 0 : defaultDevice.deviceId) || null
1622
+ id: defaultDevice.deviceId,
1623
+ name: defaultDevice.deviceName
1539
1624
  };
1540
- case 2:
1625
+ case 3:
1541
1626
  case "end":
1542
1627
  return _context1.stop();
1543
1628
  }
@@ -1565,11 +1650,20 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1565
1650
  return this._mediaControl.getSystemSelectedMicrophone();
1566
1651
  case 1:
1567
1652
  defaultDevice = _context10.sent;
1568
- this.logger.debug("system selected microphone changed : ".concat(defaultDevice === null || defaultDevice === void 0 ? void 0 : defaultDevice.deviceName));
1653
+ if (!(defaultDevice === undefined)) {
1654
+ _context10.next = 2;
1655
+ break;
1656
+ }
1657
+ this.logger.error('get system selected speaker device failed');
1658
+ return _context10.abrupt("return");
1659
+ case 2:
1660
+ this._observable.notifyObservers('onSystemSelectedDeviceChanged', defaultDevice);
1661
+ this.logger.debug("system selected microphone changed : ".concat(defaultDevice.deviceName));
1569
1662
  this._microphoneDevice = {
1570
- id: (defaultDevice === null || defaultDevice === void 0 ? void 0 : defaultDevice.deviceId) || null
1663
+ id: defaultDevice.deviceId,
1664
+ name: defaultDevice.deviceName
1571
1665
  };
1572
- case 2:
1666
+ case 3:
1573
1667
  case "end":
1574
1668
  return _context10.stop();
1575
1669
  }
@@ -1598,7 +1692,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1598
1692
  }, {
1599
1693
  key: "_toggleLocalCameraPreview",
1600
1694
  value: function _toggleLocalCameraPreview(enabled) {
1601
- var _this8 = this;
1695
+ var _this0 = this;
1602
1696
  var localVideoViewSet = this._localVideoViewSet;
1603
1697
  var cameraTrack = this._cameraVideoTrack;
1604
1698
  if (!cameraTrack) {
@@ -1614,7 +1708,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1614
1708
  localVideoViewSet.forEach(function (view) {
1615
1709
  cameraTrack.startPreview({
1616
1710
  renderMode: _fcrCore.FcrVideoRenderMode.HIDDEN,
1617
- isMirror: _this8.currentIsMirror
1711
+ isMirror: _this0.currentIsMirror
1618
1712
  }, view);
1619
1713
  });
1620
1714
  }
@@ -1628,7 +1722,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1628
1722
  key: "_handleCameraRemoved",
1629
1723
  value: function () {
1630
1724
  var _handleCameraRemoved2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee11() {
1631
- var _this9 = this;
1725
+ var _this1 = this;
1632
1726
  var currentDeviceExist, defaultDeviceId;
1633
1727
  return _regenerator["default"].wrap(function (_context11) {
1634
1728
  while (1) switch (_context11.prev = _context11.next) {
@@ -1638,7 +1732,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1638
1732
  case 1:
1639
1733
  currentDeviceExist = this.cameraList.some(function (_ref5) {
1640
1734
  var deviceId = _ref5.deviceId;
1641
- return _this9._cameraDevice.id === deviceId;
1735
+ return _this1._cameraDevice.id === deviceId;
1642
1736
  });
1643
1737
  if (!currentDeviceExist) {
1644
1738
  this.logger.info('[FcrDeviceStore] current speaker does not exist in speaker list, switch to follow system');
@@ -1693,7 +1787,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1693
1787
  key: "_handleMicrophoneRemoved",
1694
1788
  value: function () {
1695
1789
  var _handleMicrophoneRemoved2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee13() {
1696
- var _this0 = this;
1790
+ var _this10 = this;
1697
1791
  var currentDeviceExist;
1698
1792
  return _regenerator["default"].wrap(function (_context13) {
1699
1793
  while (1) switch (_context13.prev = _context13.next) {
@@ -1702,7 +1796,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1702
1796
  return this._handleMicrophoneListUpdated();
1703
1797
  case 1:
1704
1798
  currentDeviceExist = this.microphoneList.find(function (item) {
1705
- return item.deviceId === _this0._microphoneDevice.id;
1799
+ return item.deviceId === _this10._microphoneDevice.id;
1706
1800
  });
1707
1801
  if (!currentDeviceExist) {
1708
1802
  this.logger.info('[FcrDeviceStore] current microphone does not exist in microphone list, switch to follow system');
@@ -1753,7 +1847,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1753
1847
  key: "_handleSpeakerRemoved",
1754
1848
  value: function () {
1755
1849
  var _handleSpeakerRemoved2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee15() {
1756
- var _this1 = this;
1850
+ var _this11 = this;
1757
1851
  var currentDeviceExist;
1758
1852
  return _regenerator["default"].wrap(function (_context15) {
1759
1853
  while (1) switch (_context15.prev = _context15.next) {
@@ -1763,7 +1857,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1763
1857
  case 1:
1764
1858
  // 如何设备移除了,应该切到跟随系统
1765
1859
  currentDeviceExist = this.speakerList.find(function (item) {
1766
- return item.deviceId === _this1._speakerDevice.id;
1860
+ return item.deviceId === _this11._speakerDevice.id;
1767
1861
  });
1768
1862
  if (!currentDeviceExist) {
1769
1863
  this.logger.info('[FcrDeviceStore] current speaker does not exist in speaker list, switch to follow system');
@@ -1906,26 +2000,25 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1906
2000
  key: "_loadBuiltinResources",
1907
2001
  value: function () {
1908
2002
  var _loadBuiltinResources2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee19() {
1909
- var _window$runtime,
1910
- _this10 = this;
1911
- var _yield$window$runtime, virtualBackgroundImages, virtualBackgroundVideos, soundEffects, newVirtualBackgroundList, images, videos, sounds;
2003
+ var _this12 = this;
2004
+ var _yield$this$_renderer, virtualBackgroundImages, virtualBackgroundVideos, soundEffects, newVirtualBackgroundList, images, videos, sounds;
1912
2005
  return _regenerator["default"].wrap(function (_context19) {
1913
2006
  while (1) switch (_context19.prev = _context19.next) {
1914
2007
  case 0:
1915
2008
  _context19.next = 1;
1916
- return (_window$runtime = window.runtime) === null || _window$runtime === void 0 ? void 0 : _window$runtime.loadBuiltinResources();
2009
+ return this._renderer.loadBuiltinResources();
1917
2010
  case 1:
1918
- _yield$window$runtime = _context19.sent;
1919
- virtualBackgroundImages = _yield$window$runtime.virtualBackgroundImages;
1920
- virtualBackgroundVideos = _yield$window$runtime.virtualBackgroundVideos;
1921
- soundEffects = _yield$window$runtime.soundEffects;
2011
+ _yield$this$_renderer = _context19.sent;
2012
+ virtualBackgroundImages = _yield$this$_renderer.virtualBackgroundImages;
2013
+ virtualBackgroundVideos = _yield$this$_renderer.virtualBackgroundVideos;
2014
+ soundEffects = _yield$this$_renderer.soundEffects;
1922
2015
  newVirtualBackgroundList = this.virtualBackgroundList.slice();
1923
2016
  images = virtualBackgroundImages.map(function (item) {
1924
2017
  return {
1925
2018
  name: (0, _tools.getFileNameWithoutExtension)(item),
1926
2019
  path: item,
1927
2020
  type: _virtualBackdoundResources.VirtualOption.IMG,
1928
- url: URL.createObjectURL(window.runtime.fileToBlob(item, 'image'))
2021
+ url: URL.createObjectURL(_this12._renderer.fileToBlob(item, 'image'))
1929
2022
  };
1930
2023
  });
1931
2024
  videos = virtualBackgroundVideos.map(function (item) {
@@ -1933,12 +2026,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1933
2026
  name: (0, _tools.getFileNameWithoutExtension)(item),
1934
2027
  path: item,
1935
2028
  type: _virtualBackdoundResources.VirtualOption.VIDEO,
1936
- url: URL.createObjectURL(window.runtime.fileToBlob(item, 'video'))
2029
+ url: URL.createObjectURL(_this12._renderer.fileToBlob(item, 'video'))
1937
2030
  };
1938
2031
  });
1939
2032
  sounds = soundEffects.map(function (item) {
1940
2033
  return {
1941
- url: URL.createObjectURL(window.runtime.fileToBlob(item, 'audio')),
2034
+ url: URL.createObjectURL(_this12._renderer.fileToBlob(item, 'audio')),
1942
2035
  md5Url: item
1943
2036
  };
1944
2037
  });
@@ -1948,9 +2041,9 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1948
2041
  newVirtualBackgroundList = newVirtualBackgroundList.concat(images);
1949
2042
  newVirtualBackgroundList = newVirtualBackgroundList.concat(videos);
1950
2043
  (0, _mobx.runInAction)(function () {
1951
- _this10._updateVirtualBackgroundList(newVirtualBackgroundList);
2044
+ _this12._updateVirtualBackgroundList(newVirtualBackgroundList);
1952
2045
  sounds.forEach(function (item) {
1953
- _this10.soundEffectList.set((0, _tools.getFileNameWithoutExtension)(item.url), item);
2046
+ _this12.soundEffectList.set((0, _tools.getFileNameWithoutExtension)(item.url), item);
1954
2047
  });
1955
2048
  });
1956
2049
  case 2:
@@ -1967,35 +2060,37 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
1967
2060
  }]);
1968
2061
  }();
1969
2062
  _FcrUIDeviceProviderImpl = FcrUIDeviceProviderImpl;
1970
- var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_FcrUIDeviceProviderImpl, [[_mobx.observable, 1, "_microphoneDevice"], [_mobx.observable, 1, "_microphone"], [_mobx.observable, 1, "_speakerDevice"], [_mobx.observable, 1, "_speaker"], [_mobx.observable, 1, "_cameraDevice"], [_mobx.observable, 1, "currentIsMirror"], [_mobx.observable, 1, "showForceOpenEffectDialog"], [_mobx.observable, 1, "cameraEnabled"], [_mobx.observable, 1, "showCameraPreview"], [_mobx.observable, 1, "microphoneEnabled"], [_mobx.observable, 1, "cameraList"], [_mobx.observable, 1, "microphoneList"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "speakerList"], [_mobx.observable, 1, "isLocalMirrorEnabled"], [_mobx.observable, 1, "isLocalEditBeautyOptions"], [_mobx.observable, 1, "speakerVolumeLevel"], [_mobx.observable, 1, "speakerVolume"], [_mobx.observable, 1, "microphoneVolume"], [_mobx.observable, 1, "virtualBackgroundName"], [_mobx.observable, 1, "enableBeauty"], [_mobx.observable, 1, "beautyKey"], [_mobx.observable, 1, "beautyOptions"], [_mobx.observable, 1, "virtualBackgroundList"], [_mobx.observable, 1, "soundEffectList"], [_mobx.observable, 1, "microphoneDetecting"], [_mobx.observable, 1, "speakerDetecting"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "isMainRoomAudioOff"], [_imports.bound, 2, "connectAudio"], [_imports.bound, 2, "disconnectAudio"], [_startPlayLocalVideoDecs, 18, "startPlayLocalVideo"], [_stopPlayLocalVideoDecs, 18, "stopPlayLocalVideo"], [_startSpeakerTestDecs, 18, "startSpeakerTest"], [_stopSpeakerTestDecs, 18, "stopSpeakerTest"], [_setCurrentIsMirrorDecs, 18, "setCurrentIsMirror"], [_toggleLocalMirrorPreviewDecs, 18, "toggleLocalMirrorPreview"], [_setBeautyOptionsDecs, 18, "setBeautyOptions"], [_handleCancelForceOpenVideoEffectDecs, 18, "handleCancelForceOpenVideoEffect"], [_handleForceOpenVideoEffectDecs, 18, "handleForceOpenVideoEffect"], [_imports.bound, 2, "setVideoOrientation"], [_setCameraEnabledDecs, 18, "setCameraEnabled"], [_handleCameraEnabledChangedDecs, 18, "_handleCameraEnabledChanged"], [_setMicrophoneEnabledDecs, 18, "setMicrophoneEnabled"], [_toggleLocalMirrorDecs, 18, "toggleLocalMirror"], [_resetMirrorDecs, 18, "resetMirror"], [_startMicrophoneTestDecs, 18, "startMicrophoneTest"], [_stopMicrophoneTestDecs, 18, "stopMicrophoneTest"], [_enableVirtualBackgroundDecs, 18, "enableVirtualBackground"], [_setEditBeautyKeyDecs, 18, "setEditBeautyKey"], [_enableBeautyEffectDecs, 18, "enableBeautyEffect"], [_setCameraIdDecs, 18, "setCameraId"], [_setMainRoomAudioOffDecs, 18, "setMainRoomAudioOff"], [_setSpeakerIdDecs, 18, "setSpeakerId"], [_setMicrophoneIdDecs, 18, "setMicrophoneId"], [_setSpeakerVolumeDecs, 18, "setSpeakerVolume"], [_setMicrophoneVolumeDecs, 18, "setMicrophoneVolume"], [_startOrStopCameraDecs, 18, "startOrStopCamera"], [_setShowCameraPreviewDecs, 18, "setShowCameraPreview"], [_loadUiResourcesDecs, 18, "loadUiResources"], [_loadZipResourcesDecs, 18, "loadZipResources"], [_imports.bound, 2, "toggleAGC"], [_setConnectTypeDecs, 18, "setConnectType"], [_toggleLocalCameraPreviewDecs, 18, "toggleLocalCameraPreview"], [_getLoopbackDeviceIdDecs, 18, "getLoopbackDeviceId"], [_initDeviceListDecs, 18, "_initDeviceList"], [_handleMicrophoneAudioTrackDecs, 18, "_handleMicrophoneAudioTrack"], [_handleMicrophoneEnabledChangedDecs, 18, "_handleMicrophoneEnabledChanged"], [_handleCameraVideoTrackDecs, 18, "_handleCameraVideoTrack"], [_imports.bound, 2, "_handleCameraDeviceIdChanged"], [_handleSpeakerDetectingChangedDecs, 18, "_handleSpeakerDetectingChanged"], [_stopSelectedSpeakerTestDecs, 18, "_stopSelectedSpeakerTest"], [_handleMicrophoneDetectingChangedDecs, 18, "_handleMicrophoneDetectingChanged"], [_stopMicrophoneTestDecs2, 18, "_stopMicrophoneTest"], [_imports.bound, 2, "_handleMicrophoneIdChanged"], [_imports.bound, 2, "_handleMicrophoneDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerIdChanged"], [_updateVirtualBackgroundListDecs, 18, "_updateVirtualBackgroundList"], [_handleSystemSelectedSpeakerChangedDecs, 18, "_handleSystemSelectedSpeakerChanged"], [_handleSystemSelectedMicrophoneChangedDecs, 18, "_handleSystemSelectedMicrophoneChanged"], [_correctSystemSelectedMicrophoneDeviceIdDecs, 18, "_correctSystemSelectedMicrophoneDeviceId"], [_handleSelectedSpeakerVolumeUpdatedDecs, 18, "_handleSelectedSpeakerVolumeUpdated"], [_handleSpeakerTestVolumeIndicationUpdatedDecs, 18, "_handleSpeakerTestVolumeIndicationUpdated"], [_handleMicrophoneVolumeIndicationUpdatedDecs, 18, "_handleMicrophoneVolumeIndicationUpdated"], [_imports.bound, 2, "_toggleLocalCameraPreview"], [_imports.bound, 2, "_handleCameraAdded"], [_imports.bound, 2, "_handleCameraRemoved"], [_imports.bound, 2, "_handleCameraListUpdated"], [_imports.bound, 2, "_handleMicrophoneAdded"], [_imports.bound, 2, "_handleMicrophoneRemoved"], [_imports.bound, 2, "_handleMicrophoneListUpdated"], [_handleSpeakerAddedDecs, 18, "_handleSpeakerAdded"], [_handleSpeakerRemovedDecs, 18, "_handleSpeakerRemoved"], [_handleSpeakerListUpdatedDecs, 18, "_handleSpeakerListUpdated"], [_getMicrophoneListDecs, 18, "_getMicrophoneList"], [_getSpeakerListDecs, 18, "_getSpeakerList"], [_formatDeviceListDecs, 18, "_formatDeviceList"], [_loadBuiltinResourcesDecs, 18, "_loadBuiltinResources"]], []).e, 30);
1971
- _init__microphoneDevice = _applyDecs$e[0];
1972
- _init__microphone = _applyDecs$e[1];
1973
- _init__speakerDevice = _applyDecs$e[2];
1974
- _init__speaker = _applyDecs$e[3];
1975
- _init__cameraDevice = _applyDecs$e[4];
1976
- _init_currentIsMirror = _applyDecs$e[5];
1977
- _init_showForceOpenEffectDialog = _applyDecs$e[6];
1978
- _init_cameraEnabled = _applyDecs$e[7];
1979
- _init_showCameraPreview = _applyDecs$e[8];
1980
- _init_microphoneEnabled = _applyDecs$e[9];
1981
- _init_cameraList = _applyDecs$e[10];
1982
- _init_microphoneList = _applyDecs$e[11];
1983
- _init_microphoneVolumeLevel = _applyDecs$e[12];
1984
- _init_speakerList = _applyDecs$e[13];
1985
- _init_isLocalMirrorEnabled = _applyDecs$e[14];
1986
- _init_isLocalEditBeautyOptions = _applyDecs$e[15];
1987
- _init_speakerVolumeLevel = _applyDecs$e[16];
1988
- _init_speakerVolume = _applyDecs$e[17];
1989
- _init_microphoneVolume = _applyDecs$e[18];
1990
- _init_virtualBackgroundName = _applyDecs$e[19];
1991
- _init_enableBeauty = _applyDecs$e[20];
1992
- _init_beautyKey = _applyDecs$e[21];
1993
- _init_beautyOptions = _applyDecs$e[22];
1994
- _init_virtualBackgroundList = _applyDecs$e[23];
1995
- _init_soundEffectList = _applyDecs$e[24];
1996
- _init_microphoneDetecting = _applyDecs$e[25];
1997
- _init_speakerDetecting = _applyDecs$e[26];
1998
- _init_connectType = _applyDecs$e[27];
1999
- _init_isMainRoomAudioOff = _applyDecs$e[28];
2000
- _initProto = _applyDecs$e[29];
2001
- (0, _base.registerDependency)('deviceProvider');
2063
+ var _applyDecs$e = _applyDecs(_FcrUIDeviceProviderImpl, [[_mobx.observable, 1, "_microphoneEnabled"], [_mobx.observable, 1, "_isMicrophoneWorking"], [_mobx.observable, 1, "_microphoneDevice"], [_mobx.observable, 1, "_microphone"], [_mobx.observable, 1, "_speakerDevice"], [_mobx.observable, 1, "_speaker"], [_mobx.observable, 1, "_cameraDevice"], [_mobx.observable, 1, "currentIsMirror"], [_mobx.observable, 1, "showForceOpenEffectDialog"], [_mobx.observable, 1, "cameraEnabled"], [_mobx.observable, 1, "showCameraPreview"], [_mobx.observable, 1, "cameraList"], [_mobx.observable, 1, "microphoneList"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "speakerList"], [_mobx.observable, 1, "isLocalMirrorEnabled"], [_mobx.observable, 1, "isLocalEditBeautyOptions"], [_mobx.observable, 1, "speakerVolumeLevel"], [_mobx.observable, 1, "speakerVolume"], [_mobx.observable, 1, "microphoneVolume"], [_mobx.observable, 1, "virtualBackgroundName"], [_mobx.observable, 1, "enableBeauty"], [_mobx.observable, 1, "beautyKey"], [_mobx.observable, 1, "beautyOptions"], [_mobx.observable, 1, "virtualBackgroundList"], [_mobx.observable, 1, "soundEffectList"], [_mobx.observable, 1, "microphoneDetecting"], [_mobx.observable, 1, "speakerDetecting"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "isMainRoomAudioOff"], [_imports.bound, 2, "connectAudio"], [_imports.bound, 2, "disconnectAudio"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneState"], [_startPlayLocalVideoDecs, 18, "startPlayLocalVideo"], [_stopPlayLocalVideoDecs, 18, "stopPlayLocalVideo"], [_startSpeakerTestDecs, 18, "startSpeakerTest"], [_stopSpeakerTestDecs, 18, "stopSpeakerTest"], [_setCurrentIsMirrorDecs, 18, "setCurrentIsMirror"], [_toggleLocalMirrorPreviewDecs, 18, "toggleLocalMirrorPreview"], [_setBeautyOptionsDecs, 18, "setBeautyOptions"], [_handleCancelForceOpenVideoEffectDecs, 18, "handleCancelForceOpenVideoEffect"], [_handleForceOpenVideoEffectDecs, 18, "handleForceOpenVideoEffect"], [_imports.bound, 2, "setVideoOrientation"], [_setCameraEnabledDecs, 18, "setCameraEnabled"], [_handleCameraEnabledChangedDecs, 18, "_handleCameraEnabledChanged"], [_setMicrophoneEnabledDecs, 18, "setMicrophoneEnabled"], [_toggleLocalMirrorDecs, 18, "toggleLocalMirror"], [_resetMirrorDecs, 18, "resetMirror"], [_startMicrophoneTestDecs, 18, "startMicrophoneTest"], [_stopMicrophoneTestDecs, 18, "stopMicrophoneTest"], [_enableVirtualBackgroundDecs, 18, "enableVirtualBackground"], [_setEditBeautyKeyDecs, 18, "setEditBeautyKey"], [_enableBeautyEffectDecs, 18, "enableBeautyEffect"], [_setCameraIdDecs, 18, "setCameraId"], [_setMainRoomAudioOffDecs, 18, "setMainRoomAudioOff"], [_setSpeakerIdDecs, 18, "setSpeakerId"], [_setMicrophoneIdDecs, 18, "setMicrophoneId"], [_setSpeakerVolumeDecs, 18, "setSpeakerVolume"], [_setMicrophoneVolumeDecs, 18, "setMicrophoneVolume"], [_startOrStopCameraDecs, 18, "startOrStopCamera"], [_setShowCameraPreviewDecs, 18, "setShowCameraPreview"], [_loadUiResourcesDecs, 18, "loadUiResources"], [_loadZipResourcesDecs, 18, "loadZipResources"], [_imports.bound, 2, "toggleAGC"], [_setConnectTypeDecs, 18, "setConnectType"], [_toggleLocalCameraPreviewDecs, 18, "toggleLocalCameraPreview"], [_getLoopbackDeviceIdDecs, 18, "getLoopbackDeviceId"], [_initDeviceListDecs, 18, "_initDeviceList"], [_handleMicrophoneAudioTrackDecs, 18, "_handleMicrophoneAudioTrack"], [_handleMicrophoneStateUpdatedDecs, 18, "_handleMicrophoneStateUpdated"], [_handleMicrophoneEnabledChangedDecs, 18, "_handleMicrophoneEnabledChanged"], [_handleCameraVideoTrackDecs, 18, "_handleCameraVideoTrack"], [_imports.bound, 2, "_handleCameraDeviceIdChanged"], [_handleSpeakerDetectingChangedDecs, 18, "_handleSpeakerDetectingChanged"], [_stopSelectedSpeakerTestDecs, 18, "_stopSelectedSpeakerTest"], [_handleMicrophoneDetectingChangedDecs, 18, "_handleMicrophoneDetectingChanged"], [_stopMicrophoneTestDecs2, 18, "_stopMicrophoneTest"], [_imports.bound, 2, "_handleMicrophoneIdChanged"], [_imports.bound, 2, "_handleMicrophoneDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerIdChanged"], [_updateVirtualBackgroundListDecs, 18, "_updateVirtualBackgroundList"], [_handleSystemSelectedSpeakerChangedDecs, 18, "_handleSystemSelectedSpeakerChanged"], [_handleSystemSelectedMicrophoneChangedDecs, 18, "_handleSystemSelectedMicrophoneChanged"], [_correctSystemSelectedMicrophoneDeviceIdDecs, 18, "_correctSystemSelectedMicrophoneDeviceId"], [_handleSelectedSpeakerVolumeUpdatedDecs, 18, "_handleSelectedSpeakerVolumeUpdated"], [_handleSpeakerTestVolumeIndicationUpdatedDecs, 18, "_handleSpeakerTestVolumeIndicationUpdated"], [_handleMicrophoneVolumeIndicationUpdatedDecs, 18, "_handleMicrophoneVolumeIndicationUpdated"], [_imports.bound, 2, "_toggleLocalCameraPreview"], [_imports.bound, 2, "_handleCameraAdded"], [_imports.bound, 2, "_handleCameraRemoved"], [_imports.bound, 2, "_handleCameraListUpdated"], [_imports.bound, 2, "_handleMicrophoneAdded"], [_imports.bound, 2, "_handleMicrophoneRemoved"], [_imports.bound, 2, "_handleMicrophoneListUpdated"], [_handleSpeakerAddedDecs, 18, "_handleSpeakerAdded"], [_handleSpeakerRemovedDecs, 18, "_handleSpeakerRemoved"], [_handleSpeakerListUpdatedDecs, 18, "_handleSpeakerListUpdated"], [_getMicrophoneListDecs, 18, "_getMicrophoneList"], [_getSpeakerListDecs, 18, "_getSpeakerList"], [_formatDeviceListDecs, 18, "_formatDeviceList"], [_loadBuiltinResourcesDecs, 18, "_loadBuiltinResources"]], []).e;
2064
+ var _applyDecs$e2 = (0, _slicedToArray2["default"])(_applyDecs$e, 31);
2065
+ _init__microphoneEnabled = _applyDecs$e2[0];
2066
+ _init__isMicrophoneWorking = _applyDecs$e2[1];
2067
+ _init__microphoneDevice = _applyDecs$e2[2];
2068
+ _init__microphone = _applyDecs$e2[3];
2069
+ _init__speakerDevice = _applyDecs$e2[4];
2070
+ _init__speaker = _applyDecs$e2[5];
2071
+ _init__cameraDevice = _applyDecs$e2[6];
2072
+ _init_currentIsMirror = _applyDecs$e2[7];
2073
+ _init_showForceOpenEffectDialog = _applyDecs$e2[8];
2074
+ _init_cameraEnabled = _applyDecs$e2[9];
2075
+ _init_showCameraPreview = _applyDecs$e2[10];
2076
+ _init_cameraList = _applyDecs$e2[11];
2077
+ _init_microphoneList = _applyDecs$e2[12];
2078
+ _init_microphoneVolumeLevel = _applyDecs$e2[13];
2079
+ _init_speakerList = _applyDecs$e2[14];
2080
+ _init_isLocalMirrorEnabled = _applyDecs$e2[15];
2081
+ _init_isLocalEditBeautyOptions = _applyDecs$e2[16];
2082
+ _init_speakerVolumeLevel = _applyDecs$e2[17];
2083
+ _init_speakerVolume = _applyDecs$e2[18];
2084
+ _init_microphoneVolume = _applyDecs$e2[19];
2085
+ _init_virtualBackgroundName = _applyDecs$e2[20];
2086
+ _init_enableBeauty = _applyDecs$e2[21];
2087
+ _init_beautyKey = _applyDecs$e2[22];
2088
+ _init_beautyOptions = _applyDecs$e2[23];
2089
+ _init_virtualBackgroundList = _applyDecs$e2[24];
2090
+ _init_soundEffectList = _applyDecs$e2[25];
2091
+ _init_microphoneDetecting = _applyDecs$e2[26];
2092
+ _init_speakerDetecting = _applyDecs$e2[27];
2093
+ _init_connectType = _applyDecs$e2[28];
2094
+ _init_isMainRoomAudioOff = _applyDecs$e2[29];
2095
+ _initProto = _applyDecs$e2[30];
2096
+ _applyDecs$e;