fcr-ui-scene 3.7.4-rc.1 → 3.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/installer/icons/icon.png +0 -0
- package/installer/mac/entitlements.mac.plist +5 -1
- package/lib/assets/mic-loading.gif +0 -0
- package/lib/base.d.ts +15 -6
- package/lib/base.js +139 -107
- package/lib/{creator.d.ts → creator/index.d.ts} +16 -12
- package/lib/{creator.js → creator/index.js} +279 -210
- package/lib/creator/provider-initializer.browser.d.ts +14 -0
- package/lib/creator/provider-initializer.browser.js +291 -0
- package/lib/creator/provider-initializer.electron.d.ts +14 -0
- package/lib/creator/provider-initializer.electron.js +327 -0
- package/lib/creator/type.d.ts +15 -0
- package/lib/electron/app.js +84 -48
- package/lib/electron/bootstrap-sdk.js +101 -12
- package/lib/electron/event-manager.d.ts +88 -0
- package/lib/electron/event-manager.js +242 -0
- package/lib/electron/injections.d.ts +13 -32
- package/lib/electron/injections.js +205 -328
- package/lib/electron/ipc/type.d.ts +1 -0
- package/lib/electron/ipc/type.js +1 -0
- package/lib/electron/ipc-protocol.d.ts +91 -0
- package/lib/electron/ipc-protocol.js +61 -0
- package/lib/electron/main.js +64 -86
- package/lib/electron/preload.d.ts +1 -1
- package/lib/electron/preload.js +17 -112
- package/lib/electron/sdk-helper.d.ts +1 -0
- package/lib/electron/sdk-helper.js +238 -0
- package/lib/electron/struct.d.ts +12 -0
- package/lib/electron/struct.js +21 -0
- package/lib/electron/until.d.ts +28 -0
- package/lib/electron/until.js +54 -0
- package/lib/electron/window-proxy/browser-window-proxy.d.ts +63 -0
- package/lib/electron/window-proxy/browser-window-proxy.js +728 -0
- package/lib/electron/window-proxy/main-process-handler.d.ts +45 -0
- package/lib/electron/window-proxy/main-process-handler.js +446 -0
- package/lib/electron/window.d.ts +0 -4
- package/lib/electron/window.js +10 -21
- package/lib/fragments/annotation/index.d.ts +1 -0
- package/lib/fragments/annotation/index.js +3 -1
- package/lib/fragments/annotation/store.d.ts +1 -0
- package/lib/fragments/annotation/store.js +43 -18
- package/lib/fragments/annotation/toolbar/store.d.ts +6 -6
- package/lib/fragments/annotation/toolbar/store.js +13 -41
- package/lib/fragments/annotation/toolbar/view.js +32 -37
- package/lib/fragments/annotation/view.d.ts +0 -1
- package/lib/fragments/annotation/view.js +11 -12
- package/lib/fragments/base.d.ts +3 -0
- package/lib/fragments/base.js +3 -1
- package/lib/fragments/whiteboard/index.d.ts +1 -1
- package/lib/fragments/whiteboard/index.js +3 -6
- package/lib/fragments/whiteboard/store.d.ts +1 -0
- package/lib/fragments/whiteboard/store.js +15 -8
- package/lib/global.css +22 -10
- package/lib/global.d.ts +19 -1
- package/lib/modules/action-bar/components/apps/index.js +1 -1
- package/lib/modules/action-bar/components/chat/index.js +1 -1
- package/lib/modules/action-bar/components/collapse/index.d.ts +1 -1
- package/lib/modules/action-bar/components/collapse/index.js +1 -3
- package/lib/modules/action-bar/components/confirm-leave-meeting/index.d.ts +3 -0
- package/lib/modules/action-bar/components/confirm-leave-meeting/index.js +78 -0
- package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -1
- package/lib/modules/action-bar/components/interpreter/index.js +1 -1
- package/lib/modules/action-bar/components/item/index.d.ts +1 -1
- package/lib/modules/action-bar/components/leave/index.js +1 -1
- package/lib/modules/action-bar/components/live-streaming/index.js +1 -1
- package/lib/modules/action-bar/components/more/index.js +3 -9
- package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -1
- package/lib/modules/action-bar/components/more/poppover-content.js +12 -12
- package/lib/modules/action-bar/components/notification-bar/index.js +1 -1
- package/lib/modules/action-bar/components/participants/index.js +1 -1
- package/lib/modules/action-bar/components/placement/index.d.ts +1 -1
- package/lib/modules/action-bar/components/record/index.js +1 -1
- package/lib/modules/action-bar/components/record/popover.js +1 -1
- package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -1
- package/lib/modules/action-bar/components/screen-share/index.browser.d.ts +4 -0
- package/lib/modules/action-bar/components/screen-share/index.browser.js +60 -0
- package/lib/modules/action-bar/components/screen-share/index.electron.d.ts +4 -0
- package/lib/modules/action-bar/components/screen-share/index.electron.js +70 -0
- package/lib/modules/action-bar/components/screen-share/index.js +3 -85
- package/lib/modules/action-bar/components/screen-share/submenu.js +52 -42
- package/lib/modules/action-bar/components/security/index.js +2 -14
- package/lib/modules/action-bar/components/settings/index.js +3 -3
- package/lib/modules/action-bar/components/smaller/index.js +1 -1
- package/lib/modules/action-bar/components/trigger-output-language/index.js +1 -1
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +1 -1
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +2 -2
- package/lib/modules/action-bar/constants.d.ts +1 -0
- package/lib/modules/action-bar/constants.js +8 -0
- package/lib/modules/action-bar/index.d.ts +14 -55
- package/lib/modules/action-bar/index.js +32 -78
- package/lib/modules/action-bar/main-scene/index.d.ts +19 -0
- package/lib/modules/action-bar/main-scene/index.js +141 -0
- package/lib/modules/action-bar/{store.d.ts → main-scene/store.base.d.ts} +84 -108
- package/lib/modules/action-bar/{store.js → main-scene/store.base.js} +285 -288
- package/lib/modules/action-bar/main-scene/store.browser.d.ts +4 -0
- package/lib/modules/action-bar/main-scene/store.browser.js +111 -0
- package/lib/modules/action-bar/main-scene/store.electron.d.ts +10 -0
- package/lib/modules/action-bar/main-scene/store.electron.js +100 -0
- package/lib/modules/action-bar/main-scene/view.d.ts +4 -0
- package/lib/modules/action-bar/main-scene/view.js +111 -0
- package/lib/modules/action-bar/store.base.d.ts +15 -0
- package/lib/modules/action-bar/store.base.js +117 -0
- package/lib/modules/action-bar/{types.d.ts → type.d.ts} +9 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +1 -1
- package/lib/modules/action-bar/view.js +2 -2
- package/lib/modules/action-bar/waiting-scene/index.d.ts +15 -0
- package/lib/modules/action-bar/waiting-scene/index.js +102 -0
- package/lib/modules/action-bar/waiting-scene/store.base.d.ts +9 -0
- package/lib/{shared-data-source/annotation-data.js → modules/action-bar/waiting-scene/store.base.js} +20 -35
- package/lib/modules/action-bar/waiting-scene/store.browser.d.ts +3 -0
- package/lib/modules/action-bar/waiting-scene/store.browser.js +25 -0
- package/lib/modules/action-bar/waiting-scene/store.d.ts +6 -0
- package/lib/modules/action-bar/waiting-scene/store.electron.d.ts +9 -0
- package/lib/modules/action-bar/waiting-scene/store.electron.js +45 -0
- package/lib/modules/action-bar/waiting-scene/store.js +91 -0
- package/lib/modules/action-bar/waiting-scene/view.d.ts +2 -0
- package/lib/modules/action-bar/waiting-scene/view.js +123 -0
- package/lib/modules/audio-stream/index.d.ts +3 -14
- package/lib/modules/audio-stream/index.js +17 -14
- package/lib/modules/chat/chat-room-store.d.ts +7 -20
- package/lib/modules/chat/chat-room-store.js +21 -20
- package/lib/modules/chat/components/message-list/index.js +1 -1
- package/lib/modules/chat/components/message-list/message-item/index.js +2 -2
- package/lib/modules/chat/index.d.ts +6 -22
- package/lib/modules/chat/index.dev.js +9 -9
- package/lib/modules/chat/index.js +52 -108
- package/lib/modules/chat/store.d.ts +16 -30
- package/lib/modules/chat/store.js +138 -53
- package/lib/modules/chat/types.d.ts +19 -2
- package/lib/modules/chat/view.js +3 -3
- package/lib/modules/components/annotation-menu/index.js +1 -6
- package/lib/modules/components/control-bar/components/switch-theme/index.js +2 -2
- package/lib/modules/components/control-bar/index.css +19 -5
- package/lib/modules/components/control-bar/index.d.ts +18 -11
- package/lib/modules/components/control-bar/index.js +77 -22
- package/lib/modules/components/device-control/components/audio-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/carmera/index.js +16 -16
- package/lib/modules/components/device-control/components/microphone/index.d.ts +3 -2
- package/lib/modules/components/device-control/components/microphone/index.js +44 -28
- package/lib/modules/components/device-control/components/none-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/phone-menu/index.js +4 -4
- package/lib/modules/components/device-control/components/video-menu/index.js +4 -4
- package/lib/modules/components/device-control/main-scene/store.d.ts +9 -0
- package/lib/modules/components/device-control/main-scene/store.js +94 -0
- package/lib/modules/components/device-control/{store.d.ts → store.base.d.ts} +12 -15
- package/lib/modules/components/device-control/{store.js → store.base.js} +39 -33
- package/lib/modules/components/device-control/type.d.ts +4 -0
- package/lib/modules/components/device-control/waiting-scene/store.d.ts +5 -0
- package/lib/modules/components/device-control/waiting-scene/store.js +90 -0
- package/lib/modules/components/leave-meeting/components/assign-host.d.ts +1 -1
- package/lib/modules/components/leave-meeting/index.js +7 -11
- package/lib/modules/components/leave-meeting/main-scene/store.d.ts +11 -0
- package/lib/modules/components/leave-meeting/main-scene/store.js +101 -0
- package/lib/modules/components/leave-meeting/store.base.d.ts +35 -0
- package/lib/modules/components/leave-meeting/{store.js → store.base.js} +47 -42
- package/lib/modules/components/leave-meeting/type.d.ts +4 -0
- package/lib/modules/components/leave-meeting/type.js +6 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.d.ts +9 -0
- package/lib/modules/components/leave-meeting/waiting-scene/store.js +90 -0
- package/lib/modules/components/member-window/components/member-actions/components/more-actions.js +4 -4
- package/lib/modules/components/member-window/components/member-actions/index.js +2 -0
- package/lib/modules/components/member-window/components/member-actions/libs/index.js +12 -14
- package/lib/modules/components/member-window/components/member-actions/provider.d.ts +1 -0
- package/lib/modules/components/member-window/components/member-actions/provider.js +14 -3
- package/lib/modules/components/member-window/components/member-actions/store.d.ts +17 -5
- package/lib/modules/components/member-window/components/member-actions/store.js +28 -10
- package/lib/modules/components/member-window/components/video-player/components/local-video-player-with-zoom.js +4 -5
- package/lib/modules/components/member-window/components/video-player/components/remote-video-player-with-zoom.js +1 -1
- package/lib/modules/components/member-window/types.d.ts +1 -0
- package/lib/modules/components/security-menu/index.d.ts +1 -9
- package/lib/modules/components/security-menu/index.js +42 -39
- package/lib/modules/components/security-menu/store.d.ts +47 -0
- package/lib/modules/components/security-menu/store.js +332 -0
- package/lib/modules/components/security-menu/type.d.ts +4 -0
- package/lib/modules/components/security-menu/type.js +6 -0
- package/lib/modules/components/tab-frame/index.js +6 -21
- package/lib/modules/components/toolbar/components/capture-tool/index.d.ts +1 -0
- package/lib/modules/components/toolbar/components/capture-tool/index.js +3 -4
- package/lib/modules/components/toolbar/components/color-tool/index.d.ts +2 -1
- package/lib/modules/components/toolbar/components/graphic-tool/index.js +0 -2
- package/lib/modules/components/toolbar/components/multiple-color-tool/index.d.ts +2 -1
- package/lib/modules/components/toolbar/components/multiple-color-tool/index.js +1 -1
- package/lib/modules/components/toolbar/components/vertical-frame/index.js +9 -5
- package/lib/modules/components/toolbar/hooks/use-resize-visible.js +2 -2
- package/lib/modules/components/toolbar/index.d.ts +3 -1
- package/lib/modules/components/toolbar/index.js +5 -3
- package/lib/modules/connection-gateway/index.d.ts +3 -18
- package/lib/modules/connection-gateway/index.js +25 -28
- package/lib/modules/connection-gateway/store.d.ts +4 -20
- package/lib/modules/connection-gateway/store.js +19 -21
- package/lib/modules/connection-gateway/types.d.ts +4 -0
- package/lib/modules/control-bar/components/boundary-detector.d.ts +6 -0
- package/lib/modules/control-bar/components/boundary-detector.js +36 -0
- package/lib/modules/control-bar/components/carmera/index.d.ts +1 -0
- package/lib/modules/control-bar/components/carmera/index.js +147 -0
- package/lib/modules/control-bar/components/meeting-details/index.js +7 -17
- package/lib/modules/control-bar/components/microphone/index.d.ts +6 -0
- package/lib/modules/control-bar/components/microphone/index.js +233 -0
- package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -1
- package/lib/modules/control-bar/components/more-actions/index.js +22 -59
- package/lib/modules/control-bar/components/share-audio/index.d.ts +0 -2
- package/lib/modules/control-bar/components/share-audio/index.js +6 -24
- package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -1
- package/lib/modules/control-bar/components/share-state-nav/index.js +9 -5
- package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -1
- package/lib/modules/control-bar/context.d.ts +5 -0
- package/lib/modules/control-bar/context.js +12 -0
- package/lib/modules/control-bar/enums.d.ts +3 -1
- package/lib/modules/control-bar/enums.js +2 -0
- package/lib/modules/control-bar/hooks.d.ts +3 -0
- package/lib/modules/control-bar/hooks.js +35 -0
- package/lib/modules/control-bar/index.d.ts +21 -49
- package/lib/modules/control-bar/index.dev.js +40 -0
- package/lib/modules/control-bar/index.js +99 -45
- package/lib/modules/control-bar/reactor.d.ts +2 -0
- package/lib/modules/control-bar/reactor.js +8 -0
- package/lib/modules/control-bar/store.d.ts +57 -117
- package/lib/modules/control-bar/store.js +351 -456
- package/lib/modules/control-bar/type.d.ts +43 -0
- package/lib/modules/control-bar/type.js +6 -0
- package/lib/modules/control-bar/types.d.ts +16 -5
- package/lib/modules/control-bar/view.d.ts +1 -5
- package/lib/modules/control-bar/view.js +558 -463
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +1 -1
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +3 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +1 -1
- package/lib/modules/device-pretest/index.d.ts +0 -1
- package/lib/modules/device-pretest/index.js +3 -4
- package/lib/modules/device-pretest/settings/beauty.d.ts +1 -1
- package/lib/modules/device-pretest/settings/beauty.js +3 -3
- package/lib/modules/device-pretest/settings/video-effect.js +1 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +1 -1
- package/lib/modules/device-pretest/store.d.ts +3 -2
- package/lib/modules/dialog/components/confirm/index.d.ts +5 -0
- package/lib/modules/dialog/components/confirm/index.js +180 -0
- package/lib/modules/dialog/components/dialog-container/component/body.d.ts +10 -8
- package/lib/modules/dialog/components/dialog-container/component/body.js +40 -26
- package/lib/modules/dialog/components/dialog-container/index.css +3 -0
- package/lib/modules/dialog/components/dialog-container/index.d.ts +5 -7
- package/lib/modules/dialog/components/dialog-container/index.js +42 -62
- package/lib/modules/dialog/components/host-area-container/index.d.ts +1 -1
- package/lib/modules/dialog/components/host-area-container/index.js +142 -200
- package/lib/modules/dialog/components/normal-window/index.d.ts +17 -14
- package/lib/modules/dialog/components/normal-window/index.js +40 -57
- package/lib/modules/dialog/dialogs/annotation-tool/index.d.ts +6 -3
- package/lib/modules/dialog/dialogs/annotation-tool/index.js +18 -19
- package/lib/modules/dialog/dialogs/chat/components/actions.d.ts +3 -1
- package/lib/modules/dialog/dialogs/chat/components/actions.js +17 -7
- package/lib/modules/dialog/dialogs/chat/index.d.ts +27 -4
- package/lib/modules/dialog/dialogs/chat/index.js +51 -30
- package/lib/modules/dialog/dialogs/confirm/index.css +24 -0
- package/lib/modules/dialog/dialogs/confirm/index.d.ts +22 -1
- package/lib/modules/dialog/dialogs/confirm/index.js +49 -33
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.d.ts +18 -6
- package/lib/modules/dialog/dialogs/confirm-leave-meeting/index.js +25 -43
- package/lib/modules/dialog/dialogs/connection-gateway/index.d.ts +24 -8
- package/lib/modules/dialog/dialogs/connection-gateway/index.js +36 -43
- package/lib/modules/dialog/dialogs/connection-gateway/tabs.js +17 -15
- package/lib/modules/dialog/dialogs/control-bar/index.d.ts +21 -8
- package/lib/modules/dialog/dialogs/control-bar/index.js +19 -114
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.d.ts +19 -0
- package/lib/modules/dialog/dialogs/control-bar-leave-meeting/index.js +41 -0
- package/lib/modules/dialog/dialogs/device-setting/index.d.ts +15 -1
- package/lib/modules/dialog/dialogs/device-setting/index.js +27 -27
- package/lib/modules/dialog/dialogs/end-meeting/index.d.ts +10 -10
- package/lib/modules/dialog/dialogs/end-meeting/index.js +35 -26
- package/lib/modules/dialog/dialogs/interpreter/index.d.ts +18 -3
- package/lib/modules/dialog/dialogs/interpreter/index.js +33 -31
- package/lib/modules/dialog/dialogs/invite/index.d.ts +21 -1
- package/lib/modules/dialog/dialogs/invite/index.js +42 -43
- package/lib/modules/dialog/dialogs/live-streaming/index.d.ts +12 -1
- package/lib/modules/dialog/dialogs/live-streaming/index.js +23 -22
- package/lib/modules/dialog/dialogs/mute-all/index.css +20 -0
- package/lib/modules/dialog/dialogs/mute-all/index.d.ts +19 -0
- package/lib/modules/dialog/dialogs/mute-all/index.js +48 -0
- package/lib/modules/dialog/dialogs/participant/components/actions.d.ts +3 -1
- package/lib/modules/dialog/dialogs/participant/components/actions.js +6 -8
- package/lib/modules/dialog/dialogs/participant/components/title.d.ts +6 -1
- package/lib/modules/dialog/dialogs/participant/components/title.js +4 -7
- package/lib/modules/dialog/dialogs/participant/index.d.ts +26 -2
- package/lib/modules/dialog/dialogs/participant/index.js +41 -41
- package/lib/modules/dialog/dialogs/pre-setting/index.d.ts +3 -3
- package/lib/modules/dialog/dialogs/pre-setting/index.js +20 -25
- package/lib/modules/dialog/dialogs/rename/index.d.ts +18 -3
- package/lib/modules/dialog/dialogs/rename/index.js +29 -14
- package/lib/modules/dialog/dialogs/sample-dialog/index.d.ts +21 -0
- package/lib/modules/dialog/dialogs/sample-dialog/index.js +55 -0
- package/lib/modules/dialog/dialogs/share-screen-selection/index.d.ts +19 -4
- package/lib/modules/dialog/dialogs/share-screen-selection/index.js +40 -33
- package/lib/modules/dialog/dialogs/sub-window/index.d.ts +21 -1
- package/lib/modules/dialog/dialogs/sub-window/index.js +33 -91
- package/lib/modules/dialog/dialogs/system-preference/electron.js +15 -16
- package/lib/modules/dialog/dialogs/system-preference/index.css +2 -2
- package/lib/modules/dialog/dialogs/system-preference/index.d.ts +32 -5
- package/lib/modules/dialog/dialogs/system-preference/index.js +55 -46
- package/lib/modules/dialog/dialogs/toast/index.d.ts +21 -3
- package/lib/modules/dialog/dialogs/toast/index.js +17 -40
- package/lib/modules/dialog/dialogs/video-window/index.d.ts +26 -2
- package/lib/modules/dialog/dialogs/video-window/index.js +47 -261
- package/lib/modules/dialog/dialogs/whiteboard/index.d.ts +23 -4
- package/lib/modules/dialog/dialogs/whiteboard/index.js +58 -64
- package/lib/modules/dialog/dialogs/widget/index.d.ts +16 -6
- package/lib/modules/dialog/dialogs/widget/index.js +26 -28
- package/lib/modules/dialog/hooks/use-popover-watcher.js +3 -1
- package/lib/modules/dialog/index.css +4 -1
- package/lib/modules/dialog/index.d.ts +5 -46
- package/lib/modules/dialog/index.js +29 -74
- package/lib/modules/dialog/level-config.d.ts +10 -11
- package/lib/modules/dialog/level-config.js +11 -15
- package/lib/modules/dialog/store.base.d.ts +44 -0
- package/lib/modules/dialog/store.base.js +279 -0
- package/lib/modules/dialog/store.browser.d.ts +16 -0
- package/lib/modules/dialog/store.browser.js +136 -0
- package/lib/modules/dialog/store.electron.d.ts +28 -0
- package/lib/modules/dialog/store.electron.js +239 -0
- package/lib/modules/dialog/type.d.ts +13 -11
- package/lib/modules/dialog/view.d.ts +1 -1
- package/lib/modules/dialog/view.js +10 -12
- package/lib/modules/event-sound/index.d.ts +3 -37
- package/lib/modules/event-sound/index.js +18 -273
- package/lib/modules/event-sound/store.d.ts +36 -0
- package/lib/modules/event-sound/store.js +283 -0
- package/lib/modules/event-sound/type.d.ts +4 -0
- package/lib/modules/event-sound/type.js +6 -0
- package/lib/modules/event-toast/index.d.ts +5 -6
- package/lib/modules/event-toast/index.js +40 -24
- package/lib/modules/event-toast/store.base.d.ts +18 -0
- package/lib/modules/event-toast/store.base.js +180 -0
- package/lib/modules/event-toast/store.browser.d.ts +4 -0
- package/lib/modules/event-toast/store.browser.js +30 -0
- package/lib/modules/event-toast/store.d.ts +5 -9
- package/lib/modules/event-toast/store.electron.d.ts +15 -0
- package/lib/modules/event-toast/store.electron.js +134 -0
- package/lib/modules/event-toast/store.js +39 -57
- package/lib/modules/event-toast/type.d.ts +10 -0
- package/lib/modules/event-toast/type.js +6 -0
- package/lib/modules/event-toast/view.js +13 -9
- package/lib/modules/interpreter/index.css +4 -0
- package/lib/modules/interpreter/index.d.ts +3 -15
- package/lib/modules/interpreter/index.js +18 -16
- package/lib/modules/interpreter/store.d.ts +10 -16
- package/lib/modules/interpreter/store.js +20 -49
- package/lib/modules/interpreter/type.d.ts +3 -15
- package/lib/modules/interpreter/view.d.ts +1 -0
- package/lib/modules/interpreter/view.js +4 -19
- package/lib/modules/invite/components/pstn-invite.js +2 -2
- package/lib/modules/invite/index.d.ts +3 -10
- package/lib/modules/invite/index.js +25 -12
- package/lib/modules/invite/store.d.ts +17 -30
- package/lib/modules/invite/store.js +65 -79
- package/lib/modules/invite/types.d.ts +5 -1
- package/lib/modules/layout/components/Aside.js +1 -1
- package/lib/modules/layout/components/Carousel.js +1 -1
- package/lib/modules/layout/components/CommonVideoRenderer.js +40 -5
- package/lib/modules/layout/components/Gallery.js +1 -1
- package/lib/modules/layout/components/who-is-speaking.js +1 -1
- package/lib/modules/layout/index.d.ts +3 -39
- package/lib/modules/layout/index.dev.js +8 -8
- package/lib/modules/layout/index.js +32 -45
- package/lib/modules/layout/{store.d.ts → store.base.d.ts} +31 -24
- package/lib/modules/layout/{store.js → store.base.js} +65 -137
- package/lib/modules/layout/store.browser.d.ts +11 -0
- package/lib/modules/layout/store.browser.js +56 -0
- package/lib/modules/layout/store.electron.d.ts +16 -0
- package/lib/modules/layout/store.electron.js +177 -0
- package/lib/modules/layout/type.d.ts +3 -39
- package/lib/modules/layout/view.js +1 -1
- package/lib/modules/live-streaming/index.d.ts +2 -15
- package/lib/modules/live-streaming/index.dev.js +3 -3
- package/lib/modules/live-streaming/index.js +25 -12
- package/lib/modules/live-streaming/store.d.ts +6 -18
- package/lib/modules/live-streaming/store.js +22 -26
- package/lib/modules/live-streaming/type.d.ts +4 -0
- package/lib/modules/live-streaming/type.js +6 -0
- package/lib/modules/notification/index.d.ts +3 -7
- package/lib/modules/notification/index.js +26 -16
- package/lib/modules/notification/store.d.ts +11 -6
- package/lib/modules/notification/store.js +51 -11
- package/lib/modules/notification/type.d.ts +4 -0
- package/lib/modules/notification/type.js +6 -0
- package/lib/modules/notification/view.d.ts +6 -6
- package/lib/modules/notification/view.js +23 -32
- package/lib/modules/offscreen-pulling/index.js +1 -1
- package/lib/modules/participant/components/confirm-input/index.js +4 -3
- package/lib/modules/participant/components/mute-all/index.d.ts +1 -4
- package/lib/modules/participant/components/mute-all/index.js +32 -11
- package/lib/modules/participant/components/participants/components/footer/components/drop-menu/index.js +1 -1
- package/lib/modules/participant/components/participants/components/footer/components/footer/index.js +3 -2
- package/lib/modules/participant/components/participants/components/footer/index.js +5 -3
- package/lib/modules/participant/components/participants/components/merge/index.d.ts +1 -2
- package/lib/modules/participant/components/participants/components/merge/index.js +1 -3
- package/lib/modules/participant/components/participants/components/render-tab/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/interpreter-tag/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/components/microphone-indicator/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/attendee/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/components/move-actions-popover/index.js +1 -1
- package/lib/modules/participant/components/participants/components/render-user/components/user-action/index.js +5 -4
- package/lib/modules/participant/components/participants/index.js +17 -37
- package/lib/modules/participant/components/participants/types.d.ts +1 -0
- package/lib/modules/participant/index.css +4 -0
- package/lib/modules/participant/index.d.ts +6 -47
- package/lib/modules/participant/index.dev.js +9 -9
- package/lib/modules/participant/index.js +60 -56
- package/lib/modules/participant/member-list-data-source.d.ts +2 -1
- package/lib/modules/participant/member-list-data-source.js +14 -14
- package/lib/modules/participant/store.base.d.ts +407 -0
- package/lib/modules/participant/store.base.js +2212 -0
- package/lib/modules/participant/store.browser.d.ts +9 -0
- package/lib/modules/participant/store.browser.js +122 -0
- package/lib/modules/participant/store.electron.d.ts +13 -0
- package/lib/modules/participant/store.electron.js +128 -0
- package/lib/modules/participant/struct.d.ts +49 -0
- package/lib/modules/participant/struct.js +60 -0
- package/lib/modules/participant/type.d.ts +5 -22
- package/lib/modules/participant/type.js +1 -25
- package/lib/modules/participant/view.js +1 -1
- package/lib/modules/pc-audio-connect/main-scene/index.d.ts +14 -0
- package/lib/modules/pc-audio-connect/{index.js → main-scene/index.js} +38 -19
- package/lib/modules/pc-audio-connect/main-scene/store.d.ts +33 -0
- package/lib/modules/pc-audio-connect/main-scene/store.js +312 -0
- package/lib/modules/pc-audio-connect/types.d.ts +4 -0
- package/lib/modules/pc-audio-connect/types.js +6 -1
- package/lib/modules/pc-audio-connect/view.js +2 -1
- package/lib/modules/pc-audio-connect/waiting-scene/index.d.ts +10 -0
- package/lib/modules/pc-audio-connect/waiting-scene/index.js +69 -0
- package/lib/modules/pc-audio-connect/waiting-scene/store.d.ts +30 -0
- package/lib/modules/pc-audio-connect/{store.js → waiting-scene/store.js} +38 -47
- package/lib/modules/phone-audio-connect/index.d.ts +2 -10
- package/lib/modules/phone-audio-connect/index.js +16 -9
- package/lib/modules/phone-audio-connect/store.d.ts +2 -11
- package/lib/modules/phone-audio-connect/store.js +12 -13
- package/lib/modules/phone-audio-connect/types.d.ts +4 -0
- package/lib/modules/secondary-window/index.d.ts +8 -29
- package/lib/modules/secondary-window/index.js +51 -9
- package/lib/modules/secondary-window/store.d.ts +26 -24
- package/lib/modules/secondary-window/store.js +166 -64
- package/lib/modules/secondary-window/type.d.ts +4 -0
- package/lib/modules/secondary-window/view.js +105 -72
- package/lib/modules/setting/audio-settings/audio-settings.js +8 -2
- package/lib/modules/setting/general-settings/general-settings.js +16 -11
- package/lib/modules/setting/index.d.ts +8 -27
- package/lib/modules/setting/index.dev.js +10 -10
- package/lib/modules/setting/index.js +57 -30
- package/lib/modules/setting/minutes-settings/minutes-settings.js +1 -1
- package/lib/modules/setting/state/index.js +2 -2
- package/lib/modules/setting/storage-settings/storage-settings.js +3 -14
- package/lib/modules/setting/{store.d.ts → store.base.d.ts} +28 -91
- package/lib/modules/setting/{store.js → store.base.js} +244 -266
- package/lib/modules/setting/store.browser.d.ts +7 -0
- package/lib/modules/setting/store.browser.js +55 -0
- package/lib/modules/setting/store.electron.d.ts +9 -0
- package/lib/modules/setting/store.electron.js +69 -0
- package/lib/modules/setting/translate-settings/translate-settings.js +2 -2
- package/lib/modules/setting/type.d.ts +69 -0
- package/lib/modules/setting/type.js +26 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +2 -2
- package/lib/modules/setting/video-settings/video-settings.d.ts +0 -2
- package/lib/modules/setting/video-settings/video-settings.js +9 -10
- package/lib/modules/setting/view.d.ts +0 -8
- package/lib/modules/setting/view.js +12 -27
- package/lib/modules/share-screen/components/control-bar/index.js +87 -81
- package/lib/modules/share-screen/components/selection/index.css +2 -3
- package/lib/modules/share-screen/components/selection/index.js +178 -202
- package/lib/modules/share-screen/index.d.ts +16 -30
- package/lib/modules/share-screen/index.dev.js +11 -11
- package/lib/modules/share-screen/index.js +47 -35
- package/lib/modules/share-screen/store.base.d.ts +49 -0
- package/lib/modules/share-screen/store.base.js +455 -0
- package/lib/modules/share-screen/store.browser.d.ts +9 -0
- package/lib/modules/share-screen/store.browser.js +43 -0
- package/lib/modules/share-screen/store.electron.d.ts +25 -0
- package/lib/modules/share-screen/store.electron.js +265 -0
- package/lib/modules/share-screen/type.d.ts +40 -0
- package/lib/modules/share-screen/type.js +13 -0
- package/lib/modules/share-screen/view.js +5 -6
- package/lib/modules/state-bar/index.d.ts +6 -35
- package/lib/modules/state-bar/index.dev.js +7 -7
- package/lib/modules/state-bar/index.js +18 -48
- package/lib/modules/state-bar/layout-config.js +5 -4
- package/lib/modules/state-bar/live-streaming-state.js +6 -5
- package/lib/modules/state-bar/main-scene/index.d.ts +5 -0
- package/lib/modules/state-bar/main-scene/index.js +47 -0
- package/lib/modules/state-bar/main-scene/store.base.d.ts +23 -0
- package/lib/modules/state-bar/main-scene/store.base.js +132 -0
- package/lib/modules/state-bar/main-scene/store.browser.d.ts +4 -0
- package/lib/modules/state-bar/main-scene/store.browser.js +86 -0
- package/lib/modules/state-bar/main-scene/store.electron.d.ts +13 -0
- package/lib/modules/state-bar/main-scene/store.electron.js +113 -0
- package/lib/modules/state-bar/meeting-details.js +20 -36
- package/lib/modules/state-bar/meeting-network-state.js +3 -3
- package/lib/modules/state-bar/meeting-time.js +1 -1
- package/lib/modules/state-bar/network-quality.js +1 -1
- package/lib/modules/state-bar/recording.js +7 -6
- package/lib/modules/state-bar/store.base.d.ts +82 -0
- package/lib/modules/state-bar/store.base.electron.d.ts +15 -0
- package/lib/modules/state-bar/store.base.electron.js +110 -0
- package/lib/modules/state-bar/{store.js → store.base.js} +140 -208
- package/lib/modules/state-bar/type.d.ts +5 -0
- package/lib/modules/state-bar/type.js +6 -0
- package/lib/modules/state-bar/view.js +36 -38
- package/lib/modules/state-bar/waiting-scene/index.d.ts +5 -0
- package/lib/modules/state-bar/waiting-scene/index.js +47 -0
- package/lib/modules/state-bar/waiting-scene/store.base.d.ts +11 -0
- package/lib/modules/state-bar/waiting-scene/store.base.js +50 -0
- package/lib/modules/state-bar/waiting-scene/store.browser.d.ts +4 -0
- package/lib/modules/state-bar/waiting-scene/store.browser.js +86 -0
- package/lib/modules/state-bar/waiting-scene/store.electron.d.ts +12 -0
- package/lib/modules/state-bar/waiting-scene/store.electron.js +105 -0
- package/lib/modules/video-window/components/members/index.js +3 -5
- package/lib/modules/video-window/index.d.ts +6 -38
- package/lib/modules/video-window/index.js +46 -56
- package/lib/modules/video-window/popover-watcher.d.ts +17 -0
- package/lib/modules/video-window/popover-watcher.js +70 -0
- package/lib/modules/video-window/store.d.ts +21 -21
- package/lib/modules/video-window/store.js +133 -137
- package/lib/modules/video-window/type.d.ts +3 -27
- package/lib/modules/video-window/view.js +9 -7
- package/lib/modules/waiting-room-layout/index.d.ts +3 -9
- package/lib/modules/waiting-room-layout/index.js +28 -21
- package/lib/modules/waiting-room-layout/store.d.ts +4 -10
- package/lib/modules/waiting-room-layout/store.js +10 -7
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +6 -14
- package/lib/modules/whiteboard/components/control-bar/store.js +29 -31
- package/lib/modules/whiteboard/components/loading/index.d.ts +7 -1
- package/lib/modules/whiteboard/components/loading/index.js +6 -9
- package/lib/modules/whiteboard/components/multi-window/index.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +1 -6
- package/lib/modules/whiteboard/components/toolbar/store.js +4 -13
- package/lib/modules/whiteboard/index.d.ts +3 -91
- package/lib/modules/whiteboard/index.js +23 -812
- package/lib/modules/whiteboard/libs/theme.d.ts +4 -0
- package/lib/modules/whiteboard/libs/theme.js +31 -0
- package/lib/modules/whiteboard/store.browser.d.ts +5 -0
- package/lib/modules/whiteboard/store.browser.js +28 -0
- package/lib/modules/whiteboard/store.d.ts +64 -0
- package/lib/modules/whiteboard/store.electron.d.ts +10 -0
- package/lib/modules/whiteboard/store.electron.js +135 -0
- package/lib/modules/whiteboard/store.js +422 -0
- package/lib/modules/whiteboard/style.css +2 -12
- package/lib/modules/whiteboard/type.d.ts +4 -0
- package/lib/modules/whiteboard/view.js +87 -42
- package/lib/modules/widget/index.css +7 -15
- package/lib/modules/widget/index.d.ts +3 -3
- package/lib/modules/widget/index.js +22 -14
- package/lib/modules/widget/sdk.js +1 -1
- package/lib/modules/widget/store.base.d.ts +14 -0
- package/lib/modules/widget/store.base.js +30 -0
- package/lib/modules/widget/store.browser.d.ts +5 -0
- package/lib/modules/widget/store.browser.js +25 -0
- package/lib/modules/widget/store.d.ts +8 -5
- package/lib/modules/widget/store.electron.d.ts +11 -0
- package/lib/modules/widget/store.electron.js +72 -0
- package/lib/modules/widget/store.js +47 -4
- package/lib/modules/widget/type.d.ts +7 -7
- package/lib/modules/widget/view.d.ts +1 -0
- package/lib/modules/widget/view.js +17 -16
- package/lib/modules/widget/web-widget.d.ts +4 -4
- package/lib/modules/widget/web-widget.js +30 -40
- package/lib/object-manager.d.ts +78 -4
- package/lib/object-manager.js +134 -10
- package/lib/plugins/browser-runtime-plugin.js +1 -110
- package/lib/plugins/css-preset-plugin.js +0 -2
- package/lib/plugins/module-dev-plugin.js +62 -81
- package/lib/providers/ability-provider.d.ts +9 -1
- package/lib/providers/ability-provider.js +51 -49
- package/lib/providers/annotation/provider.d.ts +15 -0
- package/lib/providers/annotation/provider.js +69 -0
- package/lib/providers/annotation/type.d.ts +60 -0
- package/lib/providers/annotation/type.js +6 -0
- package/lib/providers/app-list-provider.d.ts +8 -6
- package/lib/providers/app-list-provider.js +17 -15
- package/lib/providers/board-share/bar-control/base.d.ts +47 -0
- package/lib/providers/board-share/bar-control/base.js +306 -0
- package/lib/providers/board-share/bar-control/browser.d.ts +10 -0
- package/lib/providers/board-share/bar-control/browser.js +42 -0
- package/lib/providers/board-share/bar-control/electron.d.ts +29 -0
- package/lib/providers/board-share/bar-control/electron.js +202 -0
- package/lib/providers/board-share/bar-control.d.ts +51 -0
- package/lib/providers/board-share/bar-control.js +390 -0
- package/lib/providers/board-share/provider.base.d.ts +56 -0
- package/lib/providers/board-share/provider.base.js +384 -0
- package/lib/providers/board-share/provider.browser.d.ts +15 -0
- package/lib/providers/board-share/provider.browser.js +136 -0
- package/lib/providers/board-share/provider.d.ts +66 -0
- package/lib/providers/board-share/provider.electron.d.ts +22 -0
- package/lib/providers/board-share/provider.electron.js +163 -0
- package/lib/providers/board-share/provider.js +456 -0
- package/lib/providers/board-share/struct.d.ts +14 -0
- package/lib/providers/board-share/struct.js +23 -0
- package/lib/providers/board-share/type.d.ts +161 -0
- package/lib/providers/board-share/type.js +6 -0
- package/lib/providers/chat-provider.d.ts +8 -2
- package/lib/providers/chat-provider.js +26 -12
- package/lib/providers/device-privilege-provider.d.ts +3 -2
- package/lib/providers/device-privilege-provider.js +1 -3
- package/lib/providers/device-provider.d.ts +25 -8
- package/lib/providers/device-provider.js +234 -128
- package/lib/providers/device-stream-provider.d.ts +6 -6
- package/lib/providers/device-stream-provider.js +31 -36
- package/lib/providers/dialog/provider.base.d.ts +42 -0
- package/lib/providers/dialog/provider.base.js +289 -0
- package/lib/providers/dialog/provider.browser.d.ts +15 -0
- package/lib/{modules/annotation/index.js → providers/dialog/provider.browser.js} +84 -90
- package/lib/providers/dialog/provider.electron.d.ts +13 -0
- package/lib/providers/dialog/provider.electron.js +177 -0
- package/lib/providers/dialog/type.d.ts +161 -0
- package/lib/providers/dialog/type.js +15 -0
- package/lib/providers/event-provider.d.ts +3 -67
- package/lib/providers/event-provider.js +4 -229
- package/lib/providers/facility/provider.base.d.ts +31 -0
- package/lib/providers/facility/provider.base.js +159 -0
- package/lib/providers/facility/provider.browser.d.ts +14 -0
- package/lib/providers/facility/provider.browser.js +75 -0
- package/lib/providers/facility/provider.electron.d.ts +17 -0
- package/lib/providers/facility/provider.electron.js +91 -0
- package/lib/providers/facility/struct.d.ts +5 -0
- package/lib/providers/facility/struct.js +13 -0
- package/lib/providers/facility/type.d.ts +36 -0
- package/lib/providers/facility/type.js +6 -0
- package/lib/providers/interpreter-provider.d.ts +4 -3
- package/lib/providers/interpreter-provider.js +2 -4
- package/lib/providers/local-storage-provider.d.ts +8 -1
- package/lib/providers/local-storage-provider.js +4 -3
- package/lib/providers/message/provider.d.ts +14 -0
- package/lib/providers/{message-provider.js → message/provider.js} +16 -52
- package/lib/providers/message/struct.d.ts +4 -0
- package/lib/providers/message/struct.js +12 -0
- package/lib/providers/{message-provider.d.ts → message/type.d.ts} +9 -27
- package/lib/providers/message/type.js +6 -0
- package/lib/providers/monitor-provider.d.ts +3 -1
- package/lib/providers/monitor-provider.js +4 -3
- package/lib/providers/mouse-detect/provider.d.ts +21 -0
- package/lib/providers/mouse-detect/provider.js +205 -0
- package/lib/providers/mouse-detect/struct.d.ts +3 -0
- package/lib/providers/mouse-detect/struct.js +11 -0
- package/lib/providers/mouse-detect/type.d.ts +12 -0
- package/lib/providers/mouse-detect/type.js +6 -0
- package/lib/providers/multi-display-provider.d.ts +27 -19
- package/lib/providers/multi-display-provider.js +127 -101
- package/lib/providers/phone-audio-provider.d.ts +3 -2
- package/lib/providers/phone-audio-provider.js +16 -16
- package/lib/providers/privilege-provider.d.ts +2 -1
- package/lib/providers/privilege-provider.js +9 -9
- package/lib/providers/renderer-provider.d.ts +20 -10
- package/lib/providers/renderer-provider.js +91 -31
- package/lib/providers/{room-provider.d.ts → room-provider/room-provider.d.ts} +18 -47
- package/lib/providers/{room-provider.js → room-provider/room-provider.js} +29 -197
- package/lib/{waiting-room-control-manager.d.ts → providers/room-provider/waiting-room-control-manager.d.ts} +1 -1
- package/lib/{waiting-room-control-manager.js → providers/room-provider/waiting-room-control-manager.js} +1 -1
- package/lib/providers/screen-share/provider.base.d.ts +95 -0
- package/lib/providers/screen-share/provider.base.js +533 -0
- package/lib/providers/screen-share/provider.browser.d.ts +19 -0
- package/lib/providers/screen-share/provider.browser.js +292 -0
- package/lib/providers/screen-share/provider.d.ts +69 -0
- package/lib/providers/screen-share/provider.electron.d.ts +17 -0
- package/lib/providers/screen-share/provider.electron.js +425 -0
- package/lib/providers/screen-share/provider.js +615 -0
- package/lib/providers/screen-share/strategy/browser.d.ts +22 -0
- package/lib/providers/screen-share/strategy/browser.js +263 -0
- package/lib/providers/screen-share/strategy/electron.d.ts +22 -0
- package/lib/providers/screen-share/strategy/electron.js +289 -0
- package/lib/providers/screen-share/strategy/type.d.ts +33 -0
- package/lib/providers/screen-share/strategy/type.js +39 -0
- package/lib/providers/screen-share/stream-state-sync.d.ts +17 -0
- package/lib/providers/screen-share/stream-state-sync.js +214 -0
- package/lib/providers/screen-share/struct.d.ts +44 -0
- package/lib/providers/screen-share/struct.js +53 -0
- package/lib/providers/screen-share/type.d.ts +164 -0
- package/lib/providers/screen-share/type.js +6 -0
- package/lib/providers/session-provider.d.ts +3 -1
- package/lib/providers/session-provider.js +4 -3
- package/lib/providers/setting-storage/provider.base.d.ts +9 -0
- package/lib/providers/setting-storage/provider.base.js +14 -0
- package/lib/providers/setting-storage/provider.browser.d.ts +7 -0
- package/lib/providers/{user-setting-storage-provider.js → setting-storage/provider.browser.js} +23 -24
- package/lib/providers/setting-storage/provider.electron.d.ts +10 -0
- package/lib/providers/setting-storage/provider.electron.js +62 -0
- package/lib/providers/setting-storage/type.d.ts +18 -0
- package/lib/providers/setting-storage/type.js +6 -0
- package/lib/providers/whiteboard-provider.d.ts +4 -2
- package/lib/providers/whiteboard-provider.js +7 -4
- package/lib/providers/widget-provider.d.ts +9 -3
- package/lib/providers/widget-provider.js +11 -11
- package/lib/providers/window/browser-window-proxy.js +1 -0
- package/lib/providers/window/ipc-protocol.d.ts +0 -0
- package/lib/providers/window/ipc-protocol.js +1 -0
- package/lib/providers/window/main-process-handler.d.ts +0 -0
- package/lib/providers/window/main-process-handler.js +1 -0
- package/lib/providers/window/main-process-integration.d.ts +0 -0
- package/lib/providers/window/main-process-integration.js +1 -0
- package/lib/providers/window/main-window.d.ts +51 -0
- package/lib/providers/window/main-window.js +303 -0
- package/lib/providers/window/provider.d.ts +27 -0
- package/lib/providers/window/provider.js +164 -0
- package/lib/providers/window/renderer-window.d.ts +77 -0
- package/lib/providers/window/renderer-window.js +509 -0
- package/lib/providers/window/type.d.ts +122 -0
- package/lib/providers/window/type.js +6 -0
- package/lib/runtime.d.ts +84 -82
- package/lib/runtime.js +6 -0
- package/lib/scenes/main-scene.d.ts +4 -110
- package/lib/scenes/main-scene.js +435 -545
- package/lib/scenes/type.d.ts +7 -0
- package/lib/scenes/type.js +6 -0
- package/lib/scenes/waiting-scene.d.ts +2 -76
- package/lib/scenes/waiting-scene.js +58 -165
- package/lib/schema.d.ts +2 -2
- package/lib/shared-context/dialog-context.d.ts +13 -0
- package/lib/shared-context/dialog-context.js +10 -0
- package/lib/{utilities → shared-context}/video-track-render-context.js +1 -1
- package/lib/{shared-data-source → shared-data}/app-list-data.d.ts +6 -4
- package/lib/{shared-data-source → shared-data}/app-list-data.js +7 -4
- package/lib/{shared-data-source → shared-data}/chat-data.d.ts +4 -2
- package/lib/{shared-data-source → shared-data}/chat-data.js +11 -8
- package/lib/{shared-data-source → shared-data}/config.d.ts +8 -3
- package/lib/{shared-data-source → shared-data}/config.js +9 -3
- package/lib/{shared-data-source → shared-data}/confirm-data.d.ts +10 -9
- package/lib/{shared-data-source → shared-data}/confirm-data.js +10 -9
- package/lib/{shared-data-source → shared-data}/device-privilege-data.d.ts +3 -1
- package/lib/{shared-data-source → shared-data}/device-privilege-data.js +4 -3
- package/lib/{shared-data-source → shared-data}/interpreter.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/interpreter.js +16 -21
- package/lib/{shared-data-source → shared-data}/layout-data.d.ts +3 -1
- package/lib/{shared-data-source → shared-data}/layout-data.js +12 -9
- package/lib/{shared-data-source → shared-data}/meeting-time.d.ts +2 -6
- package/lib/{shared-data-source → shared-data}/meeting-time.js +12 -12
- package/lib/{shared-data-source → shared-data}/member-data.d.ts +8 -9
- package/lib/{shared-data-source → shared-data}/member-data.js +53 -29
- package/lib/{shared-data-source → shared-data}/pin-data.d.ts +6 -4
- package/lib/{shared-data-source → shared-data}/pin-data.js +14 -11
- package/lib/shared-data/screen-share/index.d.ts +26 -0
- package/lib/shared-data/screen-share/index.js +211 -0
- package/lib/shared-data/screen-share/type.d.ts +42 -0
- package/lib/shared-data/screen-share/type.js +6 -0
- package/lib/{shared-data-source → shared-data}/security-data.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/security-data.js +13 -13
- package/lib/{shared-data-source → shared-data}/setting.d.ts +5 -3
- package/lib/{shared-data-source → shared-data}/setting.js +8 -5
- package/lib/shared-data/speaker-spotlight.d.ts +7 -0
- package/lib/{shared-data-source → shared-data}/speaker-spotlight.js +10 -6
- package/lib/{shared-data-source → shared-data}/video-window.d.ts +3 -2
- package/lib/{shared-data-source → shared-data}/video-window.js +4 -3
- package/lib/{shared-data-source → shared-data}/waiting-room.d.ts +5 -5
- package/lib/{shared-data-source → shared-data}/waiting-room.js +10 -10
- package/lib/{shared-data-source → shared-data}/whiteboard-data.d.ts +2 -2
- package/lib/{shared-data-source → shared-data}/whiteboard-data.js +17 -23
- package/lib/translations/enUS.d.ts +16 -1
- package/lib/translations/enUS.js +22 -7
- package/lib/translations/zhCN.d.ts +16 -1
- package/lib/translations/zhCN.js +22 -7
- package/lib/type.d.ts +65 -79
- package/lib/type.js +16 -4
- package/lib/ui-manager.d.ts +6 -6
- package/lib/ui-manager.js +38 -10
- package/lib/ui-scene.d.ts +11 -39
- package/lib/ui-scene.js +161 -214
- package/lib/utilities/{screen.d.ts → browser-api.d.ts} +1 -0
- package/lib/utilities/{copyText.js → browser-api.js} +36 -1
- package/lib/utilities/constant.d.ts +65 -73
- package/lib/utilities/constant.js +66 -72
- package/lib/utilities/default-config.d.ts +14 -1
- package/lib/utilities/default-config.js +15 -1
- package/lib/utilities/dialog-utils.d.ts +8 -12
- package/lib/utilities/dialog-utils.js +63 -74
- package/lib/utilities/focus-helper.d.ts +2 -0
- package/lib/utilities/focus-helper.js +19 -0
- package/lib/utilities/ipc-protocol.d.ts +91 -0
- package/lib/utilities/ipc-protocol.js +61 -0
- package/lib/utilities/logger.js +7 -1
- package/lib/utilities/meeting-detail.d.ts +10 -1
- package/lib/utilities/meeting-detail.js +25 -3
- package/lib/utilities/platform.d.ts +1 -0
- package/lib/utilities/platform.js +4 -1
- package/lib/utilities/renderer.d.ts +74 -17
- package/lib/utilities/renderer.js +412 -78
- package/package.json +6 -6
- package/public/index.html +38 -19
- package/lib/modules/action-bar/index.dev.js +0 -94
- package/lib/modules/annotation/annotation-index.d.ts +0 -2
- package/lib/modules/annotation/annotation-index.js +0 -80
- package/lib/modules/annotation/annotation-toolbar-store.d.ts +0 -75
- package/lib/modules/annotation/annotation-toolbar-store.js +0 -459
- package/lib/modules/annotation/board-cursor.css +0 -77
- package/lib/modules/annotation/components/color-picker/components/color.d.ts +0 -5
- package/lib/modules/annotation/components/color-picker/components/color.js +0 -38
- package/lib/modules/annotation/components/color-picker/components/panel.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/panel.js +0 -109
- package/lib/modules/annotation/components/color-picker/components/picker.d.ts +0 -1
- package/lib/modules/annotation/components/color-picker/components/picker.js +0 -75
- package/lib/modules/annotation/components/color-picker/index.d.ts +0 -2
- package/lib/modules/annotation/components/color-picker/index.js +0 -47
- package/lib/modules/annotation/components/eraser-picker.d.ts +0 -4
- package/lib/modules/annotation/components/eraser-picker.js +0 -144
- package/lib/modules/annotation/components/expansion/index.js +0 -100
- package/lib/modules/annotation/components/extra-tool-picker.d.ts +0 -1
- package/lib/modules/annotation/components/extra-tool-picker.js +0 -62
- package/lib/modules/annotation/components/history.d.ts +0 -2
- package/lib/modules/annotation/components/history.js +0 -78
- package/lib/modules/annotation/components/icons/fold-icon.d.ts +0 -2
- package/lib/modules/annotation/components/icons/fold-icon.js +0 -41
- package/lib/modules/annotation/components/icons/move-icon.d.ts +0 -1
- package/lib/modules/annotation/components/icons/move-icon.js +0 -66
- package/lib/modules/annotation/components/item/index.d.ts +0 -1
- package/lib/modules/annotation/components/item/index.js +0 -43
- package/lib/modules/annotation/components/move-handle.d.ts +0 -5
- package/lib/modules/annotation/components/move-handle.js +0 -134
- package/lib/modules/annotation/components/pen-picker.d.ts +0 -4
- package/lib/modules/annotation/components/pen-picker.js +0 -155
- package/lib/modules/annotation/components/screen-capture-picker.d.ts +0 -4
- package/lib/modules/annotation/components/screen-capture-picker.js +0 -85
- package/lib/modules/annotation/components/shape-picker.d.ts +0 -4
- package/lib/modules/annotation/components/shape-picker.js +0 -210
- package/lib/modules/annotation/hooks/index.d.ts +0 -14
- package/lib/modules/annotation/hooks/index.js +0 -292
- package/lib/modules/annotation/index.d.ts +0 -45
- package/lib/modules/annotation/store.d.ts +0 -98
- package/lib/modules/annotation/store.js +0 -620
- package/lib/modules/annotation/style.css +0 -36
- package/lib/modules/annotation/view.d.ts +0 -3
- package/lib/modules/annotation/view.js +0 -44
- package/lib/modules/components/leave-meeting/store.d.ts +0 -39
- package/lib/modules/control-bar/components/annotation-button/index.d.ts +0 -1
- package/lib/modules/control-bar/components/annotation-button/index.js +0 -72
- package/lib/modules/dialog/dialogs/widget/electron.d.ts +0 -6
- package/lib/modules/dialog/dialogs/widget/electron.js +0 -38
- package/lib/modules/dialog/hooks/useElectron.d.ts +0 -28
- package/lib/modules/dialog/hooks/useElectron.js +0 -277
- package/lib/modules/dialog/store.d.ts +0 -135
- package/lib/modules/dialog/store.js +0 -616
- package/lib/modules/event-confirm/components/window/index.d.ts +0 -7
- package/lib/modules/event-confirm/components/window/index.js +0 -221
- package/lib/modules/event-confirm/index.d.ts +0 -27
- package/lib/modules/event-confirm/index.js +0 -76
- package/lib/modules/event-confirm/store.d.ts +0 -50
- package/lib/modules/event-confirm/store.js +0 -394
- package/lib/modules/event-confirm/view.d.ts +0 -2
- package/lib/modules/event-confirm/view.js +0 -55
- package/lib/modules/participant/store.d.ts +0 -222
- package/lib/modules/participant/store.js +0 -1929
- package/lib/modules/pc-audio-connect/index.d.ts +0 -22
- package/lib/modules/pc-audio-connect/store.d.ts +0 -46
- package/lib/modules/setting/dialog-wrapper.d.ts +0 -2
- package/lib/modules/setting/dialog-wrapper.js +0 -110
- package/lib/modules/share-screen/store.d.ts +0 -148
- package/lib/modules/share-screen/store.js +0 -950
- package/lib/modules/share-screen/types.d.ts +0 -26
- package/lib/modules/state-bar/store.d.ts +0 -124
- package/lib/modules/whiteboard/components/progress/electron.d.ts +0 -1
- package/lib/modules/whiteboard/components/progress/electron.js +0 -33
- package/lib/providers/annotation-provider.d.ts +0 -124
- package/lib/providers/annotation-provider.js +0 -369
- package/lib/providers/dialog-provider.d.ts +0 -137
- package/lib/providers/dialog-provider.js +0 -194
- package/lib/providers/screen-share-provider.d.ts +0 -246
- package/lib/providers/screen-share-provider.js +0 -850
- package/lib/providers/sharing-provider.d.ts +0 -42
- package/lib/providers/sharing-provider.js +0 -228
- package/lib/providers/user-setting-storage-provider.d.ts +0 -21
- package/lib/shared-data-source/annotation-data.d.ts +0 -17
- package/lib/shared-data-source/screen-share-data.d.ts +0 -364
- package/lib/shared-data-source/screen-share-data.js +0 -520
- package/lib/shared-data-source/speaker-spotlight.d.ts +0 -5
- package/lib/utilities/copyText.d.ts +0 -2
- package/lib/utilities/renderer-event.d.ts +0 -10
- package/lib/utilities/renderer-event.js +0 -95
- package/lib/utilities/screen-capture-permission.d.ts +0 -2
- package/lib/utilities/screen-capture-permission.js +0 -24
- package/lib/utilities/screen.js +0 -53
- /package/lib/{modules/action-bar/types.js → creator/type.js} +0 -0
- /package/lib/modules/{share-screen/types.js → components/device-control/type.js} +0 -0
- /package/lib/modules/{annotation/components/expansion/index.d.ts → control-bar/index.dev.d.ts} +0 -0
- /package/lib/modules/{event-confirm → dialog/components/confirm}/index.css +0 -0
- /package/lib/{modules/action-bar/index.dev.d.ts → providers/window/browser-window-proxy.d.ts} +0 -0
- /package/lib/{utilities → shared-context}/board-context.d.ts +0 -0
- /package/lib/{utilities → shared-context}/board-context.js +0 -0
- /package/lib/{utilities → shared-context}/video-track-render-context.d.ts +0 -0
|
@@ -4,8 +4,6 @@ require("core-js/modules/es.symbol.js");
|
|
|
4
4
|
require("core-js/modules/es.symbol.description.js");
|
|
5
5
|
require("core-js/modules/es.symbol.iterator.js");
|
|
6
6
|
require("core-js/modules/es.symbol.to-primitive.js");
|
|
7
|
-
require("core-js/modules/es.error.cause.js");
|
|
8
|
-
require("core-js/modules/es.error.to-string.js");
|
|
9
7
|
require("core-js/modules/es.array.is-array.js");
|
|
10
8
|
require("core-js/modules/es.array.slice.js");
|
|
11
9
|
require("core-js/modules/es.date.to-primitive.js");
|
|
@@ -28,14 +26,7 @@ var _typeof = require("@babel/runtime/helpers/typeof");
|
|
|
28
26
|
Object.defineProperty(exports, "__esModule", {
|
|
29
27
|
value: true
|
|
30
28
|
});
|
|
31
|
-
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function get() {
|
|
34
|
-
return _localVideoPlayer.DEFAULT_BEAUTY_VALUE;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
exports["default"] = exports.StoreContext = exports.MeetingStatus = exports.DeviceSettingTab = void 0;
|
|
38
|
-
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
29
|
+
exports.StoreContext = exports.SettingStoreBase = void 0;
|
|
39
30
|
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
40
31
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
41
32
|
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
@@ -43,6 +34,8 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
43
34
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
44
35
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
45
36
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
37
|
+
require("core-js/modules/es.error.cause.js");
|
|
38
|
+
require("core-js/modules/es.error.to-string.js");
|
|
46
39
|
require("core-js/modules/es.array.concat.js");
|
|
47
40
|
require("core-js/modules/es.array.filter.js");
|
|
48
41
|
require("core-js/modules/es.array.find.js");
|
|
@@ -91,18 +84,17 @@ require("core-js/modules/web.timers.js");
|
|
|
91
84
|
var _fcrCore = require("fcr-core");
|
|
92
85
|
var _mobx = require("mobx");
|
|
93
86
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
94
|
-
var _constant = require("../../utilities/constant");
|
|
95
|
-
var _localVideoPlayer = require("agora-ui-foundation/lib/components/local-video-player");
|
|
96
87
|
var _schedule = require("agora-foundation/lib/schedule");
|
|
97
88
|
var _config = require("./config");
|
|
98
|
-
var _react = require("react");
|
|
99
89
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
100
90
|
var _deviceProvider = require("../../providers/device-provider");
|
|
101
91
|
var _logger = require("../../utilities/logger");
|
|
102
|
-
var _roomProvider = require("../../providers/room-provider");
|
|
103
|
-
var
|
|
104
|
-
var
|
|
105
|
-
var
|
|
92
|
+
var _roomProvider = require("../../providers/room-provider/room-provider");
|
|
93
|
+
var _type = require("./type");
|
|
94
|
+
var _objectManager = require("../../object-manager");
|
|
95
|
+
var _react = require("react");
|
|
96
|
+
var _SettingStoreBase;
|
|
97
|
+
var _initProto, _init_loudestStreamVolumeLevel, _init_microphoneVolumeLevel, _init_isWifiConnected, _init_dialogConfig, _init_networkState, _init_performanceState, _init_localAudioStreamMap, _init_remoteAudioStreamMap, _init_localVideoStreamMap, _init_remoteVideoStreamMap, _init_systemMemorySize, _init_systemCpuDesc, _init_getSystemInfoTimer, _init_isHiddenStateTab, _setDialogConfigDecs, _setSettingDecs, _clearGetSystemInfoIntervalDecs, _changeMediaSettingDecs, _handleJoinRoomDecs, _handleExitRoomDecs, _onNetworkStatsUpdatedDecs, _onLocalAudioStatsUpdatedDecs, _onRemoteAudioStatsUpdatedDecs, _onLocalVideoStatsUpdatedDecs, _onRemoteVideoStatsUpdatedDecs, _onStreamsAddedDecs, _onStreamsUpdatedDecs, _onStreamsRemovedDecs, _onPerformanceUpdatedDecs, _onAudioVolumeUpdatedDecs, _preHandleSettingDecs, _setMeetingSettingsToLocalStorageDecs, _ref;
|
|
106
98
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
107
99
|
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
108
100
|
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
@@ -118,20 +110,6 @@ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol"
|
|
|
118
110
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
119
111
|
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
120
112
|
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
121
|
-
var MeetingStatus = exports.MeetingStatus = /*#__PURE__*/function (MeetingStatus) {
|
|
122
|
-
MeetingStatus["PENDING"] = "pending";
|
|
123
|
-
MeetingStatus["ACTIVE"] = "active";
|
|
124
|
-
return MeetingStatus;
|
|
125
|
-
}({});
|
|
126
|
-
var DeviceSettingTab = exports.DeviceSettingTab = /*#__PURE__*/function (DeviceSettingTab) {
|
|
127
|
-
DeviceSettingTab["GENERAL"] = "general";
|
|
128
|
-
DeviceSettingTab["AUDIO"] = "audio";
|
|
129
|
-
DeviceSettingTab["VIDEO"] = "video";
|
|
130
|
-
// STORAGE = 'storage',
|
|
131
|
-
DeviceSettingTab["STATE"] = "state"; // TRANSLATE = 'translate',
|
|
132
|
-
// MINUTES = 'minutes',
|
|
133
|
-
return DeviceSettingTab;
|
|
134
|
-
}({});
|
|
135
113
|
var mapDevice2Option = function mapDevice2Option(deviceList) {
|
|
136
114
|
return deviceList.map(function (item) {
|
|
137
115
|
return {
|
|
@@ -171,27 +149,16 @@ var _K = /*#__PURE__*/new WeakMap();
|
|
|
171
149
|
var _L = /*#__PURE__*/new WeakMap();
|
|
172
150
|
var _M = /*#__PURE__*/new WeakMap();
|
|
173
151
|
var _N = /*#__PURE__*/new WeakMap();
|
|
174
|
-
_ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound],
|
|
175
|
-
var
|
|
176
|
-
function
|
|
177
|
-
var
|
|
178
|
-
|
|
179
|
-
deviceProvider = _ref2.deviceProvider,
|
|
180
|
-
roomProvider = _ref2.roomProvider,
|
|
181
|
-
sharedConfigDataSource = _ref2.sharedConfigDataSource,
|
|
182
|
-
sharedLayoutDataSource = _ref2.sharedLayoutDataSource,
|
|
183
|
-
messageProvider = _ref2.messageProvider,
|
|
184
|
-
dialogProvider = _ref2.dialogProvider,
|
|
185
|
-
sharedSettingDataSource = _ref2.sharedSettingDataSource,
|
|
186
|
-
sharedInterpreterDataSource = _ref2.sharedInterpreterDataSource;
|
|
187
|
-
(0, _classCallCheck2["default"])(this, SettingStore);
|
|
188
|
-
// @internal
|
|
152
|
+
_ref = (_setDialogConfigDecs = [_mobx.action, _mobx.action.bound], _setSettingDecs = [_mobx.action, _mobx.action.bound], _clearGetSystemInfoIntervalDecs = [_mobx.action, _mobx.action.bound], _changeMediaSettingDecs = [_mobx.action, _mobx.action.bound], _handleJoinRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _handleExitRoomDecs = [_mobx.action, _mobx.action.bound, void 0, _decorator.trace], _onNetworkStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteAudioStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onLocalVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onRemoteVideoStatsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsAddedDecs = [_mobx.action, _mobx.action.bound], _onStreamsUpdatedDecs = [_mobx.action, _mobx.action.bound], _onStreamsRemovedDecs = [_mobx.action, _mobx.action.bound], _onPerformanceUpdatedDecs = [_mobx.action, _mobx.action.bound], _onAudioVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _preHandleSettingDecs = [_mobx.action, _mobx.action.bound], _setMeetingSettingsToLocalStorageDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
153
|
+
var SettingStoreBase = exports.SettingStoreBase = /*#__PURE__*/function () {
|
|
154
|
+
function SettingStoreBase(_ref2) {
|
|
155
|
+
var objectManager = _ref2.objectManager;
|
|
156
|
+
(0, _classCallCheck2["default"])(this, SettingStoreBase);
|
|
189
157
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
190
158
|
prefix: 'SettingStore'
|
|
191
159
|
})));
|
|
192
160
|
(0, _defineProperty2["default"])(this, "_enableRemoteVideoStatsDebugLog", false);
|
|
193
161
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
194
|
-
(0, _defineProperty2["default"])(this, "_currentDialogId", '');
|
|
195
162
|
(0, _defineProperty2["default"])(this, "_settingVideoOpened", false);
|
|
196
163
|
(0, _defineProperty2["default"])(this, "_deviceStoreObserver", {
|
|
197
164
|
onCameraListUpdated: this._handleCameraListUpdated,
|
|
@@ -201,9 +168,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
168
|
(0, _defineProperty2["default"])(this, "_volumeIndicationInterval", _schedule.AgoraScheduler.Duration.second(2));
|
|
202
169
|
(0, _defineProperty2["default"])(this, "_useDefaultAudioEchoCancellation", true);
|
|
203
170
|
(0, _defineProperty2["default"])(this, "_streamInfoList", new Map());
|
|
204
|
-
(0, _defineProperty2["default"])(this, "_onEventObserver", {
|
|
205
|
-
onEvent: this._onEvent
|
|
206
|
-
});
|
|
207
171
|
(0, _defineProperty2["default"])(this, "_monitorObserver", {
|
|
208
172
|
onPerformanceInfoUpdated: this._onPerformanceUpdated
|
|
209
173
|
});
|
|
@@ -220,17 +184,17 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
220
184
|
onStreamsAdded: this._onStreamsAdded,
|
|
221
185
|
onStreamVolumeIndicationUpdated: this._onAudioVolumeUpdated
|
|
222
186
|
});
|
|
187
|
+
(0, _defineProperty2["default"])(this, "_interpreterRoomControlReaction", null);
|
|
188
|
+
(0, _defineProperty2["default"])(this, "_streamControl", null);
|
|
223
189
|
_classPrivateFieldInitSpec(this, _A, _init_loudestStreamVolumeLevel(this, 0));
|
|
224
|
-
_classPrivateFieldInitSpec(this, _B,
|
|
225
|
-
_classPrivateFieldInitSpec(this, _C,
|
|
226
|
-
_classPrivateFieldInitSpec(this, _D,
|
|
227
|
-
|
|
228
|
-
// activeTab: DeviceSettingTab.AUDIO,
|
|
229
|
-
activeTab: DeviceSettingTab.GENERAL,
|
|
190
|
+
_classPrivateFieldInitSpec(this, _B, _init_microphoneVolumeLevel(this, 0));
|
|
191
|
+
_classPrivateFieldInitSpec(this, _C, _init_isWifiConnected(this, false));
|
|
192
|
+
_classPrivateFieldInitSpec(this, _D, _init_dialogConfig(this, {
|
|
193
|
+
activeTab: _type.DeviceSettingTab.GENERAL,
|
|
230
194
|
highlightSelector: undefined,
|
|
231
195
|
videoActiveTab: 'basic'
|
|
232
196
|
}));
|
|
233
|
-
_classPrivateFieldInitSpec(this,
|
|
197
|
+
_classPrivateFieldInitSpec(this, _E, _init_networkState(this, {
|
|
234
198
|
txPacketLoss: -1,
|
|
235
199
|
rxPacketLoss: -1,
|
|
236
200
|
rtt: 0,
|
|
@@ -245,7 +209,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
245
209
|
rxVideoKBitrate: 0,
|
|
246
210
|
rxVideoKBytes: 0
|
|
247
211
|
}));
|
|
248
|
-
_classPrivateFieldInitSpec(this,
|
|
212
|
+
_classPrivateFieldInitSpec(this, _F, _init_performanceState(this, {
|
|
249
213
|
cpuTotalUsage: 0,
|
|
250
214
|
cpuAppUsage: 0,
|
|
251
215
|
cpuOtherAppUsage: 0,
|
|
@@ -255,37 +219,24 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
255
219
|
memoryAppUsageInKbytes: 0,
|
|
256
220
|
memoryOtherAppUsageInKbytes: 0
|
|
257
221
|
}));
|
|
258
|
-
_classPrivateFieldInitSpec(this,
|
|
259
|
-
_classPrivateFieldInitSpec(this,
|
|
260
|
-
_classPrivateFieldInitSpec(this,
|
|
261
|
-
_classPrivateFieldInitSpec(this,
|
|
262
|
-
_classPrivateFieldInitSpec(this,
|
|
263
|
-
_classPrivateFieldInitSpec(this,
|
|
264
|
-
_classPrivateFieldInitSpec(this,
|
|
265
|
-
this
|
|
266
|
-
this.
|
|
267
|
-
this.
|
|
268
|
-
this.
|
|
269
|
-
this.
|
|
270
|
-
this._messageProvider =
|
|
271
|
-
this._dialogProvider =
|
|
272
|
-
this.
|
|
273
|
-
this.
|
|
274
|
-
this.
|
|
275
|
-
if (roomProvider !== null && roomProvider !== void 0 && roomProvider.currentRoomControl) {
|
|
276
|
-
this._currentRoomControl = new _roomProvider.FcrUICurrentRoomControlProviderImpl(roomProvider.currentRoomControl).currentRoomControl;
|
|
277
|
-
this._currentRoomControl.addObserver(this._roomObserver);
|
|
278
|
-
this._currentRoomControl.getStreamControl().addObserver(this._streamObserver);
|
|
279
|
-
var streamInfoList = new Map();
|
|
280
|
-
this._currentRoomControl.getStreamControl().getStreamList().forEach(function (streamInfo) {
|
|
281
|
-
streamInfoList.set(streamInfo.streamId, streamInfo);
|
|
282
|
-
});
|
|
283
|
-
this._streamInfoList = streamInfoList;
|
|
284
|
-
}
|
|
285
|
-
this._eventProvider.addObserver(this._onEventObserver);
|
|
286
|
-
this._dialogProvider.addObserver(this._onEventObserver);
|
|
222
|
+
_classPrivateFieldInitSpec(this, _G, _init_localAudioStreamMap(this, new Map()));
|
|
223
|
+
_classPrivateFieldInitSpec(this, _H, _init_remoteAudioStreamMap(this, new Map()));
|
|
224
|
+
_classPrivateFieldInitSpec(this, _I, _init_localVideoStreamMap(this, new Map()));
|
|
225
|
+
_classPrivateFieldInitSpec(this, _J, _init_remoteVideoStreamMap(this, new Map()));
|
|
226
|
+
_classPrivateFieldInitSpec(this, _K, _init_systemMemorySize(this, 0));
|
|
227
|
+
_classPrivateFieldInitSpec(this, _L, _init_systemCpuDesc(this, ''));
|
|
228
|
+
_classPrivateFieldInitSpec(this, _M, _init_getSystemInfoTimer(this, null));
|
|
229
|
+
_classPrivateFieldInitSpec(this, _N, _init_isHiddenStateTab(this, true));
|
|
230
|
+
this._objectManager = objectManager;
|
|
231
|
+
this._monitorProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MONITOR_PROVIDER);
|
|
232
|
+
this._eventProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_EVENT_PROVIDER);
|
|
233
|
+
this._deviceProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DEVICE_PROVIDER);
|
|
234
|
+
this._messageProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_MESSAGE_PROVIDER);
|
|
235
|
+
this._dialogProvider = objectManager.getObject(_objectManager.FcrUIObjectKeys.P_DIALOG_PROVIDER);
|
|
236
|
+
this._sharedConfigDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_CONFIG_DATA_SOURCE);
|
|
237
|
+
this._sharedLayoutDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_LAYOUT_DATA_SOURCE);
|
|
238
|
+
this._sharedSettingDataSource = objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_SETTING_DATA_SOURCE);
|
|
287
239
|
this._monitorProvider.addObserver(this._monitorObserver);
|
|
288
|
-
this._syncSystemInfo();
|
|
289
240
|
this._initReactions();
|
|
290
241
|
if (this._deviceProvider.defaultMirror) {
|
|
291
242
|
this._deviceProvider.toggleLocalMirror(true);
|
|
@@ -293,14 +244,12 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
293
244
|
if (this._deviceProvider.cameraId && this._deviceProvider.cameraTrack) {
|
|
294
245
|
this._cameraTrack = this._deviceProvider.cameraTrack;
|
|
295
246
|
}
|
|
296
|
-
if (this.dialogConfig.activeTab === DeviceSettingTab.STATE) {
|
|
247
|
+
if (this.dialogConfig.activeTab === _type.DeviceSettingTab.STATE) {
|
|
297
248
|
this._setupAudioVolumeAnalyzerTask();
|
|
298
249
|
}
|
|
299
250
|
this.initSettingConfig();
|
|
300
|
-
// @ts-ignore
|
|
301
|
-
window._settingStore = this;
|
|
302
251
|
}
|
|
303
|
-
return (0, _createClass2["default"])(
|
|
252
|
+
return (0, _createClass2["default"])(SettingStoreBase, [{
|
|
304
253
|
key: "loudestStreamVolumeLevel",
|
|
305
254
|
get: function get() {
|
|
306
255
|
return _classPrivateFieldGet(_A, this);
|
|
@@ -309,7 +258,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
309
258
|
_classPrivateFieldSet(_A, this, v);
|
|
310
259
|
}
|
|
311
260
|
}, {
|
|
312
|
-
key: "
|
|
261
|
+
key: "microphoneVolumeLevel",
|
|
313
262
|
get: function get() {
|
|
314
263
|
return _classPrivateFieldGet(_B, this);
|
|
315
264
|
},
|
|
@@ -317,7 +266,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
317
266
|
_classPrivateFieldSet(_B, this, v);
|
|
318
267
|
}
|
|
319
268
|
}, {
|
|
320
|
-
key: "
|
|
269
|
+
key: "isWifiConnected",
|
|
321
270
|
get: function get() {
|
|
322
271
|
return _classPrivateFieldGet(_C, this);
|
|
323
272
|
},
|
|
@@ -325,7 +274,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
325
274
|
_classPrivateFieldSet(_C, this, v);
|
|
326
275
|
}
|
|
327
276
|
}, {
|
|
328
|
-
key: "
|
|
277
|
+
key: "dialogConfig",
|
|
329
278
|
get: function get() {
|
|
330
279
|
return _classPrivateFieldGet(_D, this);
|
|
331
280
|
},
|
|
@@ -333,7 +282,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
333
282
|
_classPrivateFieldSet(_D, this, v);
|
|
334
283
|
}
|
|
335
284
|
}, {
|
|
336
|
-
key: "
|
|
285
|
+
key: "networkState",
|
|
337
286
|
get: function get() {
|
|
338
287
|
return _classPrivateFieldGet(_E, this);
|
|
339
288
|
},
|
|
@@ -341,7 +290,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
341
290
|
_classPrivateFieldSet(_E, this, v);
|
|
342
291
|
}
|
|
343
292
|
}, {
|
|
344
|
-
key: "
|
|
293
|
+
key: "performanceState",
|
|
345
294
|
get: function get() {
|
|
346
295
|
return _classPrivateFieldGet(_F, this);
|
|
347
296
|
},
|
|
@@ -349,7 +298,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
349
298
|
_classPrivateFieldSet(_F, this, v);
|
|
350
299
|
}
|
|
351
300
|
}, {
|
|
352
|
-
key: "
|
|
301
|
+
key: "localAudioStreamMap",
|
|
353
302
|
get: function get() {
|
|
354
303
|
return _classPrivateFieldGet(_G, this);
|
|
355
304
|
},
|
|
@@ -357,7 +306,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
357
306
|
_classPrivateFieldSet(_G, this, v);
|
|
358
307
|
}
|
|
359
308
|
}, {
|
|
360
|
-
key: "
|
|
309
|
+
key: "remoteAudioStreamMap",
|
|
361
310
|
get: function get() {
|
|
362
311
|
return _classPrivateFieldGet(_H, this);
|
|
363
312
|
},
|
|
@@ -365,7 +314,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
365
314
|
_classPrivateFieldSet(_H, this, v);
|
|
366
315
|
}
|
|
367
316
|
}, {
|
|
368
|
-
key: "
|
|
317
|
+
key: "localVideoStreamMap",
|
|
369
318
|
get: function get() {
|
|
370
319
|
return _classPrivateFieldGet(_I, this);
|
|
371
320
|
},
|
|
@@ -373,7 +322,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
373
322
|
_classPrivateFieldSet(_I, this, v);
|
|
374
323
|
}
|
|
375
324
|
}, {
|
|
376
|
-
key: "
|
|
325
|
+
key: "remoteVideoStreamMap",
|
|
377
326
|
get: function get() {
|
|
378
327
|
return _classPrivateFieldGet(_J, this);
|
|
379
328
|
},
|
|
@@ -381,7 +330,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
381
330
|
_classPrivateFieldSet(_J, this, v);
|
|
382
331
|
}
|
|
383
332
|
}, {
|
|
384
|
-
key: "
|
|
333
|
+
key: "systemMemorySize",
|
|
385
334
|
get: function get() {
|
|
386
335
|
return _classPrivateFieldGet(_K, this);
|
|
387
336
|
},
|
|
@@ -389,7 +338,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
389
338
|
_classPrivateFieldSet(_K, this, v);
|
|
390
339
|
}
|
|
391
340
|
}, {
|
|
392
|
-
key: "
|
|
341
|
+
key: "systemCpuDesc",
|
|
393
342
|
get: function get() {
|
|
394
343
|
return _classPrivateFieldGet(_L, this);
|
|
395
344
|
},
|
|
@@ -397,7 +346,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
397
346
|
_classPrivateFieldSet(_L, this, v);
|
|
398
347
|
}
|
|
399
348
|
}, {
|
|
400
|
-
key: "
|
|
349
|
+
key: "getSystemInfoTimer",
|
|
401
350
|
get: function get() {
|
|
402
351
|
return _classPrivateFieldGet(_M, this);
|
|
403
352
|
},
|
|
@@ -405,7 +354,7 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
405
354
|
_classPrivateFieldSet(_M, this, v);
|
|
406
355
|
}
|
|
407
356
|
}, {
|
|
408
|
-
key: "
|
|
357
|
+
key: "isHiddenStateTab",
|
|
409
358
|
get: function get() {
|
|
410
359
|
return _classPrivateFieldGet(_N, this);
|
|
411
360
|
},
|
|
@@ -571,16 +520,72 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
571
520
|
get: function get() {
|
|
572
521
|
return this._sharedConfigDataSource.sceneConfig;
|
|
573
522
|
}
|
|
523
|
+
}, {
|
|
524
|
+
key: "sharedInterpreterDataSource",
|
|
525
|
+
get: function get() {
|
|
526
|
+
if (!this._sharedInterpreterDataSource) {
|
|
527
|
+
throw new Error('sharedInterpreterDataSource is not initialized');
|
|
528
|
+
}
|
|
529
|
+
return this._sharedInterpreterDataSource;
|
|
530
|
+
}
|
|
531
|
+
}, {
|
|
532
|
+
key: "currentRoomControl",
|
|
533
|
+
get: function get() {
|
|
534
|
+
if (!this._currentRoomControl) {
|
|
535
|
+
throw new Error('currentRoomControl is not initialized');
|
|
536
|
+
}
|
|
537
|
+
return this._currentRoomControl;
|
|
538
|
+
}
|
|
539
|
+
}, {
|
|
540
|
+
key: "interpreterRoomControl",
|
|
541
|
+
get: function get() {
|
|
542
|
+
if (!this._interpreterRoomControl) {
|
|
543
|
+
throw new Error('interpreterRoomControl is not initialized');
|
|
544
|
+
}
|
|
545
|
+
return this._interpreterRoomControl;
|
|
546
|
+
}
|
|
547
|
+
}, {
|
|
548
|
+
key: "streamControl",
|
|
549
|
+
get: function get() {
|
|
550
|
+
if (!this._streamControl) {
|
|
551
|
+
throw new Error('streamControl is not initialized');
|
|
552
|
+
}
|
|
553
|
+
return this._streamControl;
|
|
554
|
+
}
|
|
574
555
|
}, {
|
|
575
556
|
key: "messageProvider",
|
|
576
557
|
get: function get() {
|
|
577
558
|
return this._messageProvider;
|
|
578
559
|
}
|
|
579
560
|
}, {
|
|
580
|
-
key: "
|
|
581
|
-
value: function
|
|
582
|
-
|
|
583
|
-
|
|
561
|
+
key: "_syncSystemInfo",
|
|
562
|
+
value: function () {
|
|
563
|
+
var _syncSystemInfo2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
564
|
+
var _this = this;
|
|
565
|
+
var systemInfo;
|
|
566
|
+
return _regenerator["default"].wrap(function (_context) {
|
|
567
|
+
while (1) switch (_context.prev = _context.next) {
|
|
568
|
+
case 0:
|
|
569
|
+
_context.next = 1;
|
|
570
|
+
return this.getSystemInfo();
|
|
571
|
+
case 1:
|
|
572
|
+
systemInfo = _context.sent;
|
|
573
|
+
(0, _mobx.runInAction)(function () {
|
|
574
|
+
_this.systemCpuDesc = systemInfo.systemCpuDesc;
|
|
575
|
+
_this.systemMemorySize = systemInfo.systemMemorySize;
|
|
576
|
+
_this.isWifiConnected = systemInfo.isWifiConnected;
|
|
577
|
+
});
|
|
578
|
+
case 2:
|
|
579
|
+
case "end":
|
|
580
|
+
return _context.stop();
|
|
581
|
+
}
|
|
582
|
+
}, _callee, this);
|
|
583
|
+
}));
|
|
584
|
+
function _syncSystemInfo() {
|
|
585
|
+
return _syncSystemInfo2.apply(this, arguments);
|
|
586
|
+
}
|
|
587
|
+
return _syncSystemInfo;
|
|
588
|
+
}()
|
|
584
589
|
}, {
|
|
585
590
|
key: "initSettingConfig",
|
|
586
591
|
value: function initSettingConfig() {
|
|
@@ -614,53 +619,56 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
614
619
|
enableBeauty: enable
|
|
615
620
|
});
|
|
616
621
|
}
|
|
622
|
+
}, {
|
|
623
|
+
key: "_createInterpreterRoomControlReaction",
|
|
624
|
+
value: function _createInterpreterRoomControlReaction() {
|
|
625
|
+
var _this2 = this;
|
|
626
|
+
return (0, _mobx.reaction)(function () {
|
|
627
|
+
return _this2.sharedInterpreterDataSource.outputLanguage;
|
|
628
|
+
}, function (outputLanguage) {
|
|
629
|
+
if (outputLanguage) {
|
|
630
|
+
var _this2$_interpreterRo, _this2$sharedInterpre;
|
|
631
|
+
(_this2$_interpreterRo = _this2._interpreterRoomControl) === null || _this2$_interpreterRo === void 0 || _this2$_interpreterRo.removeObserver(_this2._roomObserver);
|
|
632
|
+
_this2._interpreterRoomControl = (_this2$sharedInterpre = _this2.sharedInterpreterDataSource.languageRoomListByStatus.get(outputLanguage)) === null || _this2$sharedInterpre === void 0 ? void 0 : _this2$sharedInterpre.control;
|
|
633
|
+
_this2.interpreterRoomControl.addObserver(_this2._roomObserver);
|
|
634
|
+
} else {
|
|
635
|
+
_this2.interpreterRoomControl.removeObserver(_this2._roomObserver);
|
|
636
|
+
_this2._interpreterRoomControl = undefined;
|
|
637
|
+
}
|
|
638
|
+
});
|
|
639
|
+
}
|
|
617
640
|
}, {
|
|
618
641
|
key: "_initReactions",
|
|
619
642
|
value: function _initReactions() {
|
|
620
|
-
var
|
|
643
|
+
var _this3 = this;
|
|
621
644
|
this._disposers.push((0, _mobx.reaction)(function () {
|
|
622
|
-
return
|
|
645
|
+
return _this3.setting.shouldHideNonVideoParticipants;
|
|
623
646
|
}, function (shouldHideNonVideoParticipants) {
|
|
624
647
|
if (shouldHideNonVideoParticipants) {
|
|
625
|
-
|
|
648
|
+
_this3._messageProvider.showToast({
|
|
626
649
|
type: 'normal',
|
|
627
650
|
message: (0, _i18n.transI18n)('fmt_internalsetting_other_hide_no_video_toast')
|
|
628
651
|
});
|
|
629
652
|
}
|
|
630
653
|
}), (0, _mobx.reaction)(function () {
|
|
631
|
-
return
|
|
654
|
+
return _this3.dialogConfig.activeTab;
|
|
632
655
|
}, function (activeTab) {
|
|
633
|
-
if (
|
|
634
|
-
var
|
|
635
|
-
(
|
|
636
|
-
|
|
656
|
+
if (_this3._audioDeviceVolumeRefreshTask) {
|
|
657
|
+
var _this3$_audioDeviceVo;
|
|
658
|
+
(_this3$_audioDeviceVo = _this3._audioDeviceVolumeRefreshTask) === null || _this3$_audioDeviceVo === void 0 || _this3$_audioDeviceVo.stop();
|
|
659
|
+
_this3._audioDeviceVolumeRefreshTask = undefined;
|
|
637
660
|
}
|
|
638
|
-
if (activeTab === DeviceSettingTab.STATE) {
|
|
639
|
-
|
|
661
|
+
if (activeTab === _type.DeviceSettingTab.STATE) {
|
|
662
|
+
_this3._setupAudioVolumeAnalyzerTask();
|
|
640
663
|
}
|
|
641
664
|
}), (0, _mobx.reaction)(function () {
|
|
642
|
-
return
|
|
665
|
+
return _this3._deviceProvider.microphoneEnabled;
|
|
643
666
|
}, function (microphoneEnabled) {
|
|
644
667
|
if (!microphoneEnabled) {
|
|
645
668
|
(0, _mobx.runInAction)(function () {
|
|
646
|
-
|
|
669
|
+
_this3.microphoneVolumeLevel = 0;
|
|
647
670
|
});
|
|
648
671
|
}
|
|
649
|
-
}), (0, _mobx.reaction)(function () {
|
|
650
|
-
var _this$_sharedInterpre;
|
|
651
|
-
return (_this$_sharedInterpre = _this._sharedInterpreterDataSource) === null || _this$_sharedInterpre === void 0 ? void 0 : _this$_sharedInterpre.outputLanguage;
|
|
652
|
-
}, function (outputLanguage) {
|
|
653
|
-
if (outputLanguage) {
|
|
654
|
-
var _this$_sharedInterpre2, _this$_currentRoomCon, _this$_interpreterRoo;
|
|
655
|
-
_this._interpreterRoomControl = (_this$_sharedInterpre2 = _this._sharedInterpreterDataSource) === null || _this$_sharedInterpre2 === void 0 || (_this$_sharedInterpre2 = _this$_sharedInterpre2.languageRoomListByStatus.get(outputLanguage)) === null || _this$_sharedInterpre2 === void 0 ? void 0 : _this$_sharedInterpre2.control;
|
|
656
|
-
(_this$_currentRoomCon = _this._currentRoomControl) === null || _this$_currentRoomCon === void 0 || _this$_currentRoomCon.removeObserver(_this._roomObserver);
|
|
657
|
-
(_this$_interpreterRoo = _this._interpreterRoomControl) === null || _this$_interpreterRoo === void 0 || _this$_interpreterRoo.addObserver(_this._roomObserver);
|
|
658
|
-
} else {
|
|
659
|
-
var _this$_interpreterRoo2, _this$_currentRoomCon2;
|
|
660
|
-
(_this$_interpreterRoo2 = _this._interpreterRoomControl) === null || _this$_interpreterRoo2 === void 0 || _this$_interpreterRoo2.removeObserver(_this._roomObserver);
|
|
661
|
-
_this._interpreterRoomControl = undefined;
|
|
662
|
-
(_this$_currentRoomCon2 = _this._currentRoomControl) === null || _this$_currentRoomCon2 === void 0 || _this$_currentRoomCon2.addObserver(_this._roomObserver);
|
|
663
|
-
}
|
|
664
672
|
}));
|
|
665
673
|
}
|
|
666
674
|
}, {
|
|
@@ -674,12 +682,12 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
674
682
|
}, {
|
|
675
683
|
key: "_setupAudioVolumeAnalyzerTask",
|
|
676
684
|
value: function _setupAudioVolumeAnalyzerTask() {
|
|
677
|
-
var
|
|
685
|
+
var _this4 = this;
|
|
678
686
|
this._audioDeviceVolumeRefreshTask = _schedule.AgoraScheduler.shared.addIntervalTask(function () {
|
|
679
|
-
var loudestStreamVolumeLevel = Math.max.apply(Math, [0].concat((0, _toConsumableArray2["default"])(Array.from(
|
|
687
|
+
var loudestStreamVolumeLevel = Math.max.apply(Math, [0].concat((0, _toConsumableArray2["default"])(Array.from(_this4._streamVolumeMap.values()))));
|
|
680
688
|
(0, _mobx.runInAction)(function () {
|
|
681
|
-
|
|
682
|
-
|
|
689
|
+
_this4.loudestStreamVolumeLevel = loudestStreamVolumeLevel;
|
|
690
|
+
_this4.microphoneVolumeLevel = _this4._deviceProvider.microphoneVolumeLevel;
|
|
683
691
|
});
|
|
684
692
|
}, this._volumeIndicationInterval);
|
|
685
693
|
}
|
|
@@ -749,15 +757,12 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
749
757
|
}, {
|
|
750
758
|
key: "toggleLocalMirrorPreview",
|
|
751
759
|
value: function toggleLocalMirrorPreview(isMirror) {
|
|
752
|
-
var
|
|
760
|
+
var _this5 = this;
|
|
753
761
|
if (!this._videoView4Setting || !this._deviceProvider.cameraId) return;
|
|
754
762
|
this.stopVideo();
|
|
755
|
-
// 直接在一个loop中调用stop和start会导致glcontext无法正常释放,现象 [APAAS-7207]
|
|
756
763
|
setTimeout(function () {
|
|
757
|
-
|
|
764
|
+
_this5.startVideo(isMirror);
|
|
758
765
|
});
|
|
759
|
-
|
|
760
|
-
// set mirror for layout
|
|
761
766
|
this._deviceProvider.toggleLocalMirrorPreview(isMirror);
|
|
762
767
|
}
|
|
763
768
|
}, {
|
|
@@ -798,12 +803,11 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
798
803
|
}, {
|
|
799
804
|
key: "toggleLocalMirror",
|
|
800
805
|
value: function toggleLocalMirror(enable) {
|
|
801
|
-
var
|
|
806
|
+
var _this6 = this;
|
|
802
807
|
if (!this._videoView4Setting || !this._deviceProvider.cameraId) return;
|
|
803
808
|
this.stopVideo();
|
|
804
|
-
// 直接在一个loop中调用stop和start会导致glcontext无法正常释放,现象 [APAAS-7207]
|
|
805
809
|
setTimeout(function () {
|
|
806
|
-
|
|
810
|
+
_this6.startVideo(enable);
|
|
807
811
|
});
|
|
808
812
|
this._deviceProvider.toggleLocalMirror(enable);
|
|
809
813
|
this._setMeetingSettingsToLocalStorage({
|
|
@@ -820,38 +824,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
820
824
|
this._deviceProvider.removeObserver(this._deviceStoreObserver);
|
|
821
825
|
}
|
|
822
826
|
}
|
|
823
|
-
}, {
|
|
824
|
-
key: "_syncSystemInfo",
|
|
825
|
-
value: function () {
|
|
826
|
-
var _syncSystemInfo2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
827
|
-
var _this5 = this;
|
|
828
|
-
var _yield$window$runtime, isWifiConnected;
|
|
829
|
-
return _regenerator["default"].wrap(function (_context) {
|
|
830
|
-
while (1) switch (_context.prev = _context.next) {
|
|
831
|
-
case 0:
|
|
832
|
-
_context.next = 1;
|
|
833
|
-
return window.runtime.getNetworkType();
|
|
834
|
-
case 1:
|
|
835
|
-
_yield$window$runtime = _context.sent;
|
|
836
|
-
isWifiConnected = _yield$window$runtime.isWifiConnected;
|
|
837
|
-
(0, _mobx.runInAction)(function () {
|
|
838
|
-
var cpus = window.runtime.getSystemCpuInfo();
|
|
839
|
-
var cpuInfo = cpus.length === 0 ? '' : "".concat(cpus.length, "-").concat(cpus[0].model);
|
|
840
|
-
_this5.systemCpuDesc = cpuInfo;
|
|
841
|
-
_this5.systemMemorySize = window.runtime.getSystemMemorySize() / 1024;
|
|
842
|
-
_this5.isWifiConnected = isWifiConnected;
|
|
843
|
-
});
|
|
844
|
-
case 2:
|
|
845
|
-
case "end":
|
|
846
|
-
return _context.stop();
|
|
847
|
-
}
|
|
848
|
-
}, _callee);
|
|
849
|
-
}));
|
|
850
|
-
function _syncSystemInfo() {
|
|
851
|
-
return _syncSystemInfo2.apply(this, arguments);
|
|
852
|
-
}
|
|
853
|
-
return _syncSystemInfo;
|
|
854
|
-
}() // 开启视频高清
|
|
855
827
|
}, {
|
|
856
828
|
key: "_enableVideoHd",
|
|
857
829
|
value: function _enableVideoHd(enable) {
|
|
@@ -891,8 +863,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
891
863
|
}
|
|
892
864
|
}
|
|
893
865
|
}
|
|
894
|
-
|
|
895
|
-
// 调整以适应弱光
|
|
896
866
|
}, {
|
|
897
867
|
key: "_enableLowlightEnhancement",
|
|
898
868
|
value: function _enableLowlightEnhancement(enable) {
|
|
@@ -906,7 +876,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
906
876
|
}
|
|
907
877
|
}
|
|
908
878
|
}
|
|
909
|
-
// 视频降噪
|
|
910
879
|
}, {
|
|
911
880
|
key: "_enableVideoDenoiser",
|
|
912
881
|
value: function _enableVideoDenoiser(enable) {
|
|
@@ -920,8 +889,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
920
889
|
}
|
|
921
890
|
}
|
|
922
891
|
}
|
|
923
|
-
|
|
924
|
-
// 硬件加速
|
|
925
892
|
}, {
|
|
926
893
|
key: "_enableHardwareForReception",
|
|
927
894
|
value: function _enableHardwareForReception(enable) {
|
|
@@ -969,15 +936,13 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
969
936
|
}, {
|
|
970
937
|
key: "release",
|
|
971
938
|
value: function release() {
|
|
972
|
-
var _this$
|
|
939
|
+
var _this$_currentRoomCon, _this$_currentRoomCon2;
|
|
973
940
|
if (this.getSystemInfoTimer) {
|
|
974
941
|
this.clearGetSystemInfoInterval();
|
|
975
942
|
}
|
|
976
943
|
this._monitorProvider.removeObserver(this._monitorObserver);
|
|
977
|
-
this.
|
|
978
|
-
this.
|
|
979
|
-
(_this$_currentRoomCon3 = this._currentRoomControl) === null || _this$_currentRoomCon3 === void 0 || _this$_currentRoomCon3.getStreamControl().removeObserver(this._streamObserver);
|
|
980
|
-
(_this$_currentRoomCon4 = this._currentRoomControl) === null || _this$_currentRoomCon4 === void 0 || _this$_currentRoomCon4.removeObserver(this._roomObserver);
|
|
944
|
+
(_this$_currentRoomCon = this._currentRoomControl) === null || _this$_currentRoomCon === void 0 || _this$_currentRoomCon.getStreamControl().removeObserver(this._streamObserver);
|
|
945
|
+
(_this$_currentRoomCon2 = this._currentRoomControl) === null || _this$_currentRoomCon2 === void 0 || _this$_currentRoomCon2.removeObserver(this._roomObserver);
|
|
981
946
|
this._disposeReactions();
|
|
982
947
|
}
|
|
983
948
|
}, {
|
|
@@ -991,93 +956,87 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
991
956
|
}, {
|
|
992
957
|
key: "setSetting",
|
|
993
958
|
value: function setSetting(setting) {
|
|
994
|
-
var
|
|
959
|
+
var _this7 = this;
|
|
995
960
|
var newSetting = this._preHandleSetting(setting);
|
|
996
961
|
this._sharedSettingDataSource.setSetting(newSetting);
|
|
997
962
|
if (newSetting.displayedMaxAttendees) {
|
|
998
963
|
this._sharedLayoutDataSource.setLayoutSize(newSetting.displayedMaxAttendees);
|
|
999
964
|
}
|
|
1000
965
|
var settingActions = {
|
|
1001
|
-
// autoAdjustmentMicrophoneVolume: (enable) =>
|
|
1002
|
-
// this.setMicrophoneVolume(enable ? 100 : this._deviceProvider.microphoneVolume),
|
|
1003
|
-
// video
|
|
1004
966
|
videoHD: function videoHD(value) {
|
|
1005
|
-
return
|
|
967
|
+
return _this7._enableVideoHd(value);
|
|
1006
968
|
},
|
|
1007
969
|
videoLowLight: function videoLowLight(value) {
|
|
1008
|
-
return
|
|
970
|
+
return _this7._enableLowlightEnhancement(value);
|
|
1009
971
|
},
|
|
1010
972
|
hardwareForReception: function hardwareForReception(value) {
|
|
1011
|
-
return
|
|
973
|
+
return _this7._enableHardwareForReception(value);
|
|
1012
974
|
},
|
|
1013
975
|
videoNoise: function videoNoise(value) {
|
|
1014
|
-
return
|
|
976
|
+
return _this7._enableVideoDenoiser(value);
|
|
1015
977
|
},
|
|
1016
|
-
// audio
|
|
1017
978
|
audioHiFi: function audioHiFi(value) {
|
|
1018
|
-
return
|
|
979
|
+
return _this7._deviceProvider.enableAudioHiFiMode(value);
|
|
1019
980
|
},
|
|
1020
981
|
audioEchoCancellation: function audioEchoCancellation(value) {
|
|
1021
|
-
return
|
|
982
|
+
return _this7._deviceProvider.enableAudioEchoCancellation(value);
|
|
1022
983
|
},
|
|
1023
984
|
audioStereo: function audioStereo(value) {
|
|
1024
|
-
return
|
|
985
|
+
return _this7._deviceProvider.enableAudioStereo(value);
|
|
1025
986
|
},
|
|
1026
987
|
noiseReduce: function noiseReduce(value) {
|
|
1027
|
-
return
|
|
988
|
+
return _this7._deviceProvider.setNoiseLevel(value);
|
|
1028
989
|
},
|
|
1029
990
|
language: function language(value) {
|
|
1030
991
|
return (0, _i18n.changeLanguage)(value);
|
|
1031
992
|
},
|
|
1032
993
|
beautyKey: function beautyKey(value) {
|
|
1033
|
-
return
|
|
994
|
+
return _this7._deviceProvider.setEditBeautyKey(value);
|
|
1034
995
|
},
|
|
1035
996
|
isLocalMirrorEnabled: function isLocalMirrorEnabled(value) {
|
|
1036
|
-
return
|
|
997
|
+
return _this7._deviceProvider.toggleLocalMirror(value);
|
|
1037
998
|
},
|
|
1038
999
|
enableBeauty: function enableBeauty(value) {
|
|
1039
|
-
return
|
|
1000
|
+
return _this7._deviceProvider.enableBeautyEffect(value);
|
|
1040
1001
|
},
|
|
1041
1002
|
beautyOptions: function beautyOptions(value) {
|
|
1042
|
-
return
|
|
1003
|
+
return _this7._deviceProvider.setBeautyOptions(value);
|
|
1043
1004
|
},
|
|
1044
1005
|
virtualBackground: function virtualBackground(value) {
|
|
1045
|
-
return
|
|
1006
|
+
return _this7._deviceProvider.enableVirtualBackground(value.enable, value.source);
|
|
1046
1007
|
},
|
|
1047
1008
|
speakerId: function speakerId(value) {
|
|
1048
|
-
|
|
1049
|
-
if (_this6._deviceProvider.speakerList.find(function (item) {
|
|
1009
|
+
if (_this7._deviceProvider.speakerList.find(function (item) {
|
|
1050
1010
|
return item.deviceId === value;
|
|
1051
1011
|
})) {
|
|
1052
|
-
|
|
1012
|
+
_this7._deviceProvider.setSpeakerId(value);
|
|
1053
1013
|
} else {
|
|
1054
|
-
|
|
1055
|
-
_this6._setMeetingSettingsToLocalStorage({
|
|
1014
|
+
_this7._setMeetingSettingsToLocalStorage({
|
|
1056
1015
|
speakerId: _deviceProvider.DEFAULT_DEVICE_ID
|
|
1057
1016
|
});
|
|
1058
1017
|
}
|
|
1059
1018
|
},
|
|
1060
1019
|
cameraId: function cameraId(value) {
|
|
1061
|
-
if (
|
|
1020
|
+
if (_this7._deviceProvider.cameraList.find(function (item) {
|
|
1062
1021
|
return item.deviceId === value;
|
|
1063
1022
|
})) {
|
|
1064
|
-
|
|
1023
|
+
_this7._deviceProvider.setCameraId(value);
|
|
1065
1024
|
} else {
|
|
1066
|
-
var isDeviceListNotEmpty =
|
|
1025
|
+
var isDeviceListNotEmpty = _this7._deviceProvider.cameraList.length > 0;
|
|
1067
1026
|
if (isDeviceListNotEmpty) {
|
|
1068
|
-
|
|
1069
|
-
cameraId:
|
|
1027
|
+
_this7._setMeetingSettingsToLocalStorage({
|
|
1028
|
+
cameraId: _this7._deviceProvider.cameraList[0].deviceId
|
|
1070
1029
|
});
|
|
1071
1030
|
}
|
|
1072
1031
|
}
|
|
1073
1032
|
},
|
|
1074
1033
|
microphoneId: function microphoneId(value) {
|
|
1075
|
-
if (
|
|
1034
|
+
if (_this7._deviceProvider.microphoneList.find(function (item) {
|
|
1076
1035
|
return item.deviceId === value;
|
|
1077
1036
|
})) {
|
|
1078
|
-
|
|
1037
|
+
_this7._deviceProvider.setMicrophoneId(value);
|
|
1079
1038
|
} else {
|
|
1080
|
-
|
|
1039
|
+
_this7._setMeetingSettingsToLocalStorage({
|
|
1081
1040
|
microphoneId: _deviceProvider.DEFAULT_DEVICE_ID
|
|
1082
1041
|
});
|
|
1083
1042
|
}
|
|
@@ -1093,15 +1052,55 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1093
1052
|
}
|
|
1094
1053
|
}
|
|
1095
1054
|
}, {
|
|
1096
|
-
key: "
|
|
1097
|
-
value: function
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
}
|
|
1055
|
+
key: "clearGetSystemInfoInterval",
|
|
1056
|
+
value: function clearGetSystemInfoInterval() {
|
|
1057
|
+
this.getSystemInfoTimer && clearInterval(this.getSystemInfoTimer);
|
|
1058
|
+
this.getSystemInfoTimer = null;
|
|
1059
|
+
}
|
|
1060
|
+
}, {
|
|
1061
|
+
key: "changeMediaSetting",
|
|
1062
|
+
value: function changeMediaSetting(key, value) {
|
|
1063
|
+
this._sharedSettingDataSource.setMedia((0, _defineProperty2["default"])({}, key, value));
|
|
1064
|
+
}
|
|
1065
|
+
}, {
|
|
1066
|
+
key: "handleJoinRoom",
|
|
1067
|
+
value: function handleJoinRoom() {
|
|
1068
|
+
var roomProvider = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.P_ROOM_PROVIDER);
|
|
1069
|
+
this._currentRoomControl = new _roomProvider.FcrUICurrentRoomControlProviderImpl(roomProvider.currentRoomControl).currentRoomControl;
|
|
1070
|
+
this._currentRoomControl.addObserver(this._roomObserver);
|
|
1071
|
+
this._streamControl = this._currentRoomControl.getStreamControl();
|
|
1072
|
+
this._streamControl.addObserver(this._streamObserver);
|
|
1073
|
+
var streamInfoList = new Map();
|
|
1074
|
+
this._currentRoomControl.getStreamControl().getStreamList().forEach(function (streamInfo) {
|
|
1075
|
+
streamInfoList.set(streamInfo.streamId, streamInfo);
|
|
1076
|
+
});
|
|
1077
|
+
this._streamInfoList = streamInfoList;
|
|
1078
|
+
this._sharedInterpreterDataSource = this._objectManager.getObject(_objectManager.FcrUIObjectKeys.S_SHARED_INTERPRETER_DATA_SOURCE);
|
|
1079
|
+
this._interpreterRoomControlReaction = this._createInterpreterRoomControlReaction();
|
|
1080
|
+
this._disposers.push(this._interpreterRoomControlReaction);
|
|
1081
|
+
this.isHiddenStateTab = false;
|
|
1082
|
+
}
|
|
1083
|
+
}, {
|
|
1084
|
+
key: "handleExitRoom",
|
|
1085
|
+
value: function handleExitRoom() {
|
|
1086
|
+
var _this8 = this,
|
|
1087
|
+
_this$_streamControl,
|
|
1088
|
+
_this$_currentRoomCon3,
|
|
1089
|
+
_this$_interpreterRoo;
|
|
1090
|
+
this._disposers = this._disposers.filter(function (disposer) {
|
|
1091
|
+
if (disposer !== _this8._interpreterRoomControlReaction) {
|
|
1092
|
+
return true;
|
|
1093
|
+
} else {
|
|
1094
|
+
disposer();
|
|
1095
|
+
}
|
|
1096
|
+
});
|
|
1097
|
+
(_this$_streamControl = this._streamControl) === null || _this$_streamControl === void 0 || _this$_streamControl.removeObserver(this._streamObserver);
|
|
1098
|
+
(_this$_currentRoomCon3 = this._currentRoomControl) === null || _this$_currentRoomCon3 === void 0 || _this$_currentRoomCon3.removeObserver(this._roomObserver);
|
|
1099
|
+
(_this$_interpreterRoo = this._interpreterRoomControl) === null || _this$_interpreterRoo === void 0 || _this$_interpreterRoo.removeObserver(this._roomObserver);
|
|
1100
|
+
this._deviceProvider.resetDevice();
|
|
1101
|
+
this.isHiddenStateTab = true;
|
|
1102
|
+
this._currentRoomControl = undefined;
|
|
1103
|
+
this._interpreterRoomControl = undefined;
|
|
1105
1104
|
}
|
|
1106
1105
|
}, {
|
|
1107
1106
|
key: "_onNetworkStatsUpdated",
|
|
@@ -1111,17 +1110,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1111
1110
|
this.networkState[key] = Math.floor(stats[key]);
|
|
1112
1111
|
}
|
|
1113
1112
|
}
|
|
1114
|
-
}, {
|
|
1115
|
-
key: "clearGetSystemInfoInterval",
|
|
1116
|
-
value: function clearGetSystemInfoInterval() {
|
|
1117
|
-
this.getSystemInfoTimer && clearInterval(this.getSystemInfoTimer);
|
|
1118
|
-
this.getSystemInfoTimer = null;
|
|
1119
|
-
}
|
|
1120
|
-
}, {
|
|
1121
|
-
key: "closeDialog",
|
|
1122
|
-
value: function closeDialog() {
|
|
1123
|
-
this._eventProvider.closeDialog(this._currentDialogId);
|
|
1124
|
-
}
|
|
1125
1113
|
}, {
|
|
1126
1114
|
key: "_onLocalAudioStatsUpdated",
|
|
1127
1115
|
value: function _onLocalAudioStatsUpdated(roomId, streamId, stats) {
|
|
@@ -1231,9 +1219,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1231
1219
|
var key = _arr2[_i3];
|
|
1232
1220
|
this.performanceState[key] = Math.floor(status[key]);
|
|
1233
1221
|
}
|
|
1234
|
-
|
|
1235
|
-
// Native SDK BUG:可能会存在 cpuTotalUsage 比 cpuAppUsage 低或者为 0 的情况
|
|
1236
|
-
|
|
1237
1222
|
this.performanceState.cpuAppUsage = Math.max(0, this.performanceState.cpuAppUsage);
|
|
1238
1223
|
this.performanceState.cpuTotalUsage = Math.max(this.performanceState.cpuTotalUsage, this.performanceState.cpuAppUsage);
|
|
1239
1224
|
this.performanceState.cpuOtherAppUsage = this.performanceState.cpuTotalUsage - this.performanceState.cpuAppUsage;
|
|
@@ -1248,8 +1233,6 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1248
1233
|
}
|
|
1249
1234
|
if (!this._deviceProvider.cameraEnabled) {
|
|
1250
1235
|
this._deviceProvider.toggleLocalCameraPreview(true);
|
|
1251
|
-
// TODO:
|
|
1252
|
-
// this._deviceProvider.handleCameraChanged(true);
|
|
1253
1236
|
}
|
|
1254
1237
|
}
|
|
1255
1238
|
}, {
|
|
@@ -1294,28 +1277,23 @@ var SettingStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1294
1277
|
value: function _setMeetingSettingsToLocalStorage(value) {
|
|
1295
1278
|
this._sharedSettingDataSource.setSetting(value);
|
|
1296
1279
|
}
|
|
1297
|
-
}, {
|
|
1298
|
-
key: "changeMediaSetting",
|
|
1299
|
-
value: function changeMediaSetting(key, value) {
|
|
1300
|
-
this._sharedSettingDataSource.setMedia((0, _defineProperty2["default"])({}, key, value));
|
|
1301
|
-
}
|
|
1302
1280
|
}]);
|
|
1303
1281
|
}();
|
|
1304
|
-
|
|
1305
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(
|
|
1282
|
+
_SettingStoreBase = SettingStoreBase;
|
|
1283
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_SettingStoreBase, [[_mobx.observable, 1, "loudestStreamVolumeLevel"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "isWifiConnected"], [_mobx.observable, 1, "dialogConfig"], [_mobx.observable, 1, "networkState"], [_mobx.observable, 1, "performanceState"], [_mobx.observable, 1, "localAudioStreamMap"], [_mobx.observable, 1, "remoteAudioStreamMap"], [_mobx.observable, 1, "localVideoStreamMap"], [_mobx.observable, 1, "remoteVideoStreamMap"], [_mobx.observable, 1, "systemMemorySize"], [_mobx.observable, 1, "systemCpuDesc"], [_mobx.observable, 1, "getSystemInfoTimer"], [_mobx.observable, 1, "isHiddenStateTab"], [_mobx.computed, 3, "maxVideoSendInfo"], [_mobx.computed, 3, "maxVideoReceiveInfo"], [_mobx.computed, 3, "sendScreenShareInfo"], [_mobx.computed, 3, "receiveScreenShareInfo"], [_mobx.computed, 3, "microphoneVolumeDb"], [_mobx.computed, 3, "speakerVolumeDb"], [_mobx.computed, 3, "speakerTestVolumeLevel"], [_mobx.computed, 3, "microphoneTestVolumeLevel"], [_mobx.computed, 3, "speakerVolume"], [_mobx.computed, 3, "microphoneVolume"], [_mobx.computed, 3, "isLocalMirrorEnabled"], [_mobx.computed, 3, "isLocalEditBeautyOptions"], [_mobx.computed, 3, "currentBeautyKey"], [_mobx.computed, 3, "beautyOptions"], [_mobx.computed, 3, "cameraDeviceId"], [_mobx.computed, 3, "cameraEnabled"], [_mobx.computed, 3, "showForceOpenEffectDialog"], [_mobx.computed, 3, "currentVirtualBackgroundName"], [_mobx.computed, 3, "cameraDeviceList"], [_mobx.computed, 3, "microphoneDeviceId"], [_mobx.computed, 3, "speakerDeviceId"], [_mobx.computed, 3, "speakerDeviceList"], [_mobx.computed, 3, "microphoneDeviceList"], [_mobx.computed, 3, "enableBeauty"], [_mobx.computed, 3, "virtualBackgroundList"], [_mobx.computed, 3, "currentIsMirror"], [_mobx.computed, 3, "microphoneDetecting"], [_mobx.computed, 3, "speakerDetecting"], [_mobx.computed, 3, "setting"], [_mobx.computed, 3, "media"], [_mobx.computed, 3, "sceneConfig"], [_mobx.computed, 3, "sharedInterpreterDataSource"], [_mobx.computed, 3, "currentRoomControl"], [_mobx.computed, 3, "interpreterRoomControl"], [_decorator.bound, 2, "_syncSystemInfo"], [_decorator.bound, 2, "initSettingConfig"], [_decorator.bound, 2, "enableVirtualBackground"], [_decorator.bound, 2, "setEditBeautyKey"], [_decorator.bound, 2, "enableBeautyEffect"], [_decorator.bound, 2, "_initReactions"], [_decorator.bound, 2, "setCameraDevice"], [_decorator.bound, 2, "setMicrophoneDevice"], [_decorator.bound, 2, "stopSpeakerTest"], [_decorator.bound, 2, "startSpeakerTest"], [_decorator.bound, 2, "setSpeakerDevice"], [_decorator.bound, 2, "setSpeakerVolume"], [_decorator.bound, 2, "setMicrophoneVolume"], [_decorator.bound, 2, "setVideoOrientation"], [_decorator.bound, 2, "setBeautyOptions"], [_decorator.bound, 2, "toggleLocalMirrorPreview"], [_decorator.bound, 2, "startVideo"], [_decorator.bound, 2, "stopVideo"], [_decorator.bound, 2, "handleForceOpenVideoEffect"], [_decorator.bound, 2, "handleCancelForceOpenVideoEffect"], [_decorator.bound, 2, "toggleLocalMirror"], [_decorator.bound, 2, "setSettingVideoOpened"], [_decorator.bound, 2, "startCameraTest"], [_decorator.bound, 2, "stopCameraTest"], [_decorator.bound, 2, "startMicrophoneTest"], [_decorator.bound, 2, "stopMicrophoneTest"], [_setDialogConfigDecs, 18, "setDialogConfig"], [_setSettingDecs, 18, "setSetting"], [_clearGetSystemInfoIntervalDecs, 18, "clearGetSystemInfoInterval"], [_changeMediaSettingDecs, 18, "changeMediaSetting"], [_handleJoinRoomDecs, 18, "handleJoinRoom"], [_handleExitRoomDecs, 18, "handleExitRoom"], [_onNetworkStatsUpdatedDecs, 18, "_onNetworkStatsUpdated"], [_onLocalAudioStatsUpdatedDecs, 18, "_onLocalAudioStatsUpdated"], [_onRemoteAudioStatsUpdatedDecs, 18, "_onRemoteAudioStatsUpdated"], [_onLocalVideoStatsUpdatedDecs, 18, "_onLocalVideoStatsUpdated"], [_onRemoteVideoStatsUpdatedDecs, 18, "_onRemoteVideoStatsUpdated"], [_onStreamsAddedDecs, 18, "_onStreamsAdded"], [_onStreamsUpdatedDecs, 18, "_onStreamsUpdated"], [_onStreamsRemovedDecs, 18, "_onStreamsRemoved"], [_onPerformanceUpdatedDecs, 18, "_onPerformanceUpdated"], [_decorator.bound, 2, "_handleCameraChanged"], [_decorator.bound, 2, "_handleCameraListUpdated"], [_onAudioVolumeUpdatedDecs, 18, "_onAudioVolumeUpdated"], [_preHandleSettingDecs, 18, "_preHandleSetting"], [_setMeetingSettingsToLocalStorageDecs, 18, "_setMeetingSettingsToLocalStorage"]], []).e, 15);
|
|
1306
1284
|
_init_loudestStreamVolumeLevel = _applyDecs$e[0];
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1285
|
+
_init_microphoneVolumeLevel = _applyDecs$e[1];
|
|
1286
|
+
_init_isWifiConnected = _applyDecs$e[2];
|
|
1287
|
+
_init_dialogConfig = _applyDecs$e[3];
|
|
1288
|
+
_init_networkState = _applyDecs$e[4];
|
|
1289
|
+
_init_performanceState = _applyDecs$e[5];
|
|
1290
|
+
_init_localAudioStreamMap = _applyDecs$e[6];
|
|
1291
|
+
_init_remoteAudioStreamMap = _applyDecs$e[7];
|
|
1292
|
+
_init_localVideoStreamMap = _applyDecs$e[8];
|
|
1293
|
+
_init_remoteVideoStreamMap = _applyDecs$e[9];
|
|
1294
|
+
_init_systemMemorySize = _applyDecs$e[10];
|
|
1295
|
+
_init_systemCpuDesc = _applyDecs$e[11];
|
|
1296
|
+
_init_getSystemInfoTimer = _applyDecs$e[12];
|
|
1297
|
+
_init_isHiddenStateTab = _applyDecs$e[13];
|
|
1320
1298
|
_initProto = _applyDecs$e[14];
|
|
1321
1299
|
var StoreContext = exports.StoreContext = /*#__PURE__*/(0, _react.createContext)(null);
|