fcr-ui-scene 3.7.4 → 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
|
@@ -25,6 +25,7 @@ require("core-js/modules/es.array.concat.js");
|
|
|
25
25
|
require("core-js/modules/es.array.filter.js");
|
|
26
26
|
require("core-js/modules/es.array.find.js");
|
|
27
27
|
require("core-js/modules/es.array.for-each.js");
|
|
28
|
+
require("core-js/modules/es.array.includes.js");
|
|
28
29
|
require("core-js/modules/es.array.iterator.js");
|
|
29
30
|
require("core-js/modules/es.array.map.js");
|
|
30
31
|
require("core-js/modules/es.array.push.js");
|
|
@@ -41,7 +42,9 @@ require("core-js/modules/es.promise.js");
|
|
|
41
42
|
require("core-js/modules/es.promise.all-settled.js");
|
|
42
43
|
require("core-js/modules/es.regexp.exec.js");
|
|
43
44
|
require("core-js/modules/es.set.js");
|
|
45
|
+
require("core-js/modules/es.string.includes.js");
|
|
44
46
|
require("core-js/modules/es.string.iterator.js");
|
|
47
|
+
require("core-js/modules/es.string.replace.js");
|
|
45
48
|
require("core-js/modules/es.weak-map.js");
|
|
46
49
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
47
50
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
@@ -104,10 +107,9 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
|
104
107
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
105
108
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
106
109
|
var _imports = require("fcr-core/lib/imports");
|
|
107
|
-
var
|
|
110
|
+
var _type = require("fcr-core/lib/type");
|
|
108
111
|
var _env = require("agora-foundation/lib/utilities/env");
|
|
109
112
|
var _fcrCore = require("fcr-core");
|
|
110
|
-
var _type = require("fcr-core/lib/type");
|
|
111
113
|
var _localVideoPlayer = require("agora-ui-foundation/lib/components/local-video-player");
|
|
112
114
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
113
115
|
var _mobx = require("mobx");
|
|
@@ -116,7 +118,7 @@ var _type2 = require("../type");
|
|
|
116
118
|
var _tools = require("../utilities/tools");
|
|
117
119
|
var _logger = require("../utilities/logger");
|
|
118
120
|
var _FcrUIDeviceProviderImpl;
|
|
119
|
-
var _initProto, _init__microphoneDevice, _init__microphone, _init__speakerDevice, _init__speaker, _init__cameraDevice, _init_currentIsMirror, _init_showForceOpenEffectDialog, _init_cameraEnabled, _init_showCameraPreview,
|
|
121
|
+
var _initProto, _init__microphoneEnabled, _init__isMicrophoneWorking, _init__microphoneDevice, _init__microphone, _init__speakerDevice, _init__speaker, _init__cameraDevice, _init_currentIsMirror, _init_showForceOpenEffectDialog, _init_cameraEnabled, _init_showCameraPreview, _init_cameraList, _init_microphoneList, _init_microphoneVolumeLevel, _init_speakerList, _init_isLocalMirrorEnabled, _init_isLocalEditBeautyOptions, _init_speakerVolumeLevel, _init_speakerVolume, _init_microphoneVolume, _init_virtualBackgroundName, _init_enableBeauty, _init_beautyKey, _init_beautyOptions, _init_virtualBackgroundList, _init_soundEffectList, _init_microphoneDetecting, _init_speakerDetecting, _init_connectType, _init_isMainRoomAudioOff, _startPlayLocalVideoDecs, _stopPlayLocalVideoDecs, _startSpeakerTestDecs, _stopSpeakerTestDecs, _setCurrentIsMirrorDecs, _toggleLocalMirrorPreviewDecs, _setBeautyOptionsDecs, _handleCancelForceOpenVideoEffectDecs, _handleForceOpenVideoEffectDecs, _setCameraEnabledDecs, _handleCameraEnabledChangedDecs, _setMicrophoneEnabledDecs, _toggleLocalMirrorDecs, _resetMirrorDecs, _startMicrophoneTestDecs, _stopMicrophoneTestDecs, _enableVirtualBackgroundDecs, _setEditBeautyKeyDecs, _enableBeautyEffectDecs, _setCameraIdDecs, _setMainRoomAudioOffDecs, _setSpeakerIdDecs, _setMicrophoneIdDecs, _setSpeakerVolumeDecs, _setMicrophoneVolumeDecs, _startOrStopCameraDecs, _setShowCameraPreviewDecs, _loadUiResourcesDecs, _loadZipResourcesDecs, _setConnectTypeDecs, _toggleLocalCameraPreviewDecs, _getLoopbackDeviceIdDecs, _initDeviceListDecs, _handleMicrophoneAudioTrackDecs, _handleMicrophoneStateUpdatedDecs, _handleMicrophoneEnabledChangedDecs, _handleCameraVideoTrackDecs, _handleSpeakerDetectingChangedDecs, _stopSelectedSpeakerTestDecs, _handleMicrophoneDetectingChangedDecs, _stopMicrophoneTestDecs2, _updateVirtualBackgroundListDecs, _handleSystemSelectedSpeakerChangedDecs, _handleSystemSelectedMicrophoneChangedDecs, _correctSystemSelectedMicrophoneDeviceIdDecs, _handleSelectedSpeakerVolumeUpdatedDecs, _handleSpeakerTestVolumeIndicationUpdatedDecs, _handleMicrophoneVolumeIndicationUpdatedDecs, _handleSpeakerAddedDecs, _handleSpeakerRemovedDecs, _handleSpeakerListUpdatedDecs, _getMicrophoneListDecs, _getSpeakerListDecs, _formatDeviceListDecs, _loadBuiltinResourcesDecs, _ref;
|
|
120
122
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
121
123
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
122
124
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -161,9 +163,10 @@ var _Z = /*#__PURE__*/new WeakMap();
|
|
|
161
163
|
var _a = /*#__PURE__*/new WeakMap();
|
|
162
164
|
var _b = /*#__PURE__*/new WeakMap();
|
|
163
165
|
var _c = /*#__PURE__*/new WeakMap();
|
|
164
|
-
|
|
166
|
+
var _d = /*#__PURE__*/new WeakMap();
|
|
167
|
+
_ref = (_startPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _stopPlayLocalVideoDecs = [_mobx.action, _mobx.action.bound], _startSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _stopSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _setCurrentIsMirrorDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorPreviewDecs = [_mobx.action, _mobx.action.bound], _setBeautyOptionsDecs = [_mobx.action, _mobx.action.bound], _handleCancelForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _handleForceOpenVideoEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraEnabledDecs = [_mobx.action, _mobx.action.bound], _handleCameraEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneEnabledDecs = [_mobx.action, _mobx.action.bound], _toggleLocalMirrorDecs = [_mobx.action, _mobx.action.bound], _resetMirrorDecs = [_mobx.action, _mobx.action.bound], _startMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs = [_mobx.action, _mobx.action.bound], _enableVirtualBackgroundDecs = [_mobx.action, _mobx.action.bound], _setEditBeautyKeyDecs = [_mobx.action, _mobx.action.bound], _enableBeautyEffectDecs = [_mobx.action, _mobx.action.bound], _setCameraIdDecs = [_mobx.action, _mobx.action.bound], _setMainRoomAudioOffDecs = [_mobx.action, _mobx.action.bound], _setSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setSpeakerVolumeDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneVolumeDecs = [_mobx.action, _mobx.action.bound], _startOrStopCameraDecs = [_mobx.action, _mobx.action.bound], _setShowCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _loadUiResourcesDecs = [_mobx.action, _mobx.action.bound], _loadZipResourcesDecs = [_mobx.action, _mobx.action.bound], _setConnectTypeDecs = [_mobx.action, _mobx.action.bound], _toggleLocalCameraPreviewDecs = [_mobx.action, _mobx.action.bound], _getLoopbackDeviceIdDecs = [_mobx.action, _mobx.action.bound], _initDeviceListDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneAudioTrackDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneEnabledChangedDecs = [_mobx.action, _mobx.action.bound], _handleCameraVideoTrackDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopSelectedSpeakerTestDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneDetectingChangedDecs = [_mobx.action, _mobx.action.bound], _stopMicrophoneTestDecs2 = [_mobx.action, _mobx.action.bound], _updateVirtualBackgroundListDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedSpeakerChangedDecs = [_mobx.action, _mobx.action.bound], _handleSystemSelectedMicrophoneChangedDecs = [_mobx.action, _mobx.action.bound], _correctSystemSelectedMicrophoneDeviceIdDecs = [_mobx.action, _mobx.action.bound], _handleSelectedSpeakerVolumeUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerTestVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleMicrophoneVolumeIndicationUpdatedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerAddedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerRemovedDecs = [_mobx.action, _mobx.action.bound], _handleSpeakerListUpdatedDecs = [_mobx.action, _mobx.action.bound], _getMicrophoneListDecs = [_mobx.action, _mobx.action.bound], _getSpeakerListDecs = [_mobx.action, _mobx.action.bound], _formatDeviceListDecs = [_mobx.action, _mobx.action.bound], _loadBuiltinResourcesDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
165
168
|
var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/function () {
|
|
166
|
-
function FcrUIDeviceProviderImpl(
|
|
169
|
+
function FcrUIDeviceProviderImpl(_renderer, _facilityProvider, _messageProvider, _mediaControl, _sharedSettingDataSource) {
|
|
167
170
|
var _this = this;
|
|
168
171
|
(0, _classCallCheck2["default"])(this, FcrUIDeviceProviderImpl);
|
|
169
172
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.createLogger)({
|
|
@@ -187,7 +190,8 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
187
190
|
(0, _defineProperty2["default"])(this, "_lastEnableVideoEffectType", _type2.FcrUIVideoEffectType.NONE);
|
|
188
191
|
// microphone observer
|
|
189
192
|
(0, _defineProperty2["default"])(this, "_microphoneObserver", {
|
|
190
|
-
onVolumeIndicationUpdated: this._handleMicrophoneVolumeIndicationUpdated
|
|
193
|
+
onVolumeIndicationUpdated: this._handleMicrophoneVolumeIndicationUpdated,
|
|
194
|
+
onMicrophoneStateUpdated: this._handleMicrophoneStateUpdated
|
|
191
195
|
});
|
|
192
196
|
(0, _defineProperty2["default"])(this, "_mediaControlObserver", {
|
|
193
197
|
onCameraAdded: this._handleCameraAdded,
|
|
@@ -203,54 +207,58 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
203
207
|
});
|
|
204
208
|
(0, _defineProperty2["default"])(this, "_defaultMirror", true);
|
|
205
209
|
(0, _defineProperty2["default"])(this, "_volumeIndicationInterval", 200);
|
|
206
|
-
_classPrivateFieldInitSpec(this, _A,
|
|
210
|
+
_classPrivateFieldInitSpec(this, _A, _init__microphoneEnabled(this, false));
|
|
211
|
+
_classPrivateFieldInitSpec(this, _B, _init__isMicrophoneWorking(this, false));
|
|
212
|
+
_classPrivateFieldInitSpec(this, _C, _init__microphoneDevice(this, {
|
|
207
213
|
id: null
|
|
208
214
|
}));
|
|
209
|
-
_classPrivateFieldInitSpec(this,
|
|
215
|
+
_classPrivateFieldInitSpec(this, _D, _init__microphone(this, {
|
|
210
216
|
id: DEFAULT_DEVICE_ID
|
|
211
217
|
}));
|
|
212
|
-
_classPrivateFieldInitSpec(this,
|
|
218
|
+
_classPrivateFieldInitSpec(this, _E, _init__speakerDevice(this, {
|
|
213
219
|
id: null
|
|
214
220
|
}));
|
|
215
|
-
_classPrivateFieldInitSpec(this,
|
|
221
|
+
_classPrivateFieldInitSpec(this, _F, _init__speaker(this, {
|
|
216
222
|
id: DEFAULT_DEVICE_ID
|
|
217
223
|
}));
|
|
218
|
-
_classPrivateFieldInitSpec(this,
|
|
224
|
+
_classPrivateFieldInitSpec(this, _G, _init__cameraDevice(this, {
|
|
219
225
|
id: null
|
|
220
226
|
}));
|
|
221
227
|
// 是否开启镜像
|
|
222
|
-
_classPrivateFieldInitSpec(this,
|
|
228
|
+
_classPrivateFieldInitSpec(this, _H, _init_currentIsMirror(this, true));
|
|
223
229
|
// 是否展示展示强制开启特效弹窗
|
|
224
|
-
_classPrivateFieldInitSpec(this,
|
|
225
|
-
_classPrivateFieldInitSpec(this,
|
|
226
|
-
_classPrivateFieldInitSpec(this,
|
|
227
|
-
|
|
228
|
-
_classPrivateFieldInitSpec(this,
|
|
229
|
-
_classPrivateFieldInitSpec(this,
|
|
230
|
-
_classPrivateFieldInitSpec(this,
|
|
231
|
-
_classPrivateFieldInitSpec(this,
|
|
232
|
-
_classPrivateFieldInitSpec(this,
|
|
233
|
-
_classPrivateFieldInitSpec(this,
|
|
234
|
-
_classPrivateFieldInitSpec(this,
|
|
235
|
-
_classPrivateFieldInitSpec(this,
|
|
236
|
-
_classPrivateFieldInitSpec(this,
|
|
237
|
-
_classPrivateFieldInitSpec(this,
|
|
238
|
-
_classPrivateFieldInitSpec(this,
|
|
239
|
-
_classPrivateFieldInitSpec(this,
|
|
240
|
-
_classPrivateFieldInitSpec(this,
|
|
230
|
+
_classPrivateFieldInitSpec(this, _I, _init_showForceOpenEffectDialog(this, false));
|
|
231
|
+
_classPrivateFieldInitSpec(this, _J, _init_cameraEnabled(this, false));
|
|
232
|
+
_classPrivateFieldInitSpec(this, _K, _init_showCameraPreview(this, false));
|
|
233
|
+
// @observable accessor microphoneEnabled = false;
|
|
234
|
+
_classPrivateFieldInitSpec(this, _L, _init_cameraList(this, []));
|
|
235
|
+
_classPrivateFieldInitSpec(this, _M, _init_microphoneList(this, []));
|
|
236
|
+
_classPrivateFieldInitSpec(this, _N, _init_microphoneVolumeLevel(this, 0));
|
|
237
|
+
_classPrivateFieldInitSpec(this, _O, _init_speakerList(this, []));
|
|
238
|
+
_classPrivateFieldInitSpec(this, _P, _init_isLocalMirrorEnabled(this, false));
|
|
239
|
+
_classPrivateFieldInitSpec(this, _Q, _init_isLocalEditBeautyOptions(this, false));
|
|
240
|
+
_classPrivateFieldInitSpec(this, _R, _init_speakerVolumeLevel(this, 0));
|
|
241
|
+
_classPrivateFieldInitSpec(this, _S, _init_speakerVolume(this, 0));
|
|
242
|
+
_classPrivateFieldInitSpec(this, _T, _init_microphoneVolume(this, 100));
|
|
243
|
+
_classPrivateFieldInitSpec(this, _U, _init_virtualBackgroundName(this, 'None'));
|
|
244
|
+
_classPrivateFieldInitSpec(this, _V, _init_enableBeauty(this, false));
|
|
245
|
+
_classPrivateFieldInitSpec(this, _W, _init_beautyKey(this, 'none'));
|
|
246
|
+
_classPrivateFieldInitSpec(this, _X, _init_beautyOptions(this, {
|
|
241
247
|
lighteningContrastLevel: 0,
|
|
242
248
|
lighteningLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
|
|
243
249
|
smoothnessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
|
|
244
250
|
sharpnessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE,
|
|
245
251
|
rednessLevel: _localVideoPlayer.DEFAULT_BEAUTY_VALUE
|
|
246
252
|
}));
|
|
247
|
-
_classPrivateFieldInitSpec(this,
|
|
248
|
-
_classPrivateFieldInitSpec(this,
|
|
249
|
-
_classPrivateFieldInitSpec(this,
|
|
250
|
-
_classPrivateFieldInitSpec(this,
|
|
251
|
-
_classPrivateFieldInitSpec(this,
|
|
252
|
-
_classPrivateFieldInitSpec(this,
|
|
253
|
-
this.
|
|
253
|
+
_classPrivateFieldInitSpec(this, _Y, _init_virtualBackgroundList(this, []));
|
|
254
|
+
_classPrivateFieldInitSpec(this, _Z, _init_soundEffectList(this, new Map()));
|
|
255
|
+
_classPrivateFieldInitSpec(this, _a, _init_microphoneDetecting(this, false));
|
|
256
|
+
_classPrivateFieldInitSpec(this, _b, _init_speakerDetecting(this, false));
|
|
257
|
+
_classPrivateFieldInitSpec(this, _c, _init_connectType(this, _type2.FcrUIConnectType.NONE));
|
|
258
|
+
_classPrivateFieldInitSpec(this, _d, _init_isMainRoomAudioOff(this, false));
|
|
259
|
+
this._renderer = _renderer;
|
|
260
|
+
this._facilityProvider = _facilityProvider;
|
|
261
|
+
this._messageProvider = _messageProvider;
|
|
254
262
|
this._mediaControl = _mediaControl;
|
|
255
263
|
this._sharedSettingDataSource = _sharedSettingDataSource;
|
|
256
264
|
this._disposer.push((0, _mobx.reaction)(function () {
|
|
@@ -258,7 +266,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
258
266
|
}, this._handleCameraEnabledChanged), (0, _mobx.reaction)(function () {
|
|
259
267
|
return _this._cameraDevice;
|
|
260
268
|
}, this._handleCameraDeviceIdChanged), (0, _mobx.reaction)(function () {
|
|
261
|
-
return _this.
|
|
269
|
+
return _this._microphoneEnabled;
|
|
262
270
|
}, this._handleMicrophoneEnabledChanged), (0, _mobx.reaction)(function () {
|
|
263
271
|
return _this._microphone;
|
|
264
272
|
}, this._handleMicrophoneIdChanged), (0, _mobx.reaction)(function () {
|
|
@@ -279,7 +287,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
279
287
|
});
|
|
280
288
|
}
|
|
281
289
|
return (0, _createClass2["default"])(FcrUIDeviceProviderImpl, [{
|
|
282
|
-
key: "
|
|
290
|
+
key: "_microphoneEnabled",
|
|
283
291
|
get: function get() {
|
|
284
292
|
return _classPrivateFieldGet(_A, this);
|
|
285
293
|
},
|
|
@@ -287,7 +295,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
287
295
|
_classPrivateFieldSet(_A, this, v);
|
|
288
296
|
}
|
|
289
297
|
}, {
|
|
290
|
-
key: "
|
|
298
|
+
key: "_isMicrophoneWorking",
|
|
291
299
|
get: function get() {
|
|
292
300
|
return _classPrivateFieldGet(_B, this);
|
|
293
301
|
},
|
|
@@ -295,7 +303,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
295
303
|
_classPrivateFieldSet(_B, this, v);
|
|
296
304
|
}
|
|
297
305
|
}, {
|
|
298
|
-
key: "
|
|
306
|
+
key: "_microphoneDevice",
|
|
299
307
|
get: function get() {
|
|
300
308
|
return _classPrivateFieldGet(_C, this);
|
|
301
309
|
},
|
|
@@ -303,7 +311,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
303
311
|
_classPrivateFieldSet(_C, this, v);
|
|
304
312
|
}
|
|
305
313
|
}, {
|
|
306
|
-
key: "
|
|
314
|
+
key: "_microphone",
|
|
307
315
|
get: function get() {
|
|
308
316
|
return _classPrivateFieldGet(_D, this);
|
|
309
317
|
},
|
|
@@ -311,7 +319,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
311
319
|
_classPrivateFieldSet(_D, this, v);
|
|
312
320
|
}
|
|
313
321
|
}, {
|
|
314
|
-
key: "
|
|
322
|
+
key: "_speakerDevice",
|
|
315
323
|
get: function get() {
|
|
316
324
|
return _classPrivateFieldGet(_E, this);
|
|
317
325
|
},
|
|
@@ -319,7 +327,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
319
327
|
_classPrivateFieldSet(_E, this, v);
|
|
320
328
|
}
|
|
321
329
|
}, {
|
|
322
|
-
key: "
|
|
330
|
+
key: "_speaker",
|
|
323
331
|
get: function get() {
|
|
324
332
|
return _classPrivateFieldGet(_F, this);
|
|
325
333
|
},
|
|
@@ -327,7 +335,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
327
335
|
_classPrivateFieldSet(_F, this, v);
|
|
328
336
|
}
|
|
329
337
|
}, {
|
|
330
|
-
key: "
|
|
338
|
+
key: "_cameraDevice",
|
|
331
339
|
get: function get() {
|
|
332
340
|
return _classPrivateFieldGet(_G, this);
|
|
333
341
|
},
|
|
@@ -335,7 +343,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
335
343
|
_classPrivateFieldSet(_G, this, v);
|
|
336
344
|
}
|
|
337
345
|
}, {
|
|
338
|
-
key: "
|
|
346
|
+
key: "currentIsMirror",
|
|
339
347
|
get: function get() {
|
|
340
348
|
return _classPrivateFieldGet(_H, this);
|
|
341
349
|
},
|
|
@@ -343,7 +351,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
343
351
|
_classPrivateFieldSet(_H, this, v);
|
|
344
352
|
}
|
|
345
353
|
}, {
|
|
346
|
-
key: "
|
|
354
|
+
key: "showForceOpenEffectDialog",
|
|
347
355
|
get: function get() {
|
|
348
356
|
return _classPrivateFieldGet(_I, this);
|
|
349
357
|
},
|
|
@@ -351,7 +359,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
351
359
|
_classPrivateFieldSet(_I, this, v);
|
|
352
360
|
}
|
|
353
361
|
}, {
|
|
354
|
-
key: "
|
|
362
|
+
key: "cameraEnabled",
|
|
355
363
|
get: function get() {
|
|
356
364
|
return _classPrivateFieldGet(_J, this);
|
|
357
365
|
},
|
|
@@ -359,7 +367,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
359
367
|
_classPrivateFieldSet(_J, this, v);
|
|
360
368
|
}
|
|
361
369
|
}, {
|
|
362
|
-
key: "
|
|
370
|
+
key: "showCameraPreview",
|
|
363
371
|
get: function get() {
|
|
364
372
|
return _classPrivateFieldGet(_K, this);
|
|
365
373
|
},
|
|
@@ -367,7 +375,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
367
375
|
_classPrivateFieldSet(_K, this, v);
|
|
368
376
|
}
|
|
369
377
|
}, {
|
|
370
|
-
key: "
|
|
378
|
+
key: "cameraList",
|
|
371
379
|
get: function get() {
|
|
372
380
|
return _classPrivateFieldGet(_L, this);
|
|
373
381
|
},
|
|
@@ -375,7 +383,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
375
383
|
_classPrivateFieldSet(_L, this, v);
|
|
376
384
|
}
|
|
377
385
|
}, {
|
|
378
|
-
key: "
|
|
386
|
+
key: "microphoneList",
|
|
379
387
|
get: function get() {
|
|
380
388
|
return _classPrivateFieldGet(_M, this);
|
|
381
389
|
},
|
|
@@ -383,7 +391,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
383
391
|
_classPrivateFieldSet(_M, this, v);
|
|
384
392
|
}
|
|
385
393
|
}, {
|
|
386
|
-
key: "
|
|
394
|
+
key: "microphoneVolumeLevel",
|
|
387
395
|
get: function get() {
|
|
388
396
|
return _classPrivateFieldGet(_N, this);
|
|
389
397
|
},
|
|
@@ -391,7 +399,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
391
399
|
_classPrivateFieldSet(_N, this, v);
|
|
392
400
|
}
|
|
393
401
|
}, {
|
|
394
|
-
key: "
|
|
402
|
+
key: "speakerList",
|
|
395
403
|
get: function get() {
|
|
396
404
|
return _classPrivateFieldGet(_O, this);
|
|
397
405
|
},
|
|
@@ -399,7 +407,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
399
407
|
_classPrivateFieldSet(_O, this, v);
|
|
400
408
|
}
|
|
401
409
|
}, {
|
|
402
|
-
key: "
|
|
410
|
+
key: "isLocalMirrorEnabled",
|
|
403
411
|
get: function get() {
|
|
404
412
|
return _classPrivateFieldGet(_P, this);
|
|
405
413
|
},
|
|
@@ -407,7 +415,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
407
415
|
_classPrivateFieldSet(_P, this, v);
|
|
408
416
|
}
|
|
409
417
|
}, {
|
|
410
|
-
key: "
|
|
418
|
+
key: "isLocalEditBeautyOptions",
|
|
411
419
|
get: function get() {
|
|
412
420
|
return _classPrivateFieldGet(_Q, this);
|
|
413
421
|
},
|
|
@@ -415,7 +423,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
415
423
|
_classPrivateFieldSet(_Q, this, v);
|
|
416
424
|
}
|
|
417
425
|
}, {
|
|
418
|
-
key: "
|
|
426
|
+
key: "speakerVolumeLevel",
|
|
419
427
|
get: function get() {
|
|
420
428
|
return _classPrivateFieldGet(_R, this);
|
|
421
429
|
},
|
|
@@ -423,7 +431,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
423
431
|
_classPrivateFieldSet(_R, this, v);
|
|
424
432
|
}
|
|
425
433
|
}, {
|
|
426
|
-
key: "
|
|
434
|
+
key: "speakerVolume",
|
|
427
435
|
get: function get() {
|
|
428
436
|
return _classPrivateFieldGet(_S, this);
|
|
429
437
|
},
|
|
@@ -431,7 +439,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
431
439
|
_classPrivateFieldSet(_S, this, v);
|
|
432
440
|
}
|
|
433
441
|
}, {
|
|
434
|
-
key: "
|
|
442
|
+
key: "microphoneVolume",
|
|
435
443
|
get: function get() {
|
|
436
444
|
return _classPrivateFieldGet(_T, this);
|
|
437
445
|
},
|
|
@@ -439,7 +447,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
439
447
|
_classPrivateFieldSet(_T, this, v);
|
|
440
448
|
}
|
|
441
449
|
}, {
|
|
442
|
-
key: "
|
|
450
|
+
key: "virtualBackgroundName",
|
|
443
451
|
get: function get() {
|
|
444
452
|
return _classPrivateFieldGet(_U, this);
|
|
445
453
|
},
|
|
@@ -447,7 +455,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
447
455
|
_classPrivateFieldSet(_U, this, v);
|
|
448
456
|
}
|
|
449
457
|
}, {
|
|
450
|
-
key: "
|
|
458
|
+
key: "enableBeauty",
|
|
451
459
|
get: function get() {
|
|
452
460
|
return _classPrivateFieldGet(_V, this);
|
|
453
461
|
},
|
|
@@ -455,7 +463,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
455
463
|
_classPrivateFieldSet(_V, this, v);
|
|
456
464
|
}
|
|
457
465
|
}, {
|
|
458
|
-
key: "
|
|
466
|
+
key: "beautyKey",
|
|
459
467
|
get: function get() {
|
|
460
468
|
return _classPrivateFieldGet(_W, this);
|
|
461
469
|
},
|
|
@@ -463,7 +471,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
463
471
|
_classPrivateFieldSet(_W, this, v);
|
|
464
472
|
}
|
|
465
473
|
}, {
|
|
466
|
-
key: "
|
|
474
|
+
key: "beautyOptions",
|
|
467
475
|
get: function get() {
|
|
468
476
|
return _classPrivateFieldGet(_X, this);
|
|
469
477
|
},
|
|
@@ -471,7 +479,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
471
479
|
_classPrivateFieldSet(_X, this, v);
|
|
472
480
|
}
|
|
473
481
|
}, {
|
|
474
|
-
key: "
|
|
482
|
+
key: "virtualBackgroundList",
|
|
475
483
|
get: function get() {
|
|
476
484
|
return _classPrivateFieldGet(_Y, this);
|
|
477
485
|
},
|
|
@@ -479,7 +487,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
479
487
|
_classPrivateFieldSet(_Y, this, v);
|
|
480
488
|
}
|
|
481
489
|
}, {
|
|
482
|
-
key: "
|
|
490
|
+
key: "soundEffectList",
|
|
483
491
|
get: function get() {
|
|
484
492
|
return _classPrivateFieldGet(_Z, this);
|
|
485
493
|
},
|
|
@@ -487,7 +495,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
487
495
|
_classPrivateFieldSet(_Z, this, v);
|
|
488
496
|
}
|
|
489
497
|
}, {
|
|
490
|
-
key: "
|
|
498
|
+
key: "microphoneDetecting",
|
|
491
499
|
get: function get() {
|
|
492
500
|
return _classPrivateFieldGet(_a, this);
|
|
493
501
|
},
|
|
@@ -495,7 +503,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
495
503
|
_classPrivateFieldSet(_a, this, v);
|
|
496
504
|
}
|
|
497
505
|
}, {
|
|
498
|
-
key: "
|
|
506
|
+
key: "speakerDetecting",
|
|
499
507
|
get: function get() {
|
|
500
508
|
return _classPrivateFieldGet(_b, this);
|
|
501
509
|
},
|
|
@@ -503,13 +511,21 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
503
511
|
_classPrivateFieldSet(_b, this, v);
|
|
504
512
|
}
|
|
505
513
|
}, {
|
|
506
|
-
key: "
|
|
514
|
+
key: "connectType",
|
|
507
515
|
get: function get() {
|
|
508
516
|
return _classPrivateFieldGet(_c, this);
|
|
509
517
|
},
|
|
510
518
|
set: function set(v) {
|
|
511
519
|
_classPrivateFieldSet(_c, this, v);
|
|
512
520
|
}
|
|
521
|
+
}, {
|
|
522
|
+
key: "isMainRoomAudioOff",
|
|
523
|
+
get: function get() {
|
|
524
|
+
return _classPrivateFieldGet(_d, this);
|
|
525
|
+
},
|
|
526
|
+
set: function set(v) {
|
|
527
|
+
_classPrivateFieldSet(_d, this, v);
|
|
528
|
+
}
|
|
513
529
|
}, {
|
|
514
530
|
key: "ifAccessMicrophone",
|
|
515
531
|
value: function () {
|
|
@@ -524,7 +540,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
524
540
|
break;
|
|
525
541
|
}
|
|
526
542
|
_context.next = 1;
|
|
527
|
-
return
|
|
543
|
+
return this._facilityProvider.checkMicrophonePermission();
|
|
528
544
|
case 1:
|
|
529
545
|
hasSystemPermission = _context.sent;
|
|
530
546
|
case 2:
|
|
@@ -533,7 +549,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
533
549
|
case "end":
|
|
534
550
|
return _context.stop();
|
|
535
551
|
}
|
|
536
|
-
}, _callee);
|
|
552
|
+
}, _callee, this);
|
|
537
553
|
}));
|
|
538
554
|
function ifAccessMicrophone() {
|
|
539
555
|
return _ifAccessMicrophone.apply(this, arguments);
|
|
@@ -554,7 +570,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
554
570
|
break;
|
|
555
571
|
}
|
|
556
572
|
_context2.next = 1;
|
|
557
|
-
return
|
|
573
|
+
return this._facilityProvider.checkCameraPermission();
|
|
558
574
|
case 1:
|
|
559
575
|
hasSystemPermission = _context2.sent;
|
|
560
576
|
case 2:
|
|
@@ -563,7 +579,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
563
579
|
case "end":
|
|
564
580
|
return _context2.stop();
|
|
565
581
|
}
|
|
566
|
-
}, _callee2);
|
|
582
|
+
}, _callee2, this);
|
|
567
583
|
}));
|
|
568
584
|
function ifAccessCamera() {
|
|
569
585
|
return _ifAccessCamera.apply(this, arguments);
|
|
@@ -595,12 +611,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
595
611
|
}
|
|
596
612
|
}
|
|
597
613
|
if (this.microphoneList.length > 0) {
|
|
598
|
-
this.
|
|
614
|
+
this._messageProvider.showToast({
|
|
599
615
|
type: 'normal',
|
|
600
616
|
message: (0, _i18n.transI18n)('fmt_gateway_tips_nodata')
|
|
601
617
|
});
|
|
602
618
|
} else {
|
|
603
|
-
this.
|
|
619
|
+
this._messageProvider.showToast({
|
|
604
620
|
type: 'normal',
|
|
605
621
|
message: (0, _i18n.transI18n)('fmt_toolbar_label_nodevice')
|
|
606
622
|
});
|
|
@@ -679,6 +695,37 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
679
695
|
get: function get() {
|
|
680
696
|
return !this._sharedSettingDataSource.media.microphoneExpectedOff && this._sharedSettingDataSource.media.autoConnectAudio;
|
|
681
697
|
}
|
|
698
|
+
}, {
|
|
699
|
+
key: "microphoneEnabled",
|
|
700
|
+
get: function get() {
|
|
701
|
+
return this._microphoneEnabled && !this.speakerDetecting && this._isMicrophoneWorking;
|
|
702
|
+
}
|
|
703
|
+
}, {
|
|
704
|
+
key: "microphoneState",
|
|
705
|
+
get: function get() {
|
|
706
|
+
if (this.speakerDetecting) {
|
|
707
|
+
return _type2.FcrUIMicrophoneState.MUTE;
|
|
708
|
+
}
|
|
709
|
+
if (this._microphoneEnabled && this._isMicrophoneWorking) {
|
|
710
|
+
return _type2.FcrUIMicrophoneState.UNMUTE;
|
|
711
|
+
}
|
|
712
|
+
if (this._microphoneEnabled && !this._isMicrophoneWorking) {
|
|
713
|
+
return _type2.FcrUIMicrophoneState.OPENING;
|
|
714
|
+
}
|
|
715
|
+
if (!this._microphoneEnabled) {
|
|
716
|
+
return _type2.FcrUIMicrophoneState.MUTE;
|
|
717
|
+
}
|
|
718
|
+
return _type2.FcrUIMicrophoneState.MUTE;
|
|
719
|
+
}
|
|
720
|
+
}, {
|
|
721
|
+
key: "resetDevice",
|
|
722
|
+
value: function resetDevice() {
|
|
723
|
+
this._hasExecutedOpenCamera = false;
|
|
724
|
+
this._hasExecutedConnectAudio = false;
|
|
725
|
+
this._isAudioConnected = false;
|
|
726
|
+
this.setCameraEnabled(false);
|
|
727
|
+
this.setMicrophoneEnabled(false);
|
|
728
|
+
}
|
|
682
729
|
}, {
|
|
683
730
|
key: "release",
|
|
684
731
|
value: function release() {
|
|
@@ -693,6 +740,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
693
740
|
this._stopMicrophoneTest();
|
|
694
741
|
(_this$_microphoneAudi = this._microphoneAudioTrack) === null || _this$_microphoneAudi === void 0 || _this$_microphoneAudi.stop();
|
|
695
742
|
this._microphoneAudioTrack = null;
|
|
743
|
+
this._isMicrophoneWorking = false;
|
|
696
744
|
this._disposer.forEach(function (disposer) {
|
|
697
745
|
return disposer();
|
|
698
746
|
});
|
|
@@ -859,7 +907,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
859
907
|
}, {
|
|
860
908
|
key: "setMicrophoneEnabled",
|
|
861
909
|
value: function setMicrophoneEnabled(enable) {
|
|
862
|
-
this.
|
|
910
|
+
this._microphoneEnabled = enable;
|
|
863
911
|
}
|
|
864
912
|
}, {
|
|
865
913
|
key: "toggleLocalMirror",
|
|
@@ -1121,7 +1169,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1121
1169
|
name: (0, _tools.getFileNameWithoutExtension)(resource),
|
|
1122
1170
|
path: resource,
|
|
1123
1171
|
type: resourceType,
|
|
1124
|
-
url: URL.createObjectURL(
|
|
1172
|
+
url: URL.createObjectURL(_this4._renderer.fileToBlob(resource, type))
|
|
1125
1173
|
};
|
|
1126
1174
|
});
|
|
1127
1175
|
var _newList = _this4.virtualBackgroundList.concat(list);
|
|
@@ -1131,7 +1179,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1131
1179
|
var key = (0, _tools.getFileNameWithoutExtension)(resource);
|
|
1132
1180
|
_this4.soundEffectList.set(key, {
|
|
1133
1181
|
md5Url: resource,
|
|
1134
|
-
url: URL.createObjectURL(
|
|
1182
|
+
url: URL.createObjectURL(_this4._renderer.fileToBlob(resource, type))
|
|
1135
1183
|
});
|
|
1136
1184
|
});
|
|
1137
1185
|
}
|
|
@@ -1300,13 +1348,19 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1300
1348
|
this.logger.warn('microphone audio track is not set');
|
|
1301
1349
|
return;
|
|
1302
1350
|
}
|
|
1303
|
-
if (this.
|
|
1351
|
+
if (this._microphoneEnabled) {
|
|
1304
1352
|
this._microphoneAudioTrack.start();
|
|
1305
1353
|
} else {
|
|
1354
|
+
this._isMicrophoneWorking = false;
|
|
1306
1355
|
this._microphoneAudioTrack.stop();
|
|
1307
1356
|
this.microphoneVolumeLevel = 0;
|
|
1308
1357
|
}
|
|
1309
1358
|
}
|
|
1359
|
+
}, {
|
|
1360
|
+
key: "_handleMicrophoneStateUpdated",
|
|
1361
|
+
value: function _handleMicrophoneStateUpdated(deviceId, state) {
|
|
1362
|
+
this._isMicrophoneWorking = this._microphoneDevice.id === deviceId && state === _type.FcrMediaSourceState.OPEN;
|
|
1363
|
+
}
|
|
1310
1364
|
}, {
|
|
1311
1365
|
key: "_handleMicrophoneEnabledChanged",
|
|
1312
1366
|
value: function _handleMicrophoneEnabledChanged() {
|
|
@@ -1352,7 +1406,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1352
1406
|
key: "_handleSpeakerDetectingChanged",
|
|
1353
1407
|
value: function _handleSpeakerDetectingChanged() {
|
|
1354
1408
|
var _this7 = this;
|
|
1355
|
-
if (this.
|
|
1409
|
+
if (this._microphoneEnabled) {
|
|
1356
1410
|
if (this.speakerDetecting) {
|
|
1357
1411
|
var _this$_microphoneAudi3;
|
|
1358
1412
|
(_this$_microphoneAudi3 = this._microphoneAudioTrack) === null || _this$_microphoneAudi3 === void 0 || _this$_microphoneAudi3.stop();
|
|
@@ -1435,6 +1489,7 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1435
1489
|
this._microphone.id = DEFAULT_DEVICE_ID;
|
|
1436
1490
|
} else {
|
|
1437
1491
|
var _this$_microphoneAudi7, _this$_microphoneAudi8;
|
|
1492
|
+
this._isMicrophoneWorking = false;
|
|
1438
1493
|
(_this$_microphoneAudi7 = this._microphoneAudioTrack) === null || _this$_microphoneAudi7 === void 0 || _this$_microphoneAudi7.removeObserver(this._microphoneObserver);
|
|
1439
1494
|
(_this$_microphoneAudi8 = this._microphoneAudioTrack) === null || _this$_microphoneAudi8 === void 0 || _this$_microphoneAudi8.stop();
|
|
1440
1495
|
this._microphoneAudioTrack = this._mediaControl.getMicrophoneTrack(this._microphoneDevice.id);
|
|
@@ -1490,12 +1545,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1490
1545
|
while (1) switch (_context0.prev = _context0.next) {
|
|
1491
1546
|
case 0:
|
|
1492
1547
|
md5Url = (0, _imports.md5)(url);
|
|
1493
|
-
return _context0.abrupt("return",
|
|
1548
|
+
return _context0.abrupt("return", this._renderer.getResourceByFileType(url, md5Url, type));
|
|
1494
1549
|
case 1:
|
|
1495
1550
|
case "end":
|
|
1496
1551
|
return _context0.stop();
|
|
1497
1552
|
}
|
|
1498
|
-
}, _callee0);
|
|
1553
|
+
}, _callee0, this);
|
|
1499
1554
|
}));
|
|
1500
1555
|
function _fetchZipAndUnzip(_x8, _x9) {
|
|
1501
1556
|
return _fetchZipAndUnzip2.apply(this, arguments);
|
|
@@ -1533,11 +1588,19 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1533
1588
|
return this._mediaControl.getSystemSelectedSpeaker();
|
|
1534
1589
|
case 1:
|
|
1535
1590
|
defaultDevice = _context1.sent;
|
|
1536
|
-
|
|
1591
|
+
if (!(defaultDevice === undefined)) {
|
|
1592
|
+
_context1.next = 2;
|
|
1593
|
+
break;
|
|
1594
|
+
}
|
|
1595
|
+
this.logger.error('get system selected speaker device failed');
|
|
1596
|
+
return _context1.abrupt("return");
|
|
1597
|
+
case 2:
|
|
1598
|
+
this.logger.debug("system selected speaker changed : ".concat(defaultDevice.deviceName));
|
|
1599
|
+
this._showSystemSelectedDeviceChangedToast(defaultDevice);
|
|
1537
1600
|
this._speakerDevice = {
|
|
1538
|
-
id:
|
|
1601
|
+
id: defaultDevice.deviceId
|
|
1539
1602
|
};
|
|
1540
|
-
case
|
|
1603
|
+
case 3:
|
|
1541
1604
|
case "end":
|
|
1542
1605
|
return _context1.stop();
|
|
1543
1606
|
}
|
|
@@ -1565,11 +1628,19 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1565
1628
|
return this._mediaControl.getSystemSelectedMicrophone();
|
|
1566
1629
|
case 1:
|
|
1567
1630
|
defaultDevice = _context10.sent;
|
|
1568
|
-
|
|
1631
|
+
if (!(defaultDevice === undefined)) {
|
|
1632
|
+
_context10.next = 2;
|
|
1633
|
+
break;
|
|
1634
|
+
}
|
|
1635
|
+
this.logger.error('get system selected speaker device failed');
|
|
1636
|
+
return _context10.abrupt("return");
|
|
1637
|
+
case 2:
|
|
1638
|
+
this._showSystemSelectedDeviceChangedToast(defaultDevice);
|
|
1639
|
+
this.logger.debug("system selected microphone changed : ".concat(defaultDevice.deviceName));
|
|
1569
1640
|
this._microphoneDevice = {
|
|
1570
|
-
id:
|
|
1641
|
+
id: defaultDevice.deviceId
|
|
1571
1642
|
};
|
|
1572
|
-
case
|
|
1643
|
+
case 3:
|
|
1573
1644
|
case "end":
|
|
1574
1645
|
return _context10.stop();
|
|
1575
1646
|
}
|
|
@@ -1580,6 +1651,40 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1580
1651
|
}
|
|
1581
1652
|
return _correctSystemSelectedMicrophoneDeviceId;
|
|
1582
1653
|
}()
|
|
1654
|
+
}, {
|
|
1655
|
+
key: "_showSystemSelectedDeviceChangedToast",
|
|
1656
|
+
value: function _showSystemSelectedDeviceChangedToast(defaultDevice) {
|
|
1657
|
+
var message = (0, _i18n.transI18n)('fmt_device_toast_switch_device');
|
|
1658
|
+
message = message.replace('{reason1}', defaultDevice.deviceName);
|
|
1659
|
+
this._messageProvider.showToast({
|
|
1660
|
+
type: 'normal',
|
|
1661
|
+
message: message
|
|
1662
|
+
});
|
|
1663
|
+
this._windows10UnsupportAirPods(defaultDevice);
|
|
1664
|
+
}
|
|
1665
|
+
}, {
|
|
1666
|
+
key: "_windows10UnsupportAirPods",
|
|
1667
|
+
value: function _windows10UnsupportAirPods(defaultDevice) {
|
|
1668
|
+
if (!(0, _env.isWindows)()) {
|
|
1669
|
+
return;
|
|
1670
|
+
}
|
|
1671
|
+
var version = (0, _env.windowsVersion)();
|
|
1672
|
+
if (!version) {
|
|
1673
|
+
return;
|
|
1674
|
+
}
|
|
1675
|
+
version = version.split('.')[0];
|
|
1676
|
+
if (version !== '10') {
|
|
1677
|
+
return;
|
|
1678
|
+
}
|
|
1679
|
+
if (!defaultDevice.deviceName.includes('AirPods')) {
|
|
1680
|
+
return;
|
|
1681
|
+
}
|
|
1682
|
+
var message = "windows 10 maybe not support ".concat(defaultDevice.deviceName);
|
|
1683
|
+
this._messageProvider.showToast({
|
|
1684
|
+
type: 'warn',
|
|
1685
|
+
message: message
|
|
1686
|
+
});
|
|
1687
|
+
}
|
|
1583
1688
|
}, {
|
|
1584
1689
|
key: "_handleSelectedSpeakerVolumeUpdated",
|
|
1585
1690
|
value: function _handleSelectedSpeakerVolumeUpdated(volume) {
|
|
@@ -1906,26 +2011,25 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1906
2011
|
key: "_loadBuiltinResources",
|
|
1907
2012
|
value: function () {
|
|
1908
2013
|
var _loadBuiltinResources2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee19() {
|
|
1909
|
-
var
|
|
1910
|
-
|
|
1911
|
-
var _yield$window$runtime, virtualBackgroundImages, virtualBackgroundVideos, soundEffects, newVirtualBackgroundList, images, videos, sounds;
|
|
2014
|
+
var _this10 = this;
|
|
2015
|
+
var _yield$this$_renderer, virtualBackgroundImages, virtualBackgroundVideos, soundEffects, newVirtualBackgroundList, images, videos, sounds;
|
|
1912
2016
|
return _regenerator["default"].wrap(function (_context19) {
|
|
1913
2017
|
while (1) switch (_context19.prev = _context19.next) {
|
|
1914
2018
|
case 0:
|
|
1915
2019
|
_context19.next = 1;
|
|
1916
|
-
return
|
|
2020
|
+
return this._renderer.loadBuiltinResources();
|
|
1917
2021
|
case 1:
|
|
1918
|
-
_yield$
|
|
1919
|
-
virtualBackgroundImages = _yield$
|
|
1920
|
-
virtualBackgroundVideos = _yield$
|
|
1921
|
-
soundEffects = _yield$
|
|
2022
|
+
_yield$this$_renderer = _context19.sent;
|
|
2023
|
+
virtualBackgroundImages = _yield$this$_renderer.virtualBackgroundImages;
|
|
2024
|
+
virtualBackgroundVideos = _yield$this$_renderer.virtualBackgroundVideos;
|
|
2025
|
+
soundEffects = _yield$this$_renderer.soundEffects;
|
|
1922
2026
|
newVirtualBackgroundList = this.virtualBackgroundList.slice();
|
|
1923
2027
|
images = virtualBackgroundImages.map(function (item) {
|
|
1924
2028
|
return {
|
|
1925
2029
|
name: (0, _tools.getFileNameWithoutExtension)(item),
|
|
1926
2030
|
path: item,
|
|
1927
2031
|
type: _virtualBackdoundResources.VirtualOption.IMG,
|
|
1928
|
-
url: URL.createObjectURL(
|
|
2032
|
+
url: URL.createObjectURL(_this10._renderer.fileToBlob(item, 'image'))
|
|
1929
2033
|
};
|
|
1930
2034
|
});
|
|
1931
2035
|
videos = virtualBackgroundVideos.map(function (item) {
|
|
@@ -1933,12 +2037,12 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1933
2037
|
name: (0, _tools.getFileNameWithoutExtension)(item),
|
|
1934
2038
|
path: item,
|
|
1935
2039
|
type: _virtualBackdoundResources.VirtualOption.VIDEO,
|
|
1936
|
-
url: URL.createObjectURL(
|
|
2040
|
+
url: URL.createObjectURL(_this10._renderer.fileToBlob(item, 'video'))
|
|
1937
2041
|
};
|
|
1938
2042
|
});
|
|
1939
2043
|
sounds = soundEffects.map(function (item) {
|
|
1940
2044
|
return {
|
|
1941
|
-
url: URL.createObjectURL(
|
|
2045
|
+
url: URL.createObjectURL(_this10._renderer.fileToBlob(item, 'audio')),
|
|
1942
2046
|
md5Url: item
|
|
1943
2047
|
};
|
|
1944
2048
|
});
|
|
@@ -1967,35 +2071,37 @@ var FcrUIDeviceProviderImpl = exports.FcrUIDeviceProviderImpl = /*#__PURE__*/fun
|
|
|
1967
2071
|
}]);
|
|
1968
2072
|
}();
|
|
1969
2073
|
_FcrUIDeviceProviderImpl = FcrUIDeviceProviderImpl;
|
|
1970
|
-
var _applyDecs$e = (
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
|
-
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2074
|
+
var _applyDecs$e = _applyDecs(_FcrUIDeviceProviderImpl, [[_mobx.observable, 1, "_microphoneEnabled"], [_mobx.observable, 1, "_isMicrophoneWorking"], [_mobx.observable, 1, "_microphoneDevice"], [_mobx.observable, 1, "_microphone"], [_mobx.observable, 1, "_speakerDevice"], [_mobx.observable, 1, "_speaker"], [_mobx.observable, 1, "_cameraDevice"], [_mobx.observable, 1, "currentIsMirror"], [_mobx.observable, 1, "showForceOpenEffectDialog"], [_mobx.observable, 1, "cameraEnabled"], [_mobx.observable, 1, "showCameraPreview"], [_mobx.observable, 1, "cameraList"], [_mobx.observable, 1, "microphoneList"], [_mobx.observable, 1, "microphoneVolumeLevel"], [_mobx.observable, 1, "speakerList"], [_mobx.observable, 1, "isLocalMirrorEnabled"], [_mobx.observable, 1, "isLocalEditBeautyOptions"], [_mobx.observable, 1, "speakerVolumeLevel"], [_mobx.observable, 1, "speakerVolume"], [_mobx.observable, 1, "microphoneVolume"], [_mobx.observable, 1, "virtualBackgroundName"], [_mobx.observable, 1, "enableBeauty"], [_mobx.observable, 1, "beautyKey"], [_mobx.observable, 1, "beautyOptions"], [_mobx.observable, 1, "virtualBackgroundList"], [_mobx.observable, 1, "soundEffectList"], [_mobx.observable, 1, "microphoneDetecting"], [_mobx.observable, 1, "speakerDetecting"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "isMainRoomAudioOff"], [_imports.bound, 2, "connectAudio"], [_imports.bound, 2, "disconnectAudio"], [_mobx.computed, 3, "microphoneEnabled"], [_mobx.computed, 3, "microphoneState"], [_startPlayLocalVideoDecs, 18, "startPlayLocalVideo"], [_stopPlayLocalVideoDecs, 18, "stopPlayLocalVideo"], [_startSpeakerTestDecs, 18, "startSpeakerTest"], [_stopSpeakerTestDecs, 18, "stopSpeakerTest"], [_setCurrentIsMirrorDecs, 18, "setCurrentIsMirror"], [_toggleLocalMirrorPreviewDecs, 18, "toggleLocalMirrorPreview"], [_setBeautyOptionsDecs, 18, "setBeautyOptions"], [_handleCancelForceOpenVideoEffectDecs, 18, "handleCancelForceOpenVideoEffect"], [_handleForceOpenVideoEffectDecs, 18, "handleForceOpenVideoEffect"], [_imports.bound, 2, "setVideoOrientation"], [_setCameraEnabledDecs, 18, "setCameraEnabled"], [_handleCameraEnabledChangedDecs, 18, "_handleCameraEnabledChanged"], [_setMicrophoneEnabledDecs, 18, "setMicrophoneEnabled"], [_toggleLocalMirrorDecs, 18, "toggleLocalMirror"], [_resetMirrorDecs, 18, "resetMirror"], [_startMicrophoneTestDecs, 18, "startMicrophoneTest"], [_stopMicrophoneTestDecs, 18, "stopMicrophoneTest"], [_enableVirtualBackgroundDecs, 18, "enableVirtualBackground"], [_setEditBeautyKeyDecs, 18, "setEditBeautyKey"], [_enableBeautyEffectDecs, 18, "enableBeautyEffect"], [_setCameraIdDecs, 18, "setCameraId"], [_setMainRoomAudioOffDecs, 18, "setMainRoomAudioOff"], [_setSpeakerIdDecs, 18, "setSpeakerId"], [_setMicrophoneIdDecs, 18, "setMicrophoneId"], [_setSpeakerVolumeDecs, 18, "setSpeakerVolume"], [_setMicrophoneVolumeDecs, 18, "setMicrophoneVolume"], [_startOrStopCameraDecs, 18, "startOrStopCamera"], [_setShowCameraPreviewDecs, 18, "setShowCameraPreview"], [_loadUiResourcesDecs, 18, "loadUiResources"], [_loadZipResourcesDecs, 18, "loadZipResources"], [_imports.bound, 2, "toggleAGC"], [_setConnectTypeDecs, 18, "setConnectType"], [_toggleLocalCameraPreviewDecs, 18, "toggleLocalCameraPreview"], [_getLoopbackDeviceIdDecs, 18, "getLoopbackDeviceId"], [_initDeviceListDecs, 18, "_initDeviceList"], [_handleMicrophoneAudioTrackDecs, 18, "_handleMicrophoneAudioTrack"], [_handleMicrophoneStateUpdatedDecs, 18, "_handleMicrophoneStateUpdated"], [_handleMicrophoneEnabledChangedDecs, 18, "_handleMicrophoneEnabledChanged"], [_handleCameraVideoTrackDecs, 18, "_handleCameraVideoTrack"], [_imports.bound, 2, "_handleCameraDeviceIdChanged"], [_handleSpeakerDetectingChangedDecs, 18, "_handleSpeakerDetectingChanged"], [_stopSelectedSpeakerTestDecs, 18, "_stopSelectedSpeakerTest"], [_handleMicrophoneDetectingChangedDecs, 18, "_handleMicrophoneDetectingChanged"], [_stopMicrophoneTestDecs2, 18, "_stopMicrophoneTest"], [_imports.bound, 2, "_handleMicrophoneIdChanged"], [_imports.bound, 2, "_handleMicrophoneDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerDeviceIdChanged"], [_imports.bound, 2, "_handleSpeakerIdChanged"], [_updateVirtualBackgroundListDecs, 18, "_updateVirtualBackgroundList"], [_handleSystemSelectedSpeakerChangedDecs, 18, "_handleSystemSelectedSpeakerChanged"], [_handleSystemSelectedMicrophoneChangedDecs, 18, "_handleSystemSelectedMicrophoneChanged"], [_correctSystemSelectedMicrophoneDeviceIdDecs, 18, "_correctSystemSelectedMicrophoneDeviceId"], [_handleSelectedSpeakerVolumeUpdatedDecs, 18, "_handleSelectedSpeakerVolumeUpdated"], [_handleSpeakerTestVolumeIndicationUpdatedDecs, 18, "_handleSpeakerTestVolumeIndicationUpdated"], [_handleMicrophoneVolumeIndicationUpdatedDecs, 18, "_handleMicrophoneVolumeIndicationUpdated"], [_imports.bound, 2, "_toggleLocalCameraPreview"], [_imports.bound, 2, "_handleCameraAdded"], [_imports.bound, 2, "_handleCameraRemoved"], [_imports.bound, 2, "_handleCameraListUpdated"], [_imports.bound, 2, "_handleMicrophoneAdded"], [_imports.bound, 2, "_handleMicrophoneRemoved"], [_imports.bound, 2, "_handleMicrophoneListUpdated"], [_handleSpeakerAddedDecs, 18, "_handleSpeakerAdded"], [_handleSpeakerRemovedDecs, 18, "_handleSpeakerRemoved"], [_handleSpeakerListUpdatedDecs, 18, "_handleSpeakerListUpdated"], [_getMicrophoneListDecs, 18, "_getMicrophoneList"], [_getSpeakerListDecs, 18, "_getSpeakerList"], [_formatDeviceListDecs, 18, "_formatDeviceList"], [_loadBuiltinResourcesDecs, 18, "_loadBuiltinResources"]], []).e;
|
|
2075
|
+
var _applyDecs$e2 = (0, _slicedToArray2["default"])(_applyDecs$e, 31);
|
|
2076
|
+
_init__microphoneEnabled = _applyDecs$e2[0];
|
|
2077
|
+
_init__isMicrophoneWorking = _applyDecs$e2[1];
|
|
2078
|
+
_init__microphoneDevice = _applyDecs$e2[2];
|
|
2079
|
+
_init__microphone = _applyDecs$e2[3];
|
|
2080
|
+
_init__speakerDevice = _applyDecs$e2[4];
|
|
2081
|
+
_init__speaker = _applyDecs$e2[5];
|
|
2082
|
+
_init__cameraDevice = _applyDecs$e2[6];
|
|
2083
|
+
_init_currentIsMirror = _applyDecs$e2[7];
|
|
2084
|
+
_init_showForceOpenEffectDialog = _applyDecs$e2[8];
|
|
2085
|
+
_init_cameraEnabled = _applyDecs$e2[9];
|
|
2086
|
+
_init_showCameraPreview = _applyDecs$e2[10];
|
|
2087
|
+
_init_cameraList = _applyDecs$e2[11];
|
|
2088
|
+
_init_microphoneList = _applyDecs$e2[12];
|
|
2089
|
+
_init_microphoneVolumeLevel = _applyDecs$e2[13];
|
|
2090
|
+
_init_speakerList = _applyDecs$e2[14];
|
|
2091
|
+
_init_isLocalMirrorEnabled = _applyDecs$e2[15];
|
|
2092
|
+
_init_isLocalEditBeautyOptions = _applyDecs$e2[16];
|
|
2093
|
+
_init_speakerVolumeLevel = _applyDecs$e2[17];
|
|
2094
|
+
_init_speakerVolume = _applyDecs$e2[18];
|
|
2095
|
+
_init_microphoneVolume = _applyDecs$e2[19];
|
|
2096
|
+
_init_virtualBackgroundName = _applyDecs$e2[20];
|
|
2097
|
+
_init_enableBeauty = _applyDecs$e2[21];
|
|
2098
|
+
_init_beautyKey = _applyDecs$e2[22];
|
|
2099
|
+
_init_beautyOptions = _applyDecs$e2[23];
|
|
2100
|
+
_init_virtualBackgroundList = _applyDecs$e2[24];
|
|
2101
|
+
_init_soundEffectList = _applyDecs$e2[25];
|
|
2102
|
+
_init_microphoneDetecting = _applyDecs$e2[26];
|
|
2103
|
+
_init_speakerDetecting = _applyDecs$e2[27];
|
|
2104
|
+
_init_connectType = _applyDecs$e2[28];
|
|
2105
|
+
_init_isMainRoomAudioOff = _applyDecs$e2[29];
|
|
2106
|
+
_initProto = _applyDecs$e2[30];
|
|
2107
|
+
_applyDecs$e;
|