fcr-ui-scene 1.0.20 → 3.1.0-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +13 -0
- package/lib/base.js +78 -0
- package/lib/common/device-store.d.ts +140 -0
- package/lib/common/device-store.js +1378 -0
- package/lib/common/device-stream-store.d.ts +36 -0
- package/lib/common/device-stream-store.js +372 -0
- package/lib/common/event-store.d.ts +118 -0
- package/lib/common/event-store.js +235 -0
- package/lib/common/security-store.d.ts +123 -0
- package/lib/common/security-store.js +978 -0
- package/lib/creator.d.ts +8 -0
- package/lib/creator.js +37 -0
- package/lib/electron/app.d.ts +1 -0
- package/lib/electron/app.js +140 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +26 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +45 -0
- package/lib/electron/injections.js +689 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +63 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +35 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +57 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +107 -0
- package/lib/fragments/base.d.ts +10 -0
- package/lib/fragments/base.js +44 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.d.ts +1 -0
- package/lib/fragments/control-bar/cloud-recording-buttons.js +67 -0
- package/lib/fragments/control-bar/context.d.ts +3 -0
- package/lib/fragments/control-bar/context.js +9 -0
- package/lib/fragments/control-bar/control-bar-store.d.ts +152 -0
- package/lib/fragments/control-bar/control-bar-store.js +1275 -0
- package/lib/fragments/control-bar/device/index.d.ts +31 -0
- package/lib/fragments/control-bar/device/index.js +203 -0
- package/lib/fragments/control-bar/index.css +276 -0
- package/lib/fragments/control-bar/index.d.ts +26 -0
- package/lib/fragments/control-bar/index.js +223 -0
- package/lib/fragments/control-bar/more-actions/index.css +19 -0
- package/lib/fragments/control-bar/more-actions/index.d.ts +7 -0
- package/lib/fragments/control-bar/more-actions/index.js +259 -0
- package/lib/fragments/control-bar/security-content/index.css +24 -0
- package/lib/fragments/control-bar/security-content/index.d.ts +2 -0
- package/lib/fragments/control-bar/security-content/index.js +145 -0
- package/lib/fragments/control-bar/share-state-nav/index.css +70 -0
- package/lib/fragments/control-bar/share-state-nav/index.d.ts +10 -0
- package/lib/fragments/control-bar/share-state-nav/index.js +134 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.d.ts +1 -0
- package/lib/fragments/control-bar/stop-live-streaming/index.js +82 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.d.ts +11 -0
- package/lib/fragments/control-bar/transfer-position-icon/index.js +46 -0
- package/lib/fragments/control-bar/view.d.ts +1 -0
- package/lib/fragments/control-bar/view.js +321 -0
- package/lib/fragments/live-streaming/context.d.ts +3 -0
- package/lib/fragments/live-streaming/context.js +9 -0
- package/lib/fragments/live-streaming/index.css +11 -0
- package/lib/fragments/live-streaming/index.d.ts +11 -0
- package/lib/fragments/live-streaming/index.js +79 -0
- package/lib/fragments/live-streaming/store.d.ts +21 -0
- package/lib/fragments/live-streaming/store.js +228 -0
- package/lib/fragments/live-streaming/view.d.ts +2 -0
- package/lib/fragments/live-streaming/view.js +44 -0
- package/lib/fragments/share-screen-selection/context.d.ts +3 -0
- package/lib/fragments/share-screen-selection/context.js +9 -0
- package/lib/fragments/share-screen-selection/index.css +66 -0
- package/lib/fragments/share-screen-selection/index.d.ts +9 -0
- package/lib/fragments/share-screen-selection/index.js +94 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.d.ts +9 -0
- package/lib/fragments/share-screen-selection/open-mic-tips.js +55 -0
- package/lib/fragments/share-screen-selection/selection-store.d.ts +36 -0
- package/lib/fragments/share-screen-selection/selection-store.js +351 -0
- package/lib/fragments/share-screen-selection/tips.css +33 -0
- package/lib/fragments/share-screen-selection/view.d.ts +9 -0
- package/lib/fragments/share-screen-selection/view.js +255 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/fragments/toolbar/components/color-picker/components/color.js +54 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/panel.js +114 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/color-picker/components/picker.js +75 -0
- package/lib/fragments/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker/index.js +53 -0
- package/lib/fragments/toolbar/components/color-picker.d.ts +2 -0
- package/lib/fragments/toolbar/components/color-picker.js +127 -0
- package/lib/fragments/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/eraser-picker.js +84 -0
- package/lib/fragments/toolbar/components/extension-toolbar-item.d.ts +1 -0
- package/lib/fragments/toolbar/components/extension-toolbar-item.js +78 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/fragments/toolbar/components/extra-tool-picker.js +60 -0
- package/lib/fragments/toolbar/components/fold-icon.d.ts +2 -0
- package/lib/fragments/toolbar/components/fold-icon.js +41 -0
- package/lib/fragments/toolbar/components/history.d.ts +2 -0
- package/lib/fragments/toolbar/components/history.js +46 -0
- package/lib/fragments/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/pen-picker.js +132 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/screen-capture-picker.js +84 -0
- package/lib/fragments/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/fragments/toolbar/components/shape-picker.js +146 -0
- package/lib/fragments/toolbar/components/toolbar-item.d.ts +1 -0
- package/lib/fragments/toolbar/components/toolbar-item.js +42 -0
- package/lib/fragments/toolbar/components/wrapper.d.ts +1 -0
- package/lib/fragments/toolbar/components/wrapper.js +138 -0
- package/lib/fragments/toolbar/hooks.d.ts +16 -0
- package/lib/fragments/toolbar/hooks.js +251 -0
- package/lib/fragments/toolbar/index.d.ts +12 -0
- package/lib/fragments/toolbar/index.js +80 -0
- package/lib/fragments/toolbar/store.d.ts +62 -0
- package/lib/fragments/toolbar/store.js +279 -0
- package/lib/fragments/toolbar/style.css +347 -0
- package/lib/fragments/toolbar/view.d.ts +1 -0
- package/lib/fragments/toolbar/view.js +34 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/i18n.d.ts +4 -0
- package/lib/hooks/i18n.js +18 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +52 -0
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +17 -0
- package/lib/modules/action-bar/action-bar-collapes-items.js +199 -0
- package/lib/modules/action-bar/board/index.d.ts +4 -0
- package/lib/modules/action-bar/board/index.js +34 -0
- package/lib/modules/action-bar/breakout-room/index.d.ts +4 -0
- package/lib/modules/action-bar/breakout-room/index.js +32 -0
- package/lib/modules/action-bar/chat/index.css +80 -0
- package/lib/modules/action-bar/chat/index.d.ts +5 -0
- package/lib/modules/action-bar/chat/index.js +152 -0
- package/lib/modules/action-bar/context.d.ts +3 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/device/index.css +157 -0
- package/lib/modules/action-bar/device/index.d.ts +8 -0
- package/lib/modules/action-bar/device/index.js +611 -0
- package/lib/modules/action-bar/index.css +212 -0
- package/lib/modules/action-bar/index.d.ts +25 -0
- package/lib/modules/action-bar/index.dev.d.ts +1 -0
- package/lib/modules/action-bar/index.dev.js +96 -0
- package/lib/modules/action-bar/index.js +89 -0
- package/lib/modules/action-bar/item-placement.d.ts +8 -0
- package/lib/modules/action-bar/item-placement.js +18 -0
- package/lib/modules/action-bar/item.d.ts +27 -0
- package/lib/modules/action-bar/item.js +154 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +8 -0
- package/lib/modules/action-bar/leave/assign-host.js +64 -0
- package/lib/modules/action-bar/leave/index.css +116 -0
- package/lib/modules/action-bar/leave/index.d.ts +3 -0
- package/lib/modules/action-bar/leave/index.js +110 -0
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +7 -0
- package/lib/modules/action-bar/leave/leave-meeting.js +135 -0
- package/lib/modules/action-bar/live-streaming/index.d.ts +4 -0
- package/lib/modules/action-bar/live-streaming/index.js +39 -0
- package/lib/modules/action-bar/more/index.css +114 -0
- package/lib/modules/action-bar/more/index.d.ts +5 -0
- package/lib/modules/action-bar/more/index.js +80 -0
- package/lib/modules/action-bar/more/poppover-content.d.ts +9 -0
- package/lib/modules/action-bar/more/poppover-content.js +369 -0
- package/lib/modules/action-bar/participants/index.css +9 -0
- package/lib/modules/action-bar/participants/index.d.ts +5 -0
- package/lib/modules/action-bar/participants/index.js +75 -0
- package/lib/modules/action-bar/record/index.css +39 -0
- package/lib/modules/action-bar/record/index.d.ts +5 -0
- package/lib/modules/action-bar/record/index.js +161 -0
- package/lib/modules/action-bar/record/stop-record-dialog.d.ts +5 -0
- package/lib/modules/action-bar/record/stop-record-dialog.js +48 -0
- package/lib/modules/action-bar/respond/index.d.ts +4 -0
- package/lib/modules/action-bar/respond/index.js +32 -0
- package/lib/modules/action-bar/screen-share/index.d.ts +4 -0
- package/lib/modules/action-bar/screen-share/index.js +97 -0
- package/lib/modules/action-bar/screen-share/submenu.d.ts +1 -0
- package/lib/modules/action-bar/screen-share/submenu.js +159 -0
- package/lib/modules/action-bar/security/drop-menu.d.ts +1 -0
- package/lib/modules/action-bar/security/drop-menu.js +164 -0
- package/lib/modules/action-bar/security/index.d.ts +4 -0
- package/lib/modules/action-bar/security/index.js +50 -0
- package/lib/modules/action-bar/settings/index.d.ts +4 -0
- package/lib/modules/action-bar/settings/index.js +41 -0
- package/lib/modules/action-bar/smaller.d.ts +1 -0
- package/lib/modules/action-bar/smaller.js +52 -0
- package/lib/modules/action-bar/store.d.ts +177 -0
- package/lib/modules/action-bar/store.js +1179 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +5 -0
- package/lib/modules/action-bar/view.js +80 -0
- package/lib/modules/audio-stream/index.d.ts +21 -0
- package/lib/modules/audio-stream/index.js +119 -0
- package/lib/modules/chat/chat-bar/index.css +79 -0
- package/lib/modules/chat/chat-bar/index.d.ts +11 -0
- package/lib/modules/chat/chat-bar/index.js +125 -0
- package/lib/modules/chat/chat-select/index.css +156 -0
- package/lib/modules/chat/chat-select/index.d.ts +13 -0
- package/lib/modules/chat/chat-select/index.js +186 -0
- package/lib/modules/chat/chat.d.ts +12 -0
- package/lib/modules/chat/chat.js +295 -0
- package/lib/modules/chat/contex.d.ts +3 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +2 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +17 -0
- package/lib/modules/chat/index.d.ts +29 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +189 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +595 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +132 -0
- package/lib/modules/chat/store.js +923 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/connection-gateway/components/computer/index.css +11 -0
- package/lib/modules/connection-gateway/components/computer/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/computer/index.js +66 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.css +36 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +10 -0
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +75 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.css +72 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.d.ts +7 -0
- package/lib/modules/connection-gateway/components/phone/components/calling/index.js +58 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.css +10 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.d.ts +5 -0
- package/lib/modules/connection-gateway/components/phone/components/remeber/index.js +24 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.css +46 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/components/useing/index.js +36 -0
- package/lib/modules/connection-gateway/components/phone/index.css +49 -0
- package/lib/modules/connection-gateway/components/phone/index.d.ts +3 -0
- package/lib/modules/connection-gateway/components/phone/index.js +181 -0
- package/lib/modules/connection-gateway/components/tabs/index.css +31 -0
- package/lib/modules/connection-gateway/components/tabs/index.d.ts +4 -0
- package/lib/modules/connection-gateway/components/tabs/index.js +43 -0
- package/lib/modules/connection-gateway/index.css +6 -0
- package/lib/modules/connection-gateway/index.d.ts +16 -0
- package/lib/modules/connection-gateway/index.js +67 -0
- package/lib/modules/connection-gateway/store.d.ts +80 -0
- package/lib/modules/connection-gateway/store.js +698 -0
- package/lib/modules/connection-gateway/view.d.ts +1 -0
- package/lib/modules/connection-gateway/view.js +22 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.d.ts +13 -0
- package/lib/modules/device-pretest/assets/virtual-backdound-resources.js +15 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/microphone-detection.js +71 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +2 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.js +63 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.d.ts +12 -0
- package/lib/modules/device-pretest/audio-preview/speaker-detection.js +71 -0
- package/lib/modules/device-pretest/context.d.ts +3 -0
- package/lib/modules/device-pretest/context.js +9 -0
- package/lib/modules/device-pretest/index.css +127 -0
- package/lib/modules/device-pretest/index.d.ts +13 -0
- package/lib/modules/device-pretest/index.js +242 -0
- package/lib/modules/device-pretest/settings/beauty.d.ts +10 -0
- package/lib/modules/device-pretest/settings/beauty.js +103 -0
- package/lib/modules/device-pretest/settings/camera-select.d.ts +12 -0
- package/lib/modules/device-pretest/settings/camera-select.js +53 -0
- package/lib/modules/device-pretest/settings/index.css +15 -0
- package/lib/modules/device-pretest/settings/video-effect.d.ts +12 -0
- package/lib/modules/device-pretest/settings/video-effect.js +50 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.d.ts +2 -0
- package/lib/modules/device-pretest/settings/video-settings-basic.js +143 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.d.ts +7 -0
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +99 -0
- package/lib/modules/device-pretest/store.d.ts +69 -0
- package/lib/modules/device-pretest/store.js +413 -0
- package/lib/modules/dialog/components/chat/electron.d.ts +4 -0
- package/lib/modules/dialog/components/chat/electron.js +59 -0
- package/lib/modules/dialog/components/chat/index.d.ts +7 -0
- package/lib/modules/dialog/components/chat/index.js +66 -0
- package/lib/modules/dialog/components/confirm/electron.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/electron.js +84 -0
- package/lib/modules/dialog/components/confirm/index.d.ts +10 -0
- package/lib/modules/dialog/components/confirm/index.js +75 -0
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +2 -0
- package/lib/modules/dialog/components/connection-gateway/electron.js +62 -0
- package/lib/modules/dialog/components/connection-gateway/index.css +27 -0
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -0
- package/lib/modules/dialog/components/connection-gateway/index.js +74 -0
- package/lib/modules/dialog/components/participant/electron.d.ts +2 -0
- package/lib/modules/dialog/components/participant/electron.js +85 -0
- package/lib/modules/dialog/components/participant/index.d.ts +3 -0
- package/lib/modules/dialog/components/participant/index.js +61 -0
- package/lib/modules/dialog/components/share-screen-selection/index.d.ts +4 -0
- package/lib/modules/dialog/components/share-screen-selection/index.js +42 -0
- package/lib/modules/dialog/components/whiteboard/index.d.ts +4 -0
- package/lib/modules/dialog/components/whiteboard/index.js +74 -0
- package/lib/modules/dialog/context.d.ts +3 -0
- package/lib/modules/dialog/context.js +9 -0
- package/lib/modules/dialog/dialogs.d.ts +11 -0
- package/lib/modules/dialog/dialogs.js +376 -0
- package/lib/modules/dialog/index.css +55 -0
- package/lib/modules/dialog/index.d.ts +29 -0
- package/lib/modules/dialog/index.js +80 -0
- package/lib/modules/dialog/store.d.ts +82 -0
- package/lib/modules/dialog/store.js +525 -0
- package/lib/modules/dialog/view.d.ts +5 -0
- package/lib/modules/dialog/view.js +30 -0
- package/lib/modules/event-toast/context.d.ts +3 -0
- package/lib/modules/event-toast/context.js +9 -0
- package/lib/modules/event-toast/index.d.ts +10 -0
- package/lib/modules/event-toast/index.js +41 -0
- package/lib/modules/event-toast/store.d.ts +9 -0
- package/lib/modules/event-toast/store.js +76 -0
- package/lib/modules/event-toast/view.d.ts +1 -0
- package/lib/modules/event-toast/view.js +14 -0
- package/lib/modules/invite/context.d.ts +3 -0
- package/lib/modules/invite/context.js +9 -0
- package/lib/modules/invite/index.css +318 -0
- package/lib/modules/invite/index.d.ts +13 -0
- package/lib/modules/invite/index.js +51 -0
- package/lib/modules/invite/pstn-invite.d.ts +2 -0
- package/lib/modules/invite/pstn-invite.js +271 -0
- package/lib/modules/invite/store.d.ts +71 -0
- package/lib/modules/invite/store.js +472 -0
- package/lib/modules/invite/view.d.ts +1 -0
- package/lib/modules/invite/view.js +47 -0
- package/lib/modules/invite/voip-invite.d.ts +2 -0
- package/lib/modules/invite/voip-invite.js +294 -0
- package/lib/modules/layout/components/Aside.d.ts +7 -0
- package/lib/modules/layout/components/Aside.js +144 -0
- package/lib/modules/layout/components/Carousel.d.ts +1 -0
- package/lib/modules/layout/components/Carousel.js +271 -0
- package/lib/modules/layout/components/Gallery.d.ts +1 -0
- package/lib/modules/layout/components/Gallery.js +360 -0
- package/lib/modules/layout/components/Layout.d.ts +2 -0
- package/lib/modules/layout/components/Layout.js +160 -0
- package/lib/modules/layout/components/index.css +608 -0
- package/lib/modules/layout/components/index.d.ts +5 -0
- package/lib/modules/layout/components/index.js +55 -0
- package/lib/modules/layout/components/utils.d.ts +1 -0
- package/lib/modules/layout/components/utils.js +10 -0
- package/lib/modules/layout/context.d.ts +3 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/index.css +27 -0
- package/lib/modules/layout/index.d.ts +10 -0
- package/lib/modules/layout/index.dev.d.ts +1 -0
- package/lib/modules/layout/index.dev.js +378 -0
- package/lib/modules/layout/index.js +72 -0
- package/lib/modules/layout/member-window/index.css +321 -0
- package/lib/modules/layout/member-window/index.d.ts +67 -0
- package/lib/modules/layout/member-window/index.js +730 -0
- package/lib/modules/layout/store.d.ts +177 -0
- package/lib/modules/layout/store.js +1278 -0
- package/lib/modules/layout/type.d.ts +64 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/video-window-datasource.d.ts +119 -0
- package/lib/modules/layout/video-window-datasource.js +1031 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/live-streaming/context.d.ts +3 -0
- package/lib/modules/live-streaming/context.js +9 -0
- package/lib/modules/live-streaming/index.css +0 -0
- package/lib/modules/live-streaming/index.d.ts +13 -0
- package/lib/modules/live-streaming/index.dev.d.ts +1 -0
- package/lib/modules/live-streaming/index.dev.js +59 -0
- package/lib/modules/live-streaming/index.js +76 -0
- package/lib/modules/live-streaming/store.d.ts +38 -0
- package/lib/modules/live-streaming/store.js +360 -0
- package/lib/modules/live-streaming/view.d.ts +1 -0
- package/lib/modules/live-streaming/view.js +33 -0
- package/lib/modules/participant/attendee/index.css +14 -0
- package/lib/modules/participant/attendee/index.d.ts +19 -0
- package/lib/modules/participant/attendee/index.js +280 -0
- package/lib/modules/participant/attendee/participants-more-action.d.ts +18 -0
- package/lib/modules/participant/attendee/participants-more-action.js +275 -0
- package/lib/modules/participant/attendee/user-more-actions.d.ts +22 -0
- package/lib/modules/participant/attendee/user-more-actions.js +76 -0
- package/lib/modules/participant/can-moveable/index.d.ts +1 -0
- package/lib/modules/participant/can-moveable/index.js +68 -0
- package/lib/modules/participant/context.d.ts +3 -0
- package/lib/modules/participant/context.js +9 -0
- package/lib/modules/participant/index.css +58 -0
- package/lib/modules/participant/index.d.ts +25 -0
- package/lib/modules/participant/index.dev.d.ts +1 -0
- package/lib/modules/participant/index.dev.js +98 -0
- package/lib/modules/participant/index.js +93 -0
- package/lib/modules/participant/member-list-data-source.d.ts +28 -0
- package/lib/modules/participant/member-list-data-source.js +261 -0
- package/lib/modules/participant/room-control-drop-menu/index.css +19 -0
- package/lib/modules/participant/room-control-drop-menu/index.d.ts +2 -0
- package/lib/modules/participant/room-control-drop-menu/index.js +154 -0
- package/lib/modules/participant/store.d.ts +145 -0
- package/lib/modules/participant/store.js +1334 -0
- package/lib/modules/participant/type.d.ts +34 -0
- package/lib/modules/participant/type.js +22 -0
- package/lib/modules/participant/view.d.ts +11 -0
- package/lib/modules/participant/view.js +260 -0
- package/lib/modules/setting/audio-settings/audio-settings.d.ts +4 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +303 -0
- package/lib/modules/setting/audio-settings/index.css +144 -0
- package/lib/{fcr-ui-scene/src/containers/stream-window/index.d.ts → modules/setting/common/advance-link.d.ts} +1 -1
- package/lib/modules/setting/common/advance-link.js +27 -0
- package/lib/modules/setting/common/index.css +26 -0
- package/lib/modules/setting/common/useNamespace.d.ts +15 -0
- package/lib/modules/setting/common/useNamespace.js +66 -0
- package/lib/modules/setting/config.d.ts +16 -0
- package/lib/modules/setting/config.js +17 -0
- package/lib/modules/setting/context.d.ts +3 -0
- package/lib/modules/setting/context.js +9 -0
- package/lib/modules/setting/dialog-wrapper.d.ts +2 -0
- package/lib/modules/setting/dialog-wrapper.js +110 -0
- package/lib/modules/setting/general-settings/general-settings.d.ts +4 -0
- package/lib/modules/setting/general-settings/general-settings.js +66 -0
- package/lib/modules/setting/general-settings/index.css +26 -0
- package/lib/modules/setting/index.css +115 -0
- package/lib/modules/setting/index.d.ts +21 -0
- package/lib/modules/setting/index.dev.d.ts +1 -0
- package/lib/modules/setting/index.dev.js +71 -0
- package/lib/modules/setting/index.js +81 -0
- package/lib/modules/setting/state/index.css +211 -0
- package/lib/modules/setting/state/index.d.ts +4 -0
- package/lib/modules/setting/state/index.js +331 -0
- package/lib/modules/setting/storage-settings/index.css +91 -0
- package/lib/modules/setting/storage-settings/storage-settings.d.ts +3 -0
- package/lib/modules/setting/storage-settings/storage-settings.js +84 -0
- package/lib/modules/setting/store.d.ts +213 -0
- package/lib/modules/setting/store.js +1125 -0
- package/lib/modules/setting/video-settings/index.css +339 -0
- package/lib/modules/setting/video-settings/video-settings-basic.d.ts +9 -0
- package/lib/modules/setting/video-settings/video-settings-basic.js +160 -0
- package/lib/modules/setting/video-settings/video-settings.d.ts +10 -0
- package/lib/modules/setting/video-settings/video-settings.js +191 -0
- package/lib/modules/setting/view.d.ts +10 -0
- package/lib/modules/setting/view.js +139 -0
- package/lib/modules/share-screen/index.css +0 -0
- package/lib/modules/share-screen/index.d.ts +26 -0
- package/lib/modules/share-screen/index.dev.d.ts +1 -0
- package/lib/modules/share-screen/index.dev.js +96 -0
- package/lib/modules/share-screen/index.js +171 -0
- package/lib/modules/share-screen/selection/index.css +66 -0
- package/lib/modules/share-screen/selection/index.d.ts +9 -0
- package/lib/modules/share-screen/selection/index.js +224 -0
- package/lib/modules/share-screen/share-state-bar/index.css +38 -0
- package/lib/modules/share-screen/share-state-bar/index.d.ts +5 -0
- package/lib/modules/share-screen/share-state-bar/index.js +67 -0
- package/lib/modules/share-screen/store.d.ts +132 -0
- package/lib/modules/share-screen/store.js +1714 -0
- package/lib/modules/share-screen/view.d.ts +2 -0
- package/lib/modules/share-screen/view.js +45 -0
- package/lib/modules/state-bar/assets/fcr_grid_big.svg +3 -0
- package/lib/modules/state-bar/assets/fcr_listontop_big.svg +3 -0
- package/lib/modules/state-bar/assets/live-streaming.gif +0 -0
- package/lib/modules/state-bar/context.d.ts +3 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +630 -0
- package/lib/modules/state-bar/index.d.ts +18 -0
- package/lib/modules/state-bar/index.dev.d.ts +1 -0
- package/lib/modules/state-bar/index.dev.js +82 -0
- package/lib/modules/state-bar/index.js +69 -0
- package/lib/modules/state-bar/layout-config.d.ts +5 -0
- package/lib/modules/state-bar/layout-config.js +151 -0
- package/lib/modules/state-bar/live-streaming-state.d.ts +1 -0
- package/lib/modules/state-bar/live-streaming-state.js +199 -0
- package/lib/modules/state-bar/meeting-detail.css +107 -0
- package/lib/modules/state-bar/meeting-details.d.ts +2 -0
- package/lib/modules/state-bar/meeting-details.js +151 -0
- package/lib/modules/state-bar/meeting-network-state.css +131 -0
- package/lib/modules/state-bar/meeting-network-state.d.ts +2 -0
- package/lib/modules/state-bar/meeting-network-state.js +108 -0
- package/lib/modules/state-bar/meeting-time.d.ts +2 -0
- package/lib/modules/state-bar/meeting-time.js +49 -0
- package/lib/modules/state-bar/network-quality.d.ts +2 -0
- package/lib/modules/state-bar/network-quality.js +33 -0
- package/lib/modules/state-bar/recording.d.ts +1 -0
- package/lib/modules/state-bar/recording.js +110 -0
- package/lib/modules/state-bar/store.d.ts +70 -0
- package/lib/modules/state-bar/store.js +515 -0
- package/lib/modules/state-bar/view.d.ts +5 -0
- package/lib/modules/state-bar/view.js +182 -0
- package/lib/modules/video-window/context.d.ts +3 -0
- package/lib/modules/video-window/context.js +9 -0
- package/lib/modules/video-window/deviceState/index.d.ts +15 -0
- package/lib/modules/video-window/deviceState/index.js +77 -0
- package/lib/modules/video-window/index.css +17 -0
- package/lib/modules/video-window/index.d.ts +9 -0
- package/lib/modules/video-window/index.js +65 -0
- package/lib/modules/video-window/members/index.css +50 -0
- package/lib/modules/video-window/members/index.d.ts +2 -0
- package/lib/modules/video-window/members/index.js +134 -0
- package/lib/modules/video-window/speaking/index.css +69 -0
- package/lib/modules/video-window/speaking/index.d.ts +3 -0
- package/lib/modules/video-window/speaking/index.js +57 -0
- package/lib/modules/video-window/store.d.ts +88 -0
- package/lib/modules/video-window/store.js +598 -0
- package/lib/modules/video-window/topControl/index.css +35 -0
- package/lib/modules/video-window/topControl/index.d.ts +3 -0
- package/lib/modules/video-window/topControl/index.js +85 -0
- package/lib/modules/video-window/type.d.ts +23 -0
- package/lib/modules/video-window/type.js +32 -0
- package/lib/modules/video-window/view.d.ts +2 -0
- package/lib/modules/video-window/view.js +63 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +55 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +49 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +163 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +36 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +63 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +34 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +19 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/electron.d.ts +1 -0
- package/lib/modules/whiteboard/components/progress/electron.js +32 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +50 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +32 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +94 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +77 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +8 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +44 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +28 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +105 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +98 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +41 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +131 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +112 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/screen-capture-picker.js +74 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +163 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +175 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +50 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +224 -0
- package/lib/modules/whiteboard/context.d.ts +66 -0
- package/lib/modules/whiteboard/context.js +34 -0
- package/lib/modules/whiteboard/index.d.ts +115 -0
- package/lib/modules/whiteboard/index.js +1082 -0
- package/lib/modules/whiteboard/style.css +142 -0
- package/lib/modules/whiteboard/type.d.ts +96 -0
- package/lib/modules/whiteboard/type.js +94 -0
- package/lib/modules/whiteboard/utils.d.ts +11 -0
- package/lib/modules/whiteboard/utils.js +25 -0
- package/lib/plugins/browser-runtime-plugin.d.ts +0 -0
- package/lib/plugins/browser-runtime-plugin.js +67 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +22 -0
- package/lib/plugins/electron-rtc-plugin.d.ts +1 -0
- package/lib/plugins/electron-rtc-plugin.js +5 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +181 -0
- package/lib/plugins/multi-lang-plugin.d.ts +5 -0
- package/lib/plugins/multi-lang-plugin.js +17 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/runtime.d.ts +86 -0
- package/lib/translations/enUS.d.ts +993 -0
- package/lib/translations/enUS.js +1016 -0
- package/lib/translations/zhCN.d.ts +993 -0
- package/lib/translations/zhCN.js +1016 -0
- package/lib/type.d.ts +107 -0
- package/lib/type.js +42 -0
- package/lib/ui-manager.d.ts +17 -0
- package/lib/ui-manager.js +555 -0
- package/lib/ui-scene.d.ts +13 -0
- package/lib/ui-scene.js +142 -0
- package/lib/utilities/board-context.d.ts +5 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +248 -0
- package/lib/utilities/constant.js +232 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/default-config.d.ts +32 -0
- package/lib/utilities/default-config.js +39 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +97 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +99 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/platform.d.ts +1 -0
- package/lib/utilities/platform.js +11 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/renderer-event.d.ts +9 -0
- package/lib/utilities/renderer-event.js +76 -0
- package/lib/utilities/renderer.d.ts +23 -0
- package/lib/utilities/renderer.js +109 -0
- package/lib/utilities/screen.d.ts +3 -0
- package/lib/utilities/screen.js +41 -0
- package/lib/utilities/tools.d.ts +25 -0
- package/lib/utilities/tools.js +164 -0
- package/lib/utilities/ui-resources.d.ts +2 -0
- package/lib/utilities/ui-resources.js +9 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/lib/utilities/video-track-render-context.d.ts +8 -0
- package/lib/utilities/video-track-render-context.js +9 -0
- package/package.json +61 -85
- package/public/assets/fcr_chat_reddot.svg +5 -0
- package/public/assets/fcr_defaultpage.png +0 -0
- package/public/assets/fcr_grid_big.svg +3 -0
- package/public/assets/fcr_listontop_big.svg +3 -0
- package/public/assets/pretest.mp3 +0 -0
- package/public/assets/state-bar-logo.png +0 -0
- package/public/assets/step-gradient.svg +10 -0
- package/public/extensions/agora-extension-virtual-background/agora-wasm.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm-simd.wasm +0 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.js +1 -0
- package/public/extensions/ai-denoiser/denoiser-wasm.wasm +0 -0
- package/public/index.html +26 -0
- package/lib/fcr-ui-kit/src/components/avatar/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/avatar/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/components/button/index.d.ts +0 -82
- package/lib/fcr-ui-kit/src/components/checkbox/index.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/dialog/class-dialog.d.ts +0 -51
- package/lib/fcr-ui-kit/src/components/dialog/confirm-dialog.d.ts +0 -70
- package/lib/fcr-ui-kit/src/components/dialog/global-dialog.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/dialog/index.d.ts +0 -68
- package/lib/fcr-ui-kit/src/components/dropdown/index.d.ts +0 -58
- package/lib/fcr-ui-kit/src/components/input/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/input-number/index.d.ts +0 -69
- package/lib/fcr-ui-kit/src/components/pagination/index.d.ts +0 -27
- package/lib/fcr-ui-kit/src/components/popover/index.d.ts +0 -47
- package/lib/fcr-ui-kit/src/components/progress/index.d.ts +0 -11
- package/lib/fcr-ui-kit/src/components/radio/index.d.ts +0 -21
- package/lib/fcr-ui-kit/src/components/slider/index.d.ts +0 -22
- package/lib/fcr-ui-kit/src/components/sound-player/index.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/svg-img/clickable-icon.d.ts +0 -25
- package/lib/fcr-ui-kit/src/components/svg-img/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svg-img/mic.d.ts +0 -5
- package/lib/fcr-ui-kit/src/components/svg-img/svg-dict.d.ts +0 -12
- package/lib/fcr-ui-kit/src/components/svg-img/type.d.ts +0 -196
- package/lib/fcr-ui-kit/src/components/svga-player/index.d.ts +0 -15
- package/lib/fcr-ui-kit/src/components/svga-player/svga-types.d.ts +0 -1
- package/lib/fcr-ui-kit/src/components/table/index.d.ts +0 -9
- package/lib/fcr-ui-kit/src/components/tabs/index.d.ts +0 -14
- package/lib/fcr-ui-kit/src/components/textarea/helper.d.ts +0 -2
- package/lib/fcr-ui-kit/src/components/textarea/index.d.ts +0 -100
- package/lib/fcr-ui-kit/src/components/toast/index.d.ts +0 -122
- package/lib/fcr-ui-kit/src/components/tooltip/dialog.d.ts +0 -19
- package/lib/fcr-ui-kit/src/components/tooltip/index.d.ts +0 -89
- package/lib/fcr-ui-kit/src/components/tooltip/info.d.ts +0 -6
- package/lib/fcr-ui-kit/src/components/volume/index.d.ts +0 -8
- package/lib/fcr-ui-kit/src/utils/click-anywhere.d.ts +0 -1
- package/lib/fcr-ui-kit/src/utils/hooks/animations.d.ts +0 -14
- package/lib/fcr-ui-kit/src/utils/hooks/use-click-anywhere.d.ts +0 -2
- package/lib/fcr-ui-kit/src/utils/tailwindcss.d.ts +0 -3
- package/lib/fcr-ui-scene/src/app.d.ts +0 -5
- package/lib/fcr-ui-scene/src/configs/base-theme.d.ts +0 -391
- package/lib/fcr-ui-scene/src/configs/base-ui.d.ts +0 -12
- package/lib/fcr-ui-scene/src/configs/room-template.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/chat/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/cloud/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/device/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/containers/action-bar/index.d.ts +0 -24
- package/lib/fcr-ui-scene/src/containers/action-bar/leave/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/action-bar/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/action-bar/raise-hands/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/record/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/screen-share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/setting/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/toolbox/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/action-bar/whiteboard/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/ask-help-list.d.ts +0 -10
- package/lib/fcr-ui-scene/src/containers/breakout-room/broadcast-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/create-panel.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-info-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/group-status-panel.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/breakout-room/grouping.d.ts +0 -15
- package/lib/fcr-ui-scene/src/containers/breakout-room/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/breakout-room/search-panel.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/breakout-room/wizard.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/dialog-header.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/index.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/cloud/personal.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/cloud/public.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/common/interact-labels.d.ts +0 -6
- package/lib/fcr-ui-scene/src/containers/device-pretest/basic-settings.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-filter.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/beauty-slider.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/device-select.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/mirror-toggle.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-pretest/video-portal.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-pretest/virtual-background.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/device-settings/audio-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/device-settings/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/device-settings/video-settings.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/dialog/class-info.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/confirm.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/dialog/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/cover-view.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/layout/gallery-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/layout/presentation-view.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/loading/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/participants/dialog.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/participants/index.d.ts +0 -5
- package/lib/fcr-ui-scene/src/containers/status-bar/class-duration/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/fullscreen/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/layout-switch/index.d.ts +0 -22
- package/lib/fcr-ui-scene/src/containers/status-bar/network/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/record-status/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/room-info/index.d.ts +0 -4
- package/lib/fcr-ui-scene/src/containers/status-bar/share/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/status-bar/widgets/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/stream-window/context.d.ts +0 -52
- package/lib/fcr-ui-scene/src/containers/video-player/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/video-player/players.d.ts +0 -3
- package/lib/fcr-ui-scene/src/containers/widget/break-out-room/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/containers/widget/draggable-wrapper/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/helpers.d.ts +0 -40
- package/lib/fcr-ui-scene/src/containers/widget/hooks.d.ts +0 -21
- package/lib/fcr-ui-scene/src/containers/widget/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/containers/widget/participants/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/extension/board.d.ts +0 -73
- package/lib/fcr-ui-scene/src/extension/edu-tool.d.ts +0 -57
- package/lib/fcr-ui-scene/src/extension/events.d.ts +0 -91
- package/lib/fcr-ui-scene/src/extension/type.d.ts +0 -94
- package/lib/fcr-ui-scene/src/index.d.ts +0 -39
- package/lib/fcr-ui-scene/src/lock.d.ts +0 -8
- package/lib/fcr-ui-scene/src/preset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/resources/translations/enUs.d.ts +0 -400
- package/lib/fcr-ui-scene/src/resources/translations/zhCn.d.ts +0 -405
- package/lib/fcr-ui-scene/src/scenarios/classroom.d.ts +0 -2
- package/lib/fcr-ui-scene/src/scenarios/layout/index.d.ts +0 -2
- package/lib/fcr-ui-scene/src/type.d.ts +0 -361
- package/lib/fcr-ui-scene/src/uistores/action-bar.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/base.d.ts +0 -58
- package/lib/fcr-ui-scene/src/uistores/breakout.d.ts +0 -225
- package/lib/fcr-ui-scene/src/uistores/cloud/helper.d.ts +0 -26
- package/lib/fcr-ui-scene/src/uistores/cloud/index.d.ts +0 -51
- package/lib/fcr-ui-scene/src/uistores/cloud/struct.d.ts +0 -131
- package/lib/fcr-ui-scene/src/uistores/context.d.ts +0 -7
- package/lib/fcr-ui-scene/src/uistores/device-setting.d.ts +0 -214
- package/lib/fcr-ui-scene/src/uistores/gallery-view.d.ts +0 -16
- package/lib/fcr-ui-scene/src/uistores/getters.d.ts +0 -40
- package/lib/fcr-ui-scene/src/uistores/index.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/layout.d.ts +0 -64
- package/lib/fcr-ui-scene/src/uistores/notification.d.ts +0 -9
- package/lib/fcr-ui-scene/src/uistores/participants.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/presentation-view.d.ts +0 -24
- package/lib/fcr-ui-scene/src/uistores/status-bar.d.ts +0 -47
- package/lib/fcr-ui-scene/src/uistores/stream.d.ts +0 -48
- package/lib/fcr-ui-scene/src/uistores/subscription/abstract.d.ts +0 -45
- package/lib/fcr-ui-scene/src/uistores/subscription/index.d.ts +0 -13
- package/lib/fcr-ui-scene/src/uistores/subscription/main-room.d.ts +0 -14
- package/lib/fcr-ui-scene/src/uistores/subscription/type.d.ts +0 -10
- package/lib/fcr-ui-scene/src/uistores/type.d.ts +0 -86
- package/lib/fcr-ui-scene/src/uistores/widget.d.ts +0 -49
- package/lib/fcr-ui-scene/src/utils/asset.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/check.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/clamp-bounds.d.ts +0 -14
- package/lib/fcr-ui-scene/src/utils/config-loader.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/grid/index.d.ts +0 -9
- package/lib/fcr-ui-scene/src/utils/hooks/use-authorization.d.ts +0 -5
- package/lib/fcr-ui-scene/src/utils/hooks/use-device-switch.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/hooks/use-drag-position.d.ts +0 -21
- package/lib/fcr-ui-scene/src/utils/hooks/use-network.d.ts +0 -17
- package/lib/fcr-ui-scene/src/utils/hooks/use-pin-stream.d.ts +0 -4
- package/lib/fcr-ui-scene/src/utils/hooks/use-rnd-position.d.ts +0 -24
- package/lib/fcr-ui-scene/src/utils/hooks/use-store.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/hooks/use-video-renderable.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/hooks/use-z-index.d.ts +0 -8
- package/lib/fcr-ui-scene/src/utils/index.d.ts +0 -7
- package/lib/fcr-ui-scene/src/utils/launch-options-holder.d.ts +0 -10
- package/lib/fcr-ui-scene/src/utils/rtc-extensions.d.ts +0 -29
- package/lib/fcr-ui-scene/src/utils/short-name.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/stream/index.d.ts +0 -3
- package/lib/fcr-ui-scene/src/utils/stream/state-keeper.d.ts +0 -18
- package/lib/fcr-ui-scene/src/utils/stream/struct.d.ts +0 -67
- package/lib/fcr-ui-scene/src/utils/vsd-pattern.d.ts +0 -1
- package/lib/fcr-ui-scene/src/utils/z-index-controller.d.ts +0 -9
- package/lib/fcr-ui-scene/tailwind.config.d.ts +0 -1
- package/lib/scene.bundle.js +0 -2
- /package/lib/{fcr-ui-scene/src/containers/video-player/tools-overlay.d.ts → electron/preload.d.ts} +0 -0
|
@@ -0,0 +1,1275 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.symbol.description.js");
|
|
5
|
+
require("core-js/modules/es.symbol.to-primitive.js");
|
|
6
|
+
require("core-js/modules/es.error.cause.js");
|
|
7
|
+
require("core-js/modules/es.error.to-string.js");
|
|
8
|
+
require("core-js/modules/es.array.is-array.js");
|
|
9
|
+
require("core-js/modules/es.array.push.js");
|
|
10
|
+
require("core-js/modules/es.date.to-primitive.js");
|
|
11
|
+
require("core-js/modules/es.function.bind.js");
|
|
12
|
+
require("core-js/modules/es.function.name.js");
|
|
13
|
+
require("core-js/modules/es.map.js");
|
|
14
|
+
require("core-js/modules/es.object.create.js");
|
|
15
|
+
require("core-js/modules/es.object.define-property.js");
|
|
16
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
17
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
18
|
+
var _typeof = require("@babel/runtime/helpers/typeof");
|
|
19
|
+
Object.defineProperty(exports, "__esModule", {
|
|
20
|
+
value: true
|
|
21
|
+
});
|
|
22
|
+
exports["default"] = void 0;
|
|
23
|
+
require("core-js/modules/es.array.concat.js");
|
|
24
|
+
require("core-js/modules/es.array.find.js");
|
|
25
|
+
require("core-js/modules/es.array.iterator.js");
|
|
26
|
+
require("core-js/modules/es.date.to-json.js");
|
|
27
|
+
require("core-js/modules/es.json.stringify.js");
|
|
28
|
+
require("core-js/modules/es.number.constructor.js");
|
|
29
|
+
require("core-js/modules/es.object.to-string.js");
|
|
30
|
+
require("core-js/modules/es.string.iterator.js");
|
|
31
|
+
require("core-js/modules/es.weak-map.js");
|
|
32
|
+
require("core-js/modules/web.dom-collections.iterator.js");
|
|
33
|
+
require("core-js/modules/web.timers.js");
|
|
34
|
+
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
35
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
36
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
37
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
38
|
+
var _mobx = require("mobx");
|
|
39
|
+
var _constant = require("../../utilities/constant");
|
|
40
|
+
var _type = require("agora-rte-sdk/lib/core/rtc/type");
|
|
41
|
+
var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
|
|
42
|
+
var _decorator = require("agora-foundation/lib/decorator");
|
|
43
|
+
var _type2 = require("agora-edu-core/lib/type");
|
|
44
|
+
var _rendererEvent = require("../../utilities/renderer-event");
|
|
45
|
+
var _toast = require("agora-ui-foundation/lib/components/toast");
|
|
46
|
+
var _platform = require("../../utilities/platform");
|
|
47
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
48
|
+
var _type3 = require("../../modules/action-bar/type");
|
|
49
|
+
var _logger = require("agora-foundation/lib/logger");
|
|
50
|
+
var _ControlBarStore;
|
|
51
|
+
var _initProto, _init_shareWithAudio, _init_shareAudioProcessingChannel, _init_currentShareId, _init_currentShareType, _init_isMuteAudio, _init_isMuteVideo, _init_currentCameraId, _init_currentMicrophoneId, _init_currentSpeakerId, _init_cameraList, _init_microphoneList, _init_speakerList, _init_localAudioVolume, _init_connectType, _init_cloudRecordingState, _init_localUserRole, _init_allowChangeSelfName, _init_allowChat, _init_allowJoinWithMuteAudio, _init_allowShareScreen, _init_allowUnmuteSelfVideo, _init_allowUnmuteSelfAudio, _init_isLockRoomEnabled, _init_isWaitingRoomEnabled, _init_showSecurity, _init_isHost, _init_hasEnableStartScreenSharePermission, _init_hasPermissionToControlAllowSendAll, _init_hasEnableStartAudioPermission, _init_hasEnableChangeNamePermission, _init_hasEnableStartVideoPermission, _init_hasLockRoomPermission, _init_roomDuration, _init_startTime, _init_videoSteamingUrl, _init_videoStreamingKey, _init_playUrl, _init_isStartError, _init_liveStreamingState, _init_hasStartCloudRecordingPermission, _init_hasGetLiveStreamingUrlPermission, _init_hasStopLiveStreamingPermission, _init_hasStartLiveStreamingPermission, _init_allApplicationWindows, _init_phoneMicEnabled, _initControlBarDecs, _updateCurrentShareContentDecs, _setLiveStreamingStateDecs, _setStartScreenSharePermissionDecs, _setPermissionToControlAllowSendAllDecs, _setStartAudioPermissionDecs, _setChangeNamePermissionDecs, _setStartVideoPermissionDecs, _setLockRoomPermissionDecs, _setCloudRecordingStateDecs, _setLocalUserRoleDecs, _setShareWithAudioStateDecs, _setShareWithAudioStateOnlyDecs, _createNewShareDecs, _handlerStopShareDecs, _setShareAudioProcessingChannelDecs, _muteLocalAudioDecs, _setCurrentMicrophoneIdDecs, _setCurrentSpeakerIdDecs, _setMicrophoneListDecs, _setSpeakerListDecs, _setLocalAudioStateDecs, _setConnectTypeDecs, _setPhoneMicEnabledDecs, _handlerOpenAudioSettingDecs, _handlerMicrophoneDeviceChangeDecs, _handlerSpeakerDeviceChangeDecs, _muteLocalVideoDecs, _setLocalAudioVolumeDecs, _setCurrentCameraIdDecs, _setCameraListDecs, _setLocalVideoStateDecs, _handlerCameraDeviceChangeDecs, _setIsHostDecs, _setShowSecurityDecs, _setAllowChangeSelfNameDecs, _setAllowChatDecs, _setAllowJoinWithMuteAudioDecs, _setAllowShareScreenDecs, _setAllowUnmuteSelfVideoDecs, _setAllowUnmuteSelfAudioDecs, _setLockRoomEnabledDecs, _setWaitingRoomEnabledDecs, _handleMoreClickDecs, _ref;
|
|
52
|
+
function _classPrivateFieldInitSpec(obj, privateMap, value) { _checkPrivateRedeclaration(obj, privateMap); privateMap.set(obj, value); }
|
|
53
|
+
function _checkPrivateRedeclaration(obj, privateCollection) { if (privateCollection.has(obj)) { throw new TypeError("Cannot initialize the same private elements twice on an object"); } }
|
|
54
|
+
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
55
|
+
function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }
|
|
56
|
+
function _assertClassBrand(e, t, n) { if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError("Private element is not present on this object"); }
|
|
57
|
+
function _applyDecs(e, t, r, n, o, a) { function i(e, t, r) { return function (n, o) { return r && r(n), e[t].call(n, o); }; } function c(e, t) { for (var r = 0; r < e.length; r++) e[r].call(t); return t; } function s(e, t, r, n) { if ("function" != typeof e && (n || void 0 !== e)) throw new TypeError(t + " must " + (r || "be") + " a function" + (n ? "" : " or undefined")); return e; } function applyDec(e, t, r, n, o, a, c, u, l, f, p, d, h) { function m(e) { if (!h(e)) throw new TypeError("Attempted to access private element on non-instance"); } var y, v = t[0], g = t[3], b = !u; if (!b) { r || Array.isArray(v) || (v = [v]); var w = {}, S = [], A = 3 === o ? "get" : 4 === o || d ? "set" : "value"; f ? (p || d ? w = { get: _setFunctionName(function () { return g(this); }, n, "get"), set: function set(e) { t[4](this, e); } } : w[A] = g, p || _setFunctionName(w[A], n, 2 === o ? "" : A)) : p || (w = Object.getOwnPropertyDescriptor(e, n)); } for (var P = e, j = v.length - 1; j >= 0; j -= r ? 2 : 1) { var D = v[j], E = r ? v[j - 1] : void 0, I = {}, O = { kind: ["field", "accessor", "method", "getter", "setter", "class"][o], name: n, metadata: a, addInitializer: function (e, t) { if (e.v) throw Error("attempted to call addInitializer after decoration was finished"); s(t, "An initializer", "be", !0), c.push(t); }.bind(null, I) }; try { if (b) (y = s(D.call(E, P, O), "class decorators", "return")) && (P = y);else { var k, F; O["static"] = l, O["private"] = f, f ? 2 === o ? k = function k(e) { return m(e), w.value; } : (o < 4 && (k = i(w, "get", m)), 3 !== o && (F = i(w, "set", m))) : (k = function k(e) { return e[n]; }, (o < 2 || 4 === o) && (F = function F(e, t) { e[n] = t; })); var N = O.access = { has: f ? h.bind() : function (e) { return n in e; } }; if (k && (N.get = k), F && (N.set = F), P = D.call(E, d ? { get: w.get, set: w.set } : w[A], O), d) { if ("object" == _typeof(P) && P) (y = s(P.get, "accessor.get")) && (w.get = y), (y = s(P.set, "accessor.set")) && (w.set = y), (y = s(P.init, "accessor.init")) && S.push(y);else if (void 0 !== P) throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0"); } else s(P, (p ? "field" : "method") + " decorators", "return") && (p ? S.push(P) : w[A] = P); } } finally { I.v = !0; } } return (p || d) && u.push(function (e, t) { for (var r = S.length - 1; r >= 0; r--) t = S[r].call(e, t); return t; }), p || b || (f ? d ? u.push(i(w, "get"), i(w, "set")) : u.push(2 === o ? w[A] : i.call.bind(w[A])) : Object.defineProperty(e, n, w)), P; } function u(e, t) { return Object.defineProperty(e, Symbol.metadata || Symbol["for"]("Symbol.metadata"), { configurable: !0, enumerable: !0, value: t }); } if (arguments.length >= 6) var l = a[Symbol.metadata || Symbol["for"]("Symbol.metadata")]; var f = Object.create(null == l ? null : l), p = function (e, t, r, n) { var o, a, i = [], s = function s(t) { return _checkInRHS(t) === e; }, u = new Map(); function l(e) { e && i.push(c.bind(null, e)); } for (var f = 0; f < t.length; f++) { var p = t[f]; if (Array.isArray(p)) { var d = p[1], h = p[2], m = p.length > 3, y = 16 & d, v = !!(8 & d), g = 0 == (d &= 7), b = h + "/" + v; if (!g && !m) { var w = u.get(b); if (!0 === w || 3 === w && 4 !== d || 4 === w && 3 !== d) throw Error("Attempted to decorate a public method/accessor that has the same name as a previously decorated public method/accessor. This is not currently supported by the decorators plugin. Property name was: " + h); u.set(b, !(d > 2) || d); } applyDec(v ? e : e.prototype, p, y, m ? "#" + h : _toPropertyKey(h), d, n, v ? a = a || [] : o = o || [], i, v, m, g, 1 === d, v && m ? s : r); } } return l(o), l(a), i; }(e, t, o, f); return r.length || u(e, f), { e: p, get c() { var t = []; return r.length && [u(applyDec(e, [r], n, e.name, 5, f, t), f), c.bind(null, t, e)]; } }; }
|
|
58
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
59
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
60
|
+
function _setFunctionName(e, t, n) { "symbol" == _typeof(t) && (t = (t = t.description) ? "[" + t + "]" : ""); try { Object.defineProperty(e, "name", { configurable: !0, value: n ? n + " " + t : t }); } catch (e) {} return e; }
|
|
61
|
+
function _checkInRHS(e) { if (Object(e) !== e) throw TypeError("right-hand side of 'in' should be an object, got " + (null !== e ? _typeof(e) : "null")); return e; }
|
|
62
|
+
var _A = /*#__PURE__*/new WeakMap();
|
|
63
|
+
var _B = /*#__PURE__*/new WeakMap();
|
|
64
|
+
var _C = /*#__PURE__*/new WeakMap();
|
|
65
|
+
var _D = /*#__PURE__*/new WeakMap();
|
|
66
|
+
var _E = /*#__PURE__*/new WeakMap();
|
|
67
|
+
var _F = /*#__PURE__*/new WeakMap();
|
|
68
|
+
var _G = /*#__PURE__*/new WeakMap();
|
|
69
|
+
var _H = /*#__PURE__*/new WeakMap();
|
|
70
|
+
var _I = /*#__PURE__*/new WeakMap();
|
|
71
|
+
var _J = /*#__PURE__*/new WeakMap();
|
|
72
|
+
var _K = /*#__PURE__*/new WeakMap();
|
|
73
|
+
var _L = /*#__PURE__*/new WeakMap();
|
|
74
|
+
var _M = /*#__PURE__*/new WeakMap();
|
|
75
|
+
var _N = /*#__PURE__*/new WeakMap();
|
|
76
|
+
var _O = /*#__PURE__*/new WeakMap();
|
|
77
|
+
var _P = /*#__PURE__*/new WeakMap();
|
|
78
|
+
var _Q = /*#__PURE__*/new WeakMap();
|
|
79
|
+
var _R = /*#__PURE__*/new WeakMap();
|
|
80
|
+
var _S = /*#__PURE__*/new WeakMap();
|
|
81
|
+
var _T = /*#__PURE__*/new WeakMap();
|
|
82
|
+
var _U = /*#__PURE__*/new WeakMap();
|
|
83
|
+
var _V = /*#__PURE__*/new WeakMap();
|
|
84
|
+
var _W = /*#__PURE__*/new WeakMap();
|
|
85
|
+
var _X = /*#__PURE__*/new WeakMap();
|
|
86
|
+
var _Y = /*#__PURE__*/new WeakMap();
|
|
87
|
+
var _Z = /*#__PURE__*/new WeakMap();
|
|
88
|
+
var _a = /*#__PURE__*/new WeakMap();
|
|
89
|
+
var _b = /*#__PURE__*/new WeakMap();
|
|
90
|
+
var _c = /*#__PURE__*/new WeakMap();
|
|
91
|
+
var _d = /*#__PURE__*/new WeakMap();
|
|
92
|
+
var _e = /*#__PURE__*/new WeakMap();
|
|
93
|
+
var _f = /*#__PURE__*/new WeakMap();
|
|
94
|
+
var _g = /*#__PURE__*/new WeakMap();
|
|
95
|
+
var _h = /*#__PURE__*/new WeakMap();
|
|
96
|
+
var _i = /*#__PURE__*/new WeakMap();
|
|
97
|
+
var _j = /*#__PURE__*/new WeakMap();
|
|
98
|
+
var _k = /*#__PURE__*/new WeakMap();
|
|
99
|
+
var _l = /*#__PURE__*/new WeakMap();
|
|
100
|
+
var _m = /*#__PURE__*/new WeakMap();
|
|
101
|
+
var _n = /*#__PURE__*/new WeakMap();
|
|
102
|
+
var _o = /*#__PURE__*/new WeakMap();
|
|
103
|
+
var _p = /*#__PURE__*/new WeakMap();
|
|
104
|
+
var _q = /*#__PURE__*/new WeakMap();
|
|
105
|
+
var _r = /*#__PURE__*/new WeakMap();
|
|
106
|
+
var _s = /*#__PURE__*/new WeakMap();
|
|
107
|
+
_ref = (_initControlBarDecs = [_mobx.action, _mobx.action.bound], _updateCurrentShareContentDecs = [_mobx.action, _mobx.action.bound], _setLiveStreamingStateDecs = [_mobx.action, _mobx.action.bound], _setStartScreenSharePermissionDecs = [_mobx.action, _mobx.action.bound], _setPermissionToControlAllowSendAllDecs = [_mobx.action, _mobx.action.bound], _setStartAudioPermissionDecs = [_mobx.action, _mobx.action.bound], _setChangeNamePermissionDecs = [_mobx.action, _mobx.action.bound], _setStartVideoPermissionDecs = [_mobx.action, _mobx.action.bound], _setLockRoomPermissionDecs = [_mobx.action, _mobx.action.bound], _setCloudRecordingStateDecs = [_mobx.action, _mobx.action.bound], _setLocalUserRoleDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateOnlyDecs = [_mobx.action, _mobx.action.bound], _createNewShareDecs = [_mobx.action, _mobx.action.bound], _handlerStopShareDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _muteLocalAudioDecs = [_mobx.action, _mobx.action.bound], _setCurrentMicrophoneIdDecs = [_mobx.action, _mobx.action.bound], _setCurrentSpeakerIdDecs = [_mobx.action, _mobx.action.bound], _setMicrophoneListDecs = [_mobx.action, _mobx.action.bound], _setSpeakerListDecs = [_mobx.action, _mobx.action.bound], _setLocalAudioStateDecs = [_mobx.action, _mobx.action.bound], _setConnectTypeDecs = [_mobx.action, _mobx.action.bound], _setPhoneMicEnabledDecs = [_mobx.action, _mobx.action.bound], _handlerOpenAudioSettingDecs = [_mobx.action, _mobx.action.bound], _handlerMicrophoneDeviceChangeDecs = [_mobx.action, _mobx.action.bound], _handlerSpeakerDeviceChangeDecs = [_mobx.action, _mobx.action.bound], _muteLocalVideoDecs = [_mobx.action, _mobx.action.bound], _setLocalAudioVolumeDecs = [_mobx.action, _mobx.action.bound], _setCurrentCameraIdDecs = [_mobx.action, _mobx.action.bound], _setCameraListDecs = [_mobx.action, _mobx.action.bound], _setLocalVideoStateDecs = [_mobx.action, _mobx.action.bound], _handlerCameraDeviceChangeDecs = [_mobx.action, _mobx.action.bound], _setIsHostDecs = [_mobx.action, _mobx.action.bound], _setShowSecurityDecs = [_mobx.action, _mobx.action.bound], _setAllowChangeSelfNameDecs = [_mobx.action, _mobx.action.bound], _setAllowChatDecs = [_mobx.action, _mobx.action.bound], _setAllowJoinWithMuteAudioDecs = [_mobx.action, _mobx.action.bound], _setAllowShareScreenDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfVideoDecs = [_mobx.action, _mobx.action.bound], _setAllowUnmuteSelfAudioDecs = [_mobx.action, _mobx.action.bound], _setLockRoomEnabledDecs = [_mobx.action, _mobx.action.bound], _setWaitingRoomEnabledDecs = [_mobx.action, _mobx.action.bound], _handleMoreClickDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
108
|
+
var ControlBarStore = exports["default"] = /*#__PURE__*/function () {
|
|
109
|
+
function ControlBarStore() {
|
|
110
|
+
(0, _classCallCheck2["default"])(this, ControlBarStore);
|
|
111
|
+
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
112
|
+
(0, _defineProperty2["default"])(this, "_screenBounds", {
|
|
113
|
+
width: 0,
|
|
114
|
+
height: 0,
|
|
115
|
+
availTop: 0
|
|
116
|
+
});
|
|
117
|
+
_classPrivateFieldInitSpec(this, _A, _init_shareWithAudio(this, false));
|
|
118
|
+
_classPrivateFieldInitSpec(this, _B, _init_shareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
|
|
119
|
+
_classPrivateFieldInitSpec(this, _C, _init_currentShareId(this, ''));
|
|
120
|
+
_classPrivateFieldInitSpec(this, _D, _init_currentShareType(this, _type.AgoraRtcScreenCaptureType.DISPLAY));
|
|
121
|
+
_classPrivateFieldInitSpec(this, _E, _init_isMuteAudio(this, false));
|
|
122
|
+
_classPrivateFieldInitSpec(this, _F, _init_isMuteVideo(this, false));
|
|
123
|
+
_classPrivateFieldInitSpec(this, _G, _init_currentCameraId(this, ''));
|
|
124
|
+
_classPrivateFieldInitSpec(this, _H, _init_currentMicrophoneId(this, ''));
|
|
125
|
+
_classPrivateFieldInitSpec(this, _I, _init_currentSpeakerId(this, ''));
|
|
126
|
+
_classPrivateFieldInitSpec(this, _J, _init_cameraList(this, []));
|
|
127
|
+
_classPrivateFieldInitSpec(this, _K, _init_microphoneList(this, []));
|
|
128
|
+
_classPrivateFieldInitSpec(this, _L, _init_speakerList(this, []));
|
|
129
|
+
_classPrivateFieldInitSpec(this, _M, _init_localAudioVolume(this, 0));
|
|
130
|
+
_classPrivateFieldInitSpec(this, _N, _init_connectType(this, _type3.ConnectType.NONE));
|
|
131
|
+
_classPrivateFieldInitSpec(this, _O, _init_cloudRecordingState(this, _type2.FcrRecordingState.Stopped));
|
|
132
|
+
_classPrivateFieldInitSpec(this, _P, _init_localUserRole(this, _type2.FcrUserRole.PARTICIPANT));
|
|
133
|
+
// security
|
|
134
|
+
_classPrivateFieldInitSpec(this, _Q, _init_allowChangeSelfName(this, false));
|
|
135
|
+
_classPrivateFieldInitSpec(this, _R, _init_allowChat(this, false));
|
|
136
|
+
_classPrivateFieldInitSpec(this, _S, _init_allowJoinWithMuteAudio(this, false));
|
|
137
|
+
_classPrivateFieldInitSpec(this, _T, _init_allowShareScreen(this, false));
|
|
138
|
+
_classPrivateFieldInitSpec(this, _U, _init_allowUnmuteSelfVideo(this, false));
|
|
139
|
+
_classPrivateFieldInitSpec(this, _V, _init_allowUnmuteSelfAudio(this, false));
|
|
140
|
+
_classPrivateFieldInitSpec(this, _W, _init_isLockRoomEnabled(this, false));
|
|
141
|
+
_classPrivateFieldInitSpec(this, _X, _init_isWaitingRoomEnabled(this, false));
|
|
142
|
+
_classPrivateFieldInitSpec(this, _Y, _init_showSecurity(this, false));
|
|
143
|
+
_classPrivateFieldInitSpec(this, _Z, _init_isHost(this, false));
|
|
144
|
+
_classPrivateFieldInitSpec(this, _a, _init_hasEnableStartScreenSharePermission(this, false));
|
|
145
|
+
_classPrivateFieldInitSpec(this, _b, _init_hasPermissionToControlAllowSendAll(this, false));
|
|
146
|
+
_classPrivateFieldInitSpec(this, _c, _init_hasEnableStartAudioPermission(this, false));
|
|
147
|
+
_classPrivateFieldInitSpec(this, _d, _init_hasEnableChangeNamePermission(this, false));
|
|
148
|
+
_classPrivateFieldInitSpec(this, _e, _init_hasEnableStartVideoPermission(this, false));
|
|
149
|
+
_classPrivateFieldInitSpec(this, _f, _init_hasLockRoomPermission(this, false));
|
|
150
|
+
_classPrivateFieldInitSpec(this, _g, _init_roomDuration(this, 0));
|
|
151
|
+
_classPrivateFieldInitSpec(this, _h, _init_startTime(this, 0));
|
|
152
|
+
_classPrivateFieldInitSpec(this, _i, _init_videoSteamingUrl(this, ''));
|
|
153
|
+
_classPrivateFieldInitSpec(this, _j, _init_videoStreamingKey(this, ''));
|
|
154
|
+
_classPrivateFieldInitSpec(this, _k, _init_playUrl(this, ''));
|
|
155
|
+
_classPrivateFieldInitSpec(this, _l, _init_isStartError(this, false));
|
|
156
|
+
_classPrivateFieldInitSpec(this, _m, _init_liveStreamingState(this, _type2.FcrLiveStreamingState.STOPPED));
|
|
157
|
+
_classPrivateFieldInitSpec(this, _n, _init_hasStartCloudRecordingPermission(this, false));
|
|
158
|
+
_classPrivateFieldInitSpec(this, _o, _init_hasGetLiveStreamingUrlPermission(this, false));
|
|
159
|
+
_classPrivateFieldInitSpec(this, _p, _init_hasStopLiveStreamingPermission(this, false));
|
|
160
|
+
_classPrivateFieldInitSpec(this, _q, _init_hasStartLiveStreamingPermission(this, false));
|
|
161
|
+
_classPrivateFieldInitSpec(this, _r, _init_allApplicationWindows(this, []));
|
|
162
|
+
_classPrivateFieldInitSpec(this, _s, _init_phoneMicEnabled(this, false));
|
|
163
|
+
window.runtime.browserWindow.maximizable = false;
|
|
164
|
+
window.runtime.browserWindow.setMaximizable(false);
|
|
165
|
+
// window.runtime.browserWindow.fullScreenable = false;
|
|
166
|
+
// window.runtime.browserWindow.setFullScreenable(false);
|
|
167
|
+
window.runtime.browserWindow.setIgnoreMouseEvents(true, {
|
|
168
|
+
forward: true
|
|
169
|
+
});
|
|
170
|
+
window.runtime.browserWindow.focus();
|
|
171
|
+
}
|
|
172
|
+
return (0, _createClass2["default"])(ControlBarStore, [{
|
|
173
|
+
key: "shareWithAudio",
|
|
174
|
+
get: function get() {
|
|
175
|
+
return _classPrivateFieldGet(_A, this);
|
|
176
|
+
},
|
|
177
|
+
set: function set(v) {
|
|
178
|
+
_classPrivateFieldSet(_A, this, v);
|
|
179
|
+
}
|
|
180
|
+
}, {
|
|
181
|
+
key: "shareAudioProcessingChannel",
|
|
182
|
+
get: function get() {
|
|
183
|
+
return _classPrivateFieldGet(_B, this);
|
|
184
|
+
},
|
|
185
|
+
set: function set(v) {
|
|
186
|
+
_classPrivateFieldSet(_B, this, v);
|
|
187
|
+
}
|
|
188
|
+
}, {
|
|
189
|
+
key: "currentShareId",
|
|
190
|
+
get: function get() {
|
|
191
|
+
return _classPrivateFieldGet(_C, this);
|
|
192
|
+
},
|
|
193
|
+
set: function set(v) {
|
|
194
|
+
_classPrivateFieldSet(_C, this, v);
|
|
195
|
+
}
|
|
196
|
+
}, {
|
|
197
|
+
key: "currentShareType",
|
|
198
|
+
get: function get() {
|
|
199
|
+
return _classPrivateFieldGet(_D, this);
|
|
200
|
+
},
|
|
201
|
+
set: function set(v) {
|
|
202
|
+
_classPrivateFieldSet(_D, this, v);
|
|
203
|
+
}
|
|
204
|
+
}, {
|
|
205
|
+
key: "isMuteAudio",
|
|
206
|
+
get: function get() {
|
|
207
|
+
return _classPrivateFieldGet(_E, this);
|
|
208
|
+
},
|
|
209
|
+
set: function set(v) {
|
|
210
|
+
_classPrivateFieldSet(_E, this, v);
|
|
211
|
+
}
|
|
212
|
+
}, {
|
|
213
|
+
key: "isMuteVideo",
|
|
214
|
+
get: function get() {
|
|
215
|
+
return _classPrivateFieldGet(_F, this);
|
|
216
|
+
},
|
|
217
|
+
set: function set(v) {
|
|
218
|
+
_classPrivateFieldSet(_F, this, v);
|
|
219
|
+
}
|
|
220
|
+
}, {
|
|
221
|
+
key: "currentCameraId",
|
|
222
|
+
get: function get() {
|
|
223
|
+
return _classPrivateFieldGet(_G, this);
|
|
224
|
+
},
|
|
225
|
+
set: function set(v) {
|
|
226
|
+
_classPrivateFieldSet(_G, this, v);
|
|
227
|
+
}
|
|
228
|
+
}, {
|
|
229
|
+
key: "currentMicrophoneId",
|
|
230
|
+
get: function get() {
|
|
231
|
+
return _classPrivateFieldGet(_H, this);
|
|
232
|
+
},
|
|
233
|
+
set: function set(v) {
|
|
234
|
+
_classPrivateFieldSet(_H, this, v);
|
|
235
|
+
}
|
|
236
|
+
}, {
|
|
237
|
+
key: "currentSpeakerId",
|
|
238
|
+
get: function get() {
|
|
239
|
+
return _classPrivateFieldGet(_I, this);
|
|
240
|
+
},
|
|
241
|
+
set: function set(v) {
|
|
242
|
+
_classPrivateFieldSet(_I, this, v);
|
|
243
|
+
}
|
|
244
|
+
}, {
|
|
245
|
+
key: "cameraList",
|
|
246
|
+
get: function get() {
|
|
247
|
+
return _classPrivateFieldGet(_J, this);
|
|
248
|
+
},
|
|
249
|
+
set: function set(v) {
|
|
250
|
+
_classPrivateFieldSet(_J, this, v);
|
|
251
|
+
}
|
|
252
|
+
}, {
|
|
253
|
+
key: "microphoneList",
|
|
254
|
+
get: function get() {
|
|
255
|
+
return _classPrivateFieldGet(_K, this);
|
|
256
|
+
},
|
|
257
|
+
set: function set(v) {
|
|
258
|
+
_classPrivateFieldSet(_K, this, v);
|
|
259
|
+
}
|
|
260
|
+
}, {
|
|
261
|
+
key: "speakerList",
|
|
262
|
+
get: function get() {
|
|
263
|
+
return _classPrivateFieldGet(_L, this);
|
|
264
|
+
},
|
|
265
|
+
set: function set(v) {
|
|
266
|
+
_classPrivateFieldSet(_L, this, v);
|
|
267
|
+
}
|
|
268
|
+
}, {
|
|
269
|
+
key: "localAudioVolume",
|
|
270
|
+
get: function get() {
|
|
271
|
+
return _classPrivateFieldGet(_M, this);
|
|
272
|
+
},
|
|
273
|
+
set: function set(v) {
|
|
274
|
+
_classPrivateFieldSet(_M, this, v);
|
|
275
|
+
}
|
|
276
|
+
}, {
|
|
277
|
+
key: "connectType",
|
|
278
|
+
get: function get() {
|
|
279
|
+
return _classPrivateFieldGet(_N, this);
|
|
280
|
+
},
|
|
281
|
+
set: function set(v) {
|
|
282
|
+
_classPrivateFieldSet(_N, this, v);
|
|
283
|
+
}
|
|
284
|
+
}, {
|
|
285
|
+
key: "cloudRecordingState",
|
|
286
|
+
get: function get() {
|
|
287
|
+
return _classPrivateFieldGet(_O, this);
|
|
288
|
+
},
|
|
289
|
+
set: function set(v) {
|
|
290
|
+
_classPrivateFieldSet(_O, this, v);
|
|
291
|
+
}
|
|
292
|
+
}, {
|
|
293
|
+
key: "localUserRole",
|
|
294
|
+
get: function get() {
|
|
295
|
+
return _classPrivateFieldGet(_P, this);
|
|
296
|
+
},
|
|
297
|
+
set: function set(v) {
|
|
298
|
+
_classPrivateFieldSet(_P, this, v);
|
|
299
|
+
}
|
|
300
|
+
}, {
|
|
301
|
+
key: "allowChangeSelfName",
|
|
302
|
+
get: function get() {
|
|
303
|
+
return _classPrivateFieldGet(_Q, this);
|
|
304
|
+
},
|
|
305
|
+
set: function set(v) {
|
|
306
|
+
_classPrivateFieldSet(_Q, this, v);
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
key: "allowChat",
|
|
310
|
+
get: function get() {
|
|
311
|
+
return _classPrivateFieldGet(_R, this);
|
|
312
|
+
},
|
|
313
|
+
set: function set(v) {
|
|
314
|
+
_classPrivateFieldSet(_R, this, v);
|
|
315
|
+
}
|
|
316
|
+
}, {
|
|
317
|
+
key: "allowJoinWithMuteAudio",
|
|
318
|
+
get: function get() {
|
|
319
|
+
return _classPrivateFieldGet(_S, this);
|
|
320
|
+
},
|
|
321
|
+
set: function set(v) {
|
|
322
|
+
_classPrivateFieldSet(_S, this, v);
|
|
323
|
+
}
|
|
324
|
+
}, {
|
|
325
|
+
key: "allowShareScreen",
|
|
326
|
+
get: function get() {
|
|
327
|
+
return _classPrivateFieldGet(_T, this);
|
|
328
|
+
},
|
|
329
|
+
set: function set(v) {
|
|
330
|
+
_classPrivateFieldSet(_T, this, v);
|
|
331
|
+
}
|
|
332
|
+
}, {
|
|
333
|
+
key: "allowUnmuteSelfVideo",
|
|
334
|
+
get: function get() {
|
|
335
|
+
return _classPrivateFieldGet(_U, this);
|
|
336
|
+
},
|
|
337
|
+
set: function set(v) {
|
|
338
|
+
_classPrivateFieldSet(_U, this, v);
|
|
339
|
+
}
|
|
340
|
+
}, {
|
|
341
|
+
key: "allowUnmuteSelfAudio",
|
|
342
|
+
get: function get() {
|
|
343
|
+
return _classPrivateFieldGet(_V, this);
|
|
344
|
+
},
|
|
345
|
+
set: function set(v) {
|
|
346
|
+
_classPrivateFieldSet(_V, this, v);
|
|
347
|
+
}
|
|
348
|
+
}, {
|
|
349
|
+
key: "isLockRoomEnabled",
|
|
350
|
+
get: function get() {
|
|
351
|
+
return _classPrivateFieldGet(_W, this);
|
|
352
|
+
},
|
|
353
|
+
set: function set(v) {
|
|
354
|
+
_classPrivateFieldSet(_W, this, v);
|
|
355
|
+
}
|
|
356
|
+
}, {
|
|
357
|
+
key: "isWaitingRoomEnabled",
|
|
358
|
+
get: function get() {
|
|
359
|
+
return _classPrivateFieldGet(_X, this);
|
|
360
|
+
},
|
|
361
|
+
set: function set(v) {
|
|
362
|
+
_classPrivateFieldSet(_X, this, v);
|
|
363
|
+
}
|
|
364
|
+
}, {
|
|
365
|
+
key: "showSecurity",
|
|
366
|
+
get: function get() {
|
|
367
|
+
return _classPrivateFieldGet(_Y, this);
|
|
368
|
+
},
|
|
369
|
+
set: function set(v) {
|
|
370
|
+
_classPrivateFieldSet(_Y, this, v);
|
|
371
|
+
}
|
|
372
|
+
}, {
|
|
373
|
+
key: "isHost",
|
|
374
|
+
get: function get() {
|
|
375
|
+
return _classPrivateFieldGet(_Z, this);
|
|
376
|
+
},
|
|
377
|
+
set: function set(v) {
|
|
378
|
+
_classPrivateFieldSet(_Z, this, v);
|
|
379
|
+
}
|
|
380
|
+
}, {
|
|
381
|
+
key: "hasEnableStartScreenSharePermission",
|
|
382
|
+
get: function get() {
|
|
383
|
+
return _classPrivateFieldGet(_a, this);
|
|
384
|
+
},
|
|
385
|
+
set: function set(v) {
|
|
386
|
+
_classPrivateFieldSet(_a, this, v);
|
|
387
|
+
}
|
|
388
|
+
}, {
|
|
389
|
+
key: "hasPermissionToControlAllowSendAll",
|
|
390
|
+
get: function get() {
|
|
391
|
+
return _classPrivateFieldGet(_b, this);
|
|
392
|
+
},
|
|
393
|
+
set: function set(v) {
|
|
394
|
+
_classPrivateFieldSet(_b, this, v);
|
|
395
|
+
}
|
|
396
|
+
}, {
|
|
397
|
+
key: "hasEnableStartAudioPermission",
|
|
398
|
+
get: function get() {
|
|
399
|
+
return _classPrivateFieldGet(_c, this);
|
|
400
|
+
},
|
|
401
|
+
set: function set(v) {
|
|
402
|
+
_classPrivateFieldSet(_c, this, v);
|
|
403
|
+
}
|
|
404
|
+
}, {
|
|
405
|
+
key: "hasEnableChangeNamePermission",
|
|
406
|
+
get: function get() {
|
|
407
|
+
return _classPrivateFieldGet(_d, this);
|
|
408
|
+
},
|
|
409
|
+
set: function set(v) {
|
|
410
|
+
_classPrivateFieldSet(_d, this, v);
|
|
411
|
+
}
|
|
412
|
+
}, {
|
|
413
|
+
key: "hasEnableStartVideoPermission",
|
|
414
|
+
get: function get() {
|
|
415
|
+
return _classPrivateFieldGet(_e, this);
|
|
416
|
+
},
|
|
417
|
+
set: function set(v) {
|
|
418
|
+
_classPrivateFieldSet(_e, this, v);
|
|
419
|
+
}
|
|
420
|
+
}, {
|
|
421
|
+
key: "hasLockRoomPermission",
|
|
422
|
+
get: function get() {
|
|
423
|
+
return _classPrivateFieldGet(_f, this);
|
|
424
|
+
},
|
|
425
|
+
set: function set(v) {
|
|
426
|
+
_classPrivateFieldSet(_f, this, v);
|
|
427
|
+
}
|
|
428
|
+
}, {
|
|
429
|
+
key: "roomDuration",
|
|
430
|
+
get: function get() {
|
|
431
|
+
return _classPrivateFieldGet(_g, this);
|
|
432
|
+
},
|
|
433
|
+
set: function set(v) {
|
|
434
|
+
_classPrivateFieldSet(_g, this, v);
|
|
435
|
+
}
|
|
436
|
+
}, {
|
|
437
|
+
key: "startTime",
|
|
438
|
+
get: function get() {
|
|
439
|
+
return _classPrivateFieldGet(_h, this);
|
|
440
|
+
},
|
|
441
|
+
set: function set(v) {
|
|
442
|
+
_classPrivateFieldSet(_h, this, v);
|
|
443
|
+
}
|
|
444
|
+
}, {
|
|
445
|
+
key: "videoSteamingUrl",
|
|
446
|
+
get: function get() {
|
|
447
|
+
return _classPrivateFieldGet(_i, this);
|
|
448
|
+
},
|
|
449
|
+
set: function set(v) {
|
|
450
|
+
_classPrivateFieldSet(_i, this, v);
|
|
451
|
+
}
|
|
452
|
+
}, {
|
|
453
|
+
key: "videoStreamingKey",
|
|
454
|
+
get: function get() {
|
|
455
|
+
return _classPrivateFieldGet(_j, this);
|
|
456
|
+
},
|
|
457
|
+
set: function set(v) {
|
|
458
|
+
_classPrivateFieldSet(_j, this, v);
|
|
459
|
+
}
|
|
460
|
+
}, {
|
|
461
|
+
key: "playUrl",
|
|
462
|
+
get: function get() {
|
|
463
|
+
return _classPrivateFieldGet(_k, this);
|
|
464
|
+
},
|
|
465
|
+
set: function set(v) {
|
|
466
|
+
_classPrivateFieldSet(_k, this, v);
|
|
467
|
+
}
|
|
468
|
+
}, {
|
|
469
|
+
key: "isStartError",
|
|
470
|
+
get: function get() {
|
|
471
|
+
return _classPrivateFieldGet(_l, this);
|
|
472
|
+
},
|
|
473
|
+
set: function set(v) {
|
|
474
|
+
_classPrivateFieldSet(_l, this, v);
|
|
475
|
+
}
|
|
476
|
+
}, {
|
|
477
|
+
key: "liveStreamingState",
|
|
478
|
+
get: function get() {
|
|
479
|
+
return _classPrivateFieldGet(_m, this);
|
|
480
|
+
},
|
|
481
|
+
set: function set(v) {
|
|
482
|
+
_classPrivateFieldSet(_m, this, v);
|
|
483
|
+
}
|
|
484
|
+
}, {
|
|
485
|
+
key: "hasStartCloudRecordingPermission",
|
|
486
|
+
get: function get() {
|
|
487
|
+
return _classPrivateFieldGet(_n, this);
|
|
488
|
+
},
|
|
489
|
+
set: function set(v) {
|
|
490
|
+
_classPrivateFieldSet(_n, this, v);
|
|
491
|
+
}
|
|
492
|
+
}, {
|
|
493
|
+
key: "hasGetLiveStreamingUrlPermission",
|
|
494
|
+
get: function get() {
|
|
495
|
+
return _classPrivateFieldGet(_o, this);
|
|
496
|
+
},
|
|
497
|
+
set: function set(v) {
|
|
498
|
+
_classPrivateFieldSet(_o, this, v);
|
|
499
|
+
}
|
|
500
|
+
}, {
|
|
501
|
+
key: "hasStopLiveStreamingPermission",
|
|
502
|
+
get: function get() {
|
|
503
|
+
return _classPrivateFieldGet(_p, this);
|
|
504
|
+
},
|
|
505
|
+
set: function set(v) {
|
|
506
|
+
_classPrivateFieldSet(_p, this, v);
|
|
507
|
+
}
|
|
508
|
+
}, {
|
|
509
|
+
key: "hasStartLiveStreamingPermission",
|
|
510
|
+
get: function get() {
|
|
511
|
+
return _classPrivateFieldGet(_q, this);
|
|
512
|
+
},
|
|
513
|
+
set: function set(v) {
|
|
514
|
+
_classPrivateFieldSet(_q, this, v);
|
|
515
|
+
}
|
|
516
|
+
}, {
|
|
517
|
+
key: "allApplicationWindows",
|
|
518
|
+
get: function get() {
|
|
519
|
+
return _classPrivateFieldGet(_r, this);
|
|
520
|
+
},
|
|
521
|
+
set: function set(v) {
|
|
522
|
+
_classPrivateFieldSet(_r, this, v);
|
|
523
|
+
}
|
|
524
|
+
}, {
|
|
525
|
+
key: "phoneMicEnabled",
|
|
526
|
+
get: function get() {
|
|
527
|
+
return _classPrivateFieldGet(_s, this);
|
|
528
|
+
},
|
|
529
|
+
set: function set(v) {
|
|
530
|
+
_classPrivateFieldSet(_s, this, v);
|
|
531
|
+
}
|
|
532
|
+
}, {
|
|
533
|
+
key: "initControlBar",
|
|
534
|
+
value: function initControlBar(payload) {
|
|
535
|
+
this.shareAudioProcessingChannel = payload.currentShareAudioProcessingChannel;
|
|
536
|
+
this.currentShareId = payload.currentShareId;
|
|
537
|
+
this.currentShareType = payload.currentShareType;
|
|
538
|
+
this.setShareWithAudioState(payload.shareWithAudio);
|
|
539
|
+
// room
|
|
540
|
+
this.setRoomDuration(payload.duration);
|
|
541
|
+
this.setStartTime(payload.startTime);
|
|
542
|
+
|
|
543
|
+
// Video
|
|
544
|
+
this.setCameraList(payload.cameraList);
|
|
545
|
+
this.setCurrentCameraId(payload.currentCameraId);
|
|
546
|
+
this.muteLocalVideo(payload.isMuteVideo);
|
|
547
|
+
// Audio
|
|
548
|
+
this.setMicrophoneList(payload.microphoneList);
|
|
549
|
+
this.setSpeakerList(payload.speakerList);
|
|
550
|
+
this.setCurrentMicrophoneId(payload.currentMicrophoneId);
|
|
551
|
+
this.setCurrentSpeakerId(payload.currentSpeakerId);
|
|
552
|
+
this.muteLocalAudio(payload.isMuteAudio);
|
|
553
|
+
this.setLocalAudioVolume(payload.localAudioVolume);
|
|
554
|
+
// security
|
|
555
|
+
this.setShowSecurity(payload.showSecurity);
|
|
556
|
+
this.setIsHost(payload.isHost);
|
|
557
|
+
this.setAllowChangeSelfName(payload.allowChangeSelfName);
|
|
558
|
+
this.setAllowChat(payload.allowChat);
|
|
559
|
+
this.setAllowJoinWithMuteAudio(payload.allowJoinWithMuteAudio);
|
|
560
|
+
this.setAllowShareScreen(payload.allowShareScreen);
|
|
561
|
+
this.setAllowUnmuteSelfVideo(payload.allowUnmuteSelfVideo);
|
|
562
|
+
this.setAllowUnmuteSelfAudio(payload.allowUnmuteSelfAudio);
|
|
563
|
+
this.setLockRoomEnabled(payload.isLockRoomEnabled);
|
|
564
|
+
this.setWaitingRoomEnabled(payload.isWaitingRoomEnabled);
|
|
565
|
+
this.setHasStartCloudRecordingPermission(payload.hasStartCloudRecordingPermission);
|
|
566
|
+
this.setHasStartLiveStreamingPermission(payload.hasStartLiveStreamingPermission);
|
|
567
|
+
this.setHasStopLiveStreamingPermission(payload.hasStopLiveStreamingPermission);
|
|
568
|
+
this.setHasGetLiveStreamingUrlPermission(payload.hasGetLiveStreamingLinkPermission);
|
|
569
|
+
this.setStartScreenSharePermission(payload.hasEnableStartScreenSharePermission);
|
|
570
|
+
this.setPermissionToControlAllowSendAll(payload.hasPermissionToControlAllowSendAll);
|
|
571
|
+
this.setStartAudioPermission(payload.hasEnableStartAudioPermission);
|
|
572
|
+
this.setChangeNamePermission(payload.hasEnableChangeNamePermission);
|
|
573
|
+
this.setStartVideoPermission(payload.hasEnableStartVideoPermission);
|
|
574
|
+
this.setLockRoomPermission(payload.hasLockRoomPermission);
|
|
575
|
+
// live streaming
|
|
576
|
+
this.setLiveStreamingState(payload.liveStreamingState);
|
|
577
|
+
this.setLiveStreamingInfo({
|
|
578
|
+
videoSteamingUrl: payload.videoSteamingUrl,
|
|
579
|
+
videoStreamingKey: payload.videoStreamingKey,
|
|
580
|
+
playUrl: payload.playUrl,
|
|
581
|
+
isStartError: payload.isStartError
|
|
582
|
+
});
|
|
583
|
+
this.setApplicationWindows(payload.allApplicationWindows);
|
|
584
|
+
this._setControlBarWindowBounds();
|
|
585
|
+
}
|
|
586
|
+
}, {
|
|
587
|
+
key: "_setControlBarWindowBounds",
|
|
588
|
+
value: function _setControlBarWindowBounds() {
|
|
589
|
+
var _this = this;
|
|
590
|
+
var _this$getCurrentWorkA = this.getCurrentWorkArea(),
|
|
591
|
+
workareaX = _this$getCurrentWorkA.x,
|
|
592
|
+
workareaY = _this$getCurrentWorkA.y,
|
|
593
|
+
availWidth = _this$getCurrentWorkA.width,
|
|
594
|
+
availHeight = _this$getCurrentWorkA.height,
|
|
595
|
+
availTop = _this$getCurrentWorkA.availTop;
|
|
596
|
+
this._screenBounds = {
|
|
597
|
+
width: availWidth,
|
|
598
|
+
height: availHeight,
|
|
599
|
+
availTop: availTop
|
|
600
|
+
};
|
|
601
|
+
|
|
602
|
+
/* 使用window.screen.availWidth在windows上会黑屏,详见jira:APAAS-5732
|
|
603
|
+
怀疑是在windows上BrowserWindow有一个边框,所以需要减去一定的宽度。
|
|
604
|
+
实验结果最低是4。这里减去10留一点buffer,防止其他操作系统的边框不一致。
|
|
605
|
+
*/
|
|
606
|
+
var WINDOWS_SCREEN_BOUNDARY_WIDTH = 10;
|
|
607
|
+
var width = (0, _platform.isWindows)() ? availWidth - WINDOWS_SCREEN_BOUNDARY_WIDTH : availWidth;
|
|
608
|
+
// 重新设置窗口大小
|
|
609
|
+
setTimeout(function () {
|
|
610
|
+
window.runtime.browserWindow.setBounds({
|
|
611
|
+
x: workareaX,
|
|
612
|
+
y: workareaY,
|
|
613
|
+
width: width,
|
|
614
|
+
height: availHeight
|
|
615
|
+
});
|
|
616
|
+
_this.logger.info("set browser window bounds: ".concat(workareaX, ", ").concat(workareaY, ", ").concat(width, ", ").concat(availHeight));
|
|
617
|
+
});
|
|
618
|
+
window.runtime.browserWindow.setMaximumSize(width, availHeight);
|
|
619
|
+
this.logger.info("set browser window max size: ".concat(width, ", ").concat(availHeight));
|
|
620
|
+
window.runtime.setAlwaysOnTop();
|
|
621
|
+
window.runtime.browserWindow.setBounds({
|
|
622
|
+
x: workareaX,
|
|
623
|
+
y: workareaY
|
|
624
|
+
});
|
|
625
|
+
this.logger.info("set browser window position: ".concat(workareaX, ", ").concat(workareaY));
|
|
626
|
+
(0, _rendererEvent.sendEvent)({
|
|
627
|
+
action: _constant.RendererEventAction.SET_CONTROL_BAR_WINDOW_ID,
|
|
628
|
+
payload: {
|
|
629
|
+
controlBarWindowId: window.runtime.browserWindow.id
|
|
630
|
+
}
|
|
631
|
+
});
|
|
632
|
+
}
|
|
633
|
+
}, {
|
|
634
|
+
key: "hasSecurityPermission",
|
|
635
|
+
get: function get() {
|
|
636
|
+
return this.hasEnableStartScreenSharePermission || this.hasPermissionToControlAllowSendAll || this.hasEnableStartAudioPermission || this.hasEnableChangeNamePermission || this.hasEnableStartVideoPermission || this.hasLockRoomPermission;
|
|
637
|
+
}
|
|
638
|
+
}, {
|
|
639
|
+
key: "updateCurrentShareContent",
|
|
640
|
+
value: function updateCurrentShareContent(payload) {
|
|
641
|
+
var id = payload.id,
|
|
642
|
+
type = payload.type;
|
|
643
|
+
this.currentShareId = id;
|
|
644
|
+
this.currentShareType = type;
|
|
645
|
+
this._setControlBarWindowBounds();
|
|
646
|
+
}
|
|
647
|
+
}, {
|
|
648
|
+
key: "updateAllApplicationList",
|
|
649
|
+
value: function updateAllApplicationList(allApplicationWindows) {
|
|
650
|
+
this.setApplicationWindows(allApplicationWindows);
|
|
651
|
+
}
|
|
652
|
+
}, {
|
|
653
|
+
key: "screenBounds",
|
|
654
|
+
get: function get() {
|
|
655
|
+
return this._screenBounds;
|
|
656
|
+
}
|
|
657
|
+
}, {
|
|
658
|
+
key: "setLiveStreamingInfo",
|
|
659
|
+
value: function setLiveStreamingInfo(data) {
|
|
660
|
+
this.videoSteamingUrl = data.videoSteamingUrl;
|
|
661
|
+
this.videoStreamingKey = data.videoStreamingKey;
|
|
662
|
+
this.playUrl = data.playUrl;
|
|
663
|
+
this.isStartError = data.isStartError;
|
|
664
|
+
}
|
|
665
|
+
}, {
|
|
666
|
+
key: "setLiveStreamingState",
|
|
667
|
+
value: function setLiveStreamingState(liveStreamingState) {
|
|
668
|
+
this.liveStreamingState = liveStreamingState;
|
|
669
|
+
}
|
|
670
|
+
}, {
|
|
671
|
+
key: "setStartTime",
|
|
672
|
+
value: function setStartTime(startTime) {
|
|
673
|
+
this.startTime = startTime;
|
|
674
|
+
}
|
|
675
|
+
}, {
|
|
676
|
+
key: "setRoomDuration",
|
|
677
|
+
value: function setRoomDuration(duration) {
|
|
678
|
+
this.roomDuration = duration;
|
|
679
|
+
}
|
|
680
|
+
}, {
|
|
681
|
+
key: "setStartScreenSharePermission",
|
|
682
|
+
value: function setStartScreenSharePermission(hasPermission) {
|
|
683
|
+
this.hasEnableStartScreenSharePermission = hasPermission;
|
|
684
|
+
}
|
|
685
|
+
}, {
|
|
686
|
+
key: "setPermissionToControlAllowSendAll",
|
|
687
|
+
value: function setPermissionToControlAllowSendAll(hasPermission) {
|
|
688
|
+
this.hasPermissionToControlAllowSendAll = hasPermission;
|
|
689
|
+
}
|
|
690
|
+
}, {
|
|
691
|
+
key: "setStartAudioPermission",
|
|
692
|
+
value: function setStartAudioPermission(hasPermission) {
|
|
693
|
+
this.hasEnableStartAudioPermission = hasPermission;
|
|
694
|
+
}
|
|
695
|
+
}, {
|
|
696
|
+
key: "setChangeNamePermission",
|
|
697
|
+
value: function setChangeNamePermission(hasPermission) {
|
|
698
|
+
this.hasEnableChangeNamePermission = hasPermission;
|
|
699
|
+
}
|
|
700
|
+
}, {
|
|
701
|
+
key: "setStartVideoPermission",
|
|
702
|
+
value: function setStartVideoPermission(hasPermission) {
|
|
703
|
+
this.hasEnableStartVideoPermission = hasPermission;
|
|
704
|
+
}
|
|
705
|
+
}, {
|
|
706
|
+
key: "setLockRoomPermission",
|
|
707
|
+
value: function setLockRoomPermission(hasPermission) {
|
|
708
|
+
this.hasLockRoomPermission = hasPermission;
|
|
709
|
+
}
|
|
710
|
+
}, {
|
|
711
|
+
key: "setCloudRecordingState",
|
|
712
|
+
value: function setCloudRecordingState(state) {
|
|
713
|
+
this.cloudRecordingState = state;
|
|
714
|
+
}
|
|
715
|
+
}, {
|
|
716
|
+
key: "setApplicationWindows",
|
|
717
|
+
value: function setApplicationWindows(windows) {
|
|
718
|
+
this.allApplicationWindows = windows;
|
|
719
|
+
}
|
|
720
|
+
}, {
|
|
721
|
+
key: "setLocalUserRole",
|
|
722
|
+
value: function setLocalUserRole(role) {
|
|
723
|
+
this.localUserRole = role;
|
|
724
|
+
this.setShowSecurity(role === _type2.FcrUserRole.HOST);
|
|
725
|
+
}
|
|
726
|
+
}, {
|
|
727
|
+
key: "setShareWithAudioState",
|
|
728
|
+
value: function setShareWithAudioState(withAudio) {
|
|
729
|
+
this.shareWithAudio = withAudio;
|
|
730
|
+
(0, _rendererEvent.sendEvent)({
|
|
731
|
+
action: _constant.RendererEventAction.SET_SHARE_WITH_AUDIO,
|
|
732
|
+
payload: {
|
|
733
|
+
withAudio: withAudio
|
|
734
|
+
}
|
|
735
|
+
});
|
|
736
|
+
}
|
|
737
|
+
}, {
|
|
738
|
+
key: "setShareWithAudioStateOnly",
|
|
739
|
+
value: function setShareWithAudioStateOnly(withAudio) {
|
|
740
|
+
this.shareWithAudio = withAudio;
|
|
741
|
+
}
|
|
742
|
+
}, {
|
|
743
|
+
key: "createNewShare",
|
|
744
|
+
value: function createNewShare() {
|
|
745
|
+
(0, _rendererEvent.sendEvent)({
|
|
746
|
+
action: _constant.RendererEventAction.CHOOSE_NEW_CONTENT_TO_SHARE,
|
|
747
|
+
payload: null
|
|
748
|
+
});
|
|
749
|
+
|
|
750
|
+
// this.shareWithAudio = withAudio;
|
|
751
|
+
}
|
|
752
|
+
}, {
|
|
753
|
+
key: "handlerStopShare",
|
|
754
|
+
value: function handlerStopShare() {
|
|
755
|
+
(0, _rendererEvent.sendEvent)({
|
|
756
|
+
action: _constant.RendererEventAction.STOP_SHARE_SCREEN,
|
|
757
|
+
payload: null
|
|
758
|
+
});
|
|
759
|
+
}
|
|
760
|
+
}, {
|
|
761
|
+
key: "setShareAudioProcessingChannel",
|
|
762
|
+
value: function setShareAudioProcessingChannel(target) {
|
|
763
|
+
this.shareAudioProcessingChannel = target;
|
|
764
|
+
}
|
|
765
|
+
// Audio module
|
|
766
|
+
}, {
|
|
767
|
+
key: "muteLocalAudio",
|
|
768
|
+
value: function muteLocalAudio(mute) {
|
|
769
|
+
this.isMuteAudio = mute;
|
|
770
|
+
}
|
|
771
|
+
}, {
|
|
772
|
+
key: "setCurrentMicrophoneId",
|
|
773
|
+
value: function setCurrentMicrophoneId(deviceId) {
|
|
774
|
+
this.currentMicrophoneId = deviceId;
|
|
775
|
+
}
|
|
776
|
+
}, {
|
|
777
|
+
key: "setCurrentSpeakerId",
|
|
778
|
+
value: function setCurrentSpeakerId(deviceId) {
|
|
779
|
+
this.currentSpeakerId = deviceId;
|
|
780
|
+
}
|
|
781
|
+
}, {
|
|
782
|
+
key: "setMicrophoneList",
|
|
783
|
+
value: function setMicrophoneList(list) {
|
|
784
|
+
this.microphoneList = list;
|
|
785
|
+
}
|
|
786
|
+
}, {
|
|
787
|
+
key: "setSpeakerList",
|
|
788
|
+
value: function setSpeakerList(list) {
|
|
789
|
+
this.speakerList = list;
|
|
790
|
+
}
|
|
791
|
+
}, {
|
|
792
|
+
key: "setLocalAudioState",
|
|
793
|
+
value: function setLocalAudioState() {
|
|
794
|
+
if (this.isMuteAudio) {
|
|
795
|
+
(0, _rendererEvent.sendEvent)({
|
|
796
|
+
action: _constant.RendererEventAction.UNMUTE_LOCAL_AUDIO,
|
|
797
|
+
payload: null
|
|
798
|
+
});
|
|
799
|
+
return;
|
|
800
|
+
}
|
|
801
|
+
(0, _rendererEvent.sendEvent)({
|
|
802
|
+
action: _constant.RendererEventAction.MUTE_LOCAL_AUDIO,
|
|
803
|
+
payload: {
|
|
804
|
+
confirmAudioShareWhileMicOff: this.shareWithAudio
|
|
805
|
+
}
|
|
806
|
+
});
|
|
807
|
+
}
|
|
808
|
+
}, {
|
|
809
|
+
key: "setConnectType",
|
|
810
|
+
value: function setConnectType(type) {
|
|
811
|
+
this.connectType = type;
|
|
812
|
+
}
|
|
813
|
+
}, {
|
|
814
|
+
key: "setPhoneMicEnabled",
|
|
815
|
+
value: function setPhoneMicEnabled(value) {
|
|
816
|
+
this.phoneMicEnabled = value;
|
|
817
|
+
}
|
|
818
|
+
}, {
|
|
819
|
+
key: "getCurrentWorkArea",
|
|
820
|
+
value: function getCurrentWorkArea() {
|
|
821
|
+
var currentShareId = this.currentShareId,
|
|
822
|
+
currentShareType = this.currentShareType,
|
|
823
|
+
allApplicationWindows = this.allApplicationWindows;
|
|
824
|
+
var displays = window.runtime.screen.getAllDisplays();
|
|
825
|
+
var bounds = {
|
|
826
|
+
x: 0,
|
|
827
|
+
y: 0,
|
|
828
|
+
width: 0,
|
|
829
|
+
height: 0,
|
|
830
|
+
displayId: 1,
|
|
831
|
+
availTop: 0
|
|
832
|
+
};
|
|
833
|
+
if (currentShareType === _type.AgoraRtcScreenCaptureType.DISPLAY) {
|
|
834
|
+
var display;
|
|
835
|
+
if ((0, _platform.isWindows)()) {
|
|
836
|
+
display = displays.find(function (display, index) {
|
|
837
|
+
return index === Number(currentShareId);
|
|
838
|
+
});
|
|
839
|
+
} else {
|
|
840
|
+
display = displays.find(function (display, index) {
|
|
841
|
+
return display.id === Number(currentShareId);
|
|
842
|
+
});
|
|
843
|
+
}
|
|
844
|
+
if (!display) {
|
|
845
|
+
this.logger.info("cannot get correct display, use current display. width: ".concat(window.screen.availWidth, ", height: ").concat(window.screen.availHeight));
|
|
846
|
+
bounds = {
|
|
847
|
+
x: 0,
|
|
848
|
+
y: 0,
|
|
849
|
+
width: window.screen.availWidth,
|
|
850
|
+
height: window.screen.availHeight,
|
|
851
|
+
displayId: 0,
|
|
852
|
+
availTop: 0
|
|
853
|
+
};
|
|
854
|
+
} else {
|
|
855
|
+
bounds = {
|
|
856
|
+
x: display.bounds.x,
|
|
857
|
+
y: display.bounds.y,
|
|
858
|
+
width: display.bounds.width,
|
|
859
|
+
height: display.bounds.height,
|
|
860
|
+
displayId: display.id,
|
|
861
|
+
availTop: display.workArea.y
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
} else {
|
|
865
|
+
var _appWindow$bounds$x, _appWindow$bounds, _appWindow$bounds$y, _appWindow$bounds2;
|
|
866
|
+
var appWindow = allApplicationWindows.find(function (app) {
|
|
867
|
+
return app.id === currentShareId;
|
|
868
|
+
});
|
|
869
|
+
var _display = window.runtime.screen.getDisplayNearestPoint({
|
|
870
|
+
x: (_appWindow$bounds$x = appWindow === null || appWindow === void 0 || (_appWindow$bounds = appWindow.bounds) === null || _appWindow$bounds === void 0 ? void 0 : _appWindow$bounds.x) !== null && _appWindow$bounds$x !== void 0 ? _appWindow$bounds$x : 0,
|
|
871
|
+
y: (_appWindow$bounds$y = appWindow === null || appWindow === void 0 || (_appWindow$bounds2 = appWindow.bounds) === null || _appWindow$bounds2 === void 0 ? void 0 : _appWindow$bounds2.y) !== null && _appWindow$bounds$y !== void 0 ? _appWindow$bounds$y : 0
|
|
872
|
+
});
|
|
873
|
+
bounds = {
|
|
874
|
+
x: _display.bounds.x,
|
|
875
|
+
y: _display.bounds.y,
|
|
876
|
+
width: _display.bounds.width,
|
|
877
|
+
height: _display.bounds.height,
|
|
878
|
+
displayId: _display.id,
|
|
879
|
+
availTop: _display.workArea.y
|
|
880
|
+
};
|
|
881
|
+
}
|
|
882
|
+
this.logger.info("current work area: ".concat(JSON.stringify(bounds)));
|
|
883
|
+
return bounds;
|
|
884
|
+
}
|
|
885
|
+
}, {
|
|
886
|
+
key: "handlerOpenAudioSetting",
|
|
887
|
+
value: function handlerOpenAudioSetting() {
|
|
888
|
+
window.runtime.browserWindow.blur();
|
|
889
|
+
(0, _rendererEvent.sendEvent)({
|
|
890
|
+
action: _constant.RendererEventAction.OPEN_AUDIO_SETTING,
|
|
891
|
+
payload: null
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
}, {
|
|
895
|
+
key: "handlerMicrophoneDeviceChange",
|
|
896
|
+
value: function handlerMicrophoneDeviceChange(value) {
|
|
897
|
+
this.setCurrentMicrophoneId(value);
|
|
898
|
+
(0, _rendererEvent.sendEvent)({
|
|
899
|
+
action: _constant.RendererEventAction.SET_MICROPHONE_DEVICE,
|
|
900
|
+
payload: {
|
|
901
|
+
deviceId: value
|
|
902
|
+
}
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
}, {
|
|
906
|
+
key: "handlerSpeakerDeviceChange",
|
|
907
|
+
value: function handlerSpeakerDeviceChange(value) {
|
|
908
|
+
this.setCurrentSpeakerId(value);
|
|
909
|
+
(0, _rendererEvent.sendEvent)({
|
|
910
|
+
action: _constant.RendererEventAction.SET_SPEAKER_DEVICE,
|
|
911
|
+
payload: {
|
|
912
|
+
deviceId: value
|
|
913
|
+
}
|
|
914
|
+
});
|
|
915
|
+
}
|
|
916
|
+
// Video module
|
|
917
|
+
}, {
|
|
918
|
+
key: "muteLocalVideo",
|
|
919
|
+
value: function muteLocalVideo(mute) {
|
|
920
|
+
this.isMuteVideo = mute;
|
|
921
|
+
}
|
|
922
|
+
}, {
|
|
923
|
+
key: "setLocalAudioVolume",
|
|
924
|
+
value: function setLocalAudioVolume(volume) {
|
|
925
|
+
this.localAudioVolume = volume;
|
|
926
|
+
}
|
|
927
|
+
}, {
|
|
928
|
+
key: "setCurrentCameraId",
|
|
929
|
+
value: function setCurrentCameraId(deviceId) {
|
|
930
|
+
this.currentCameraId = deviceId;
|
|
931
|
+
}
|
|
932
|
+
}, {
|
|
933
|
+
key: "setCameraList",
|
|
934
|
+
value: function setCameraList(list) {
|
|
935
|
+
this.cameraList = list;
|
|
936
|
+
}
|
|
937
|
+
}, {
|
|
938
|
+
key: "setLocalVideoState",
|
|
939
|
+
value: function setLocalVideoState() {
|
|
940
|
+
if (this.isMuteVideo) {
|
|
941
|
+
(0, _rendererEvent.sendEvent)({
|
|
942
|
+
action: _constant.RendererEventAction.UNMUTE_LOCAL_VIDEO,
|
|
943
|
+
payload: null
|
|
944
|
+
});
|
|
945
|
+
return;
|
|
946
|
+
}
|
|
947
|
+
(0, _rendererEvent.sendEvent)({
|
|
948
|
+
action: _constant.RendererEventAction.MUTE_LOCAL_VIDEO,
|
|
949
|
+
payload: null
|
|
950
|
+
});
|
|
951
|
+
}
|
|
952
|
+
}, {
|
|
953
|
+
key: "handlerCameraDeviceChange",
|
|
954
|
+
value: function handlerCameraDeviceChange(value) {
|
|
955
|
+
this.setCurrentCameraId(value);
|
|
956
|
+
(0, _rendererEvent.sendEvent)({
|
|
957
|
+
action: _constant.RendererEventAction.SET_CAMERA_DEVICE,
|
|
958
|
+
payload: {
|
|
959
|
+
deviceId: value
|
|
960
|
+
}
|
|
961
|
+
});
|
|
962
|
+
}
|
|
963
|
+
}, {
|
|
964
|
+
key: "handlerOpenVirtualBackground",
|
|
965
|
+
value: function handlerOpenVirtualBackground() {
|
|
966
|
+
window.runtime.browserWindow.blur();
|
|
967
|
+
(0, _rendererEvent.sendEvent)({
|
|
968
|
+
action: _constant.RendererEventAction.OPEN_VIRTUAL_BACKGROUND,
|
|
969
|
+
payload: null
|
|
970
|
+
});
|
|
971
|
+
}
|
|
972
|
+
}, {
|
|
973
|
+
key: "handlerOpenVideoFilter",
|
|
974
|
+
value: function handlerOpenVideoFilter() {
|
|
975
|
+
window.runtime.browserWindow.blur();
|
|
976
|
+
(0, _rendererEvent.sendEvent)({
|
|
977
|
+
action: _constant.RendererEventAction.OPEN_VIDEO_FILTER,
|
|
978
|
+
payload: null
|
|
979
|
+
});
|
|
980
|
+
}
|
|
981
|
+
}, {
|
|
982
|
+
key: "handlerOpenVideoSetting",
|
|
983
|
+
value: function handlerOpenVideoSetting() {
|
|
984
|
+
window.runtime.browserWindow.blur();
|
|
985
|
+
(0, _rendererEvent.sendEvent)({
|
|
986
|
+
action: _constant.RendererEventAction.OPEN_VIDEO_SETTING,
|
|
987
|
+
payload: null
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
// security
|
|
992
|
+
}, {
|
|
993
|
+
key: "setIsHost",
|
|
994
|
+
value: function setIsHost(isHost) {
|
|
995
|
+
this.isHost = isHost;
|
|
996
|
+
}
|
|
997
|
+
}, {
|
|
998
|
+
key: "setShowSecurity",
|
|
999
|
+
value: function setShowSecurity(show) {
|
|
1000
|
+
this.showSecurity = show;
|
|
1001
|
+
}
|
|
1002
|
+
}, {
|
|
1003
|
+
key: "setAllowChangeSelfName",
|
|
1004
|
+
value: function setAllowChangeSelfName(allow) {
|
|
1005
|
+
this.allowChangeSelfName = allow;
|
|
1006
|
+
}
|
|
1007
|
+
}, {
|
|
1008
|
+
key: "updateAllowChangeSelfName",
|
|
1009
|
+
value: function updateAllowChangeSelfName(allow) {
|
|
1010
|
+
(0, _rendererEvent.sendEvent)({
|
|
1011
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME,
|
|
1012
|
+
payload: {
|
|
1013
|
+
allow: allow
|
|
1014
|
+
}
|
|
1015
|
+
});
|
|
1016
|
+
}
|
|
1017
|
+
}, {
|
|
1018
|
+
key: "setAllowChat",
|
|
1019
|
+
value: function setAllowChat(allow) {
|
|
1020
|
+
this.allowChat = allow;
|
|
1021
|
+
}
|
|
1022
|
+
}, {
|
|
1023
|
+
key: "updateAllowChat",
|
|
1024
|
+
value: function updateAllowChat(allow) {
|
|
1025
|
+
(0, _rendererEvent.sendEvent)({
|
|
1026
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_CHAT,
|
|
1027
|
+
payload: {
|
|
1028
|
+
allow: allow
|
|
1029
|
+
}
|
|
1030
|
+
});
|
|
1031
|
+
}
|
|
1032
|
+
}, {
|
|
1033
|
+
key: "setAllowJoinWithMuteAudio",
|
|
1034
|
+
value: function setAllowJoinWithMuteAudio(allow) {
|
|
1035
|
+
this.allowJoinWithMuteAudio = allow;
|
|
1036
|
+
}
|
|
1037
|
+
}, {
|
|
1038
|
+
key: "updateAllowJoinWithMuteAudio",
|
|
1039
|
+
value: function updateAllowJoinWithMuteAudio(allow) {
|
|
1040
|
+
(0, _rendererEvent.sendEvent)({
|
|
1041
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO,
|
|
1042
|
+
payload: {
|
|
1043
|
+
allow: allow
|
|
1044
|
+
}
|
|
1045
|
+
});
|
|
1046
|
+
}
|
|
1047
|
+
}, {
|
|
1048
|
+
key: "setAllowShareScreen",
|
|
1049
|
+
value: function setAllowShareScreen(allow) {
|
|
1050
|
+
this.allowShareScreen = allow;
|
|
1051
|
+
}
|
|
1052
|
+
}, {
|
|
1053
|
+
key: "updateAllowShareScreen",
|
|
1054
|
+
value: function updateAllowShareScreen(allow) {
|
|
1055
|
+
(0, _rendererEvent.sendEvent)({
|
|
1056
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_SHARE_SCREEN,
|
|
1057
|
+
payload: {
|
|
1058
|
+
allow: allow
|
|
1059
|
+
}
|
|
1060
|
+
});
|
|
1061
|
+
}
|
|
1062
|
+
}, {
|
|
1063
|
+
key: "setAllowUnmuteSelfVideo",
|
|
1064
|
+
value: function setAllowUnmuteSelfVideo(allow) {
|
|
1065
|
+
this.allowUnmuteSelfVideo = allow;
|
|
1066
|
+
}
|
|
1067
|
+
}, {
|
|
1068
|
+
key: "updateAllowUnmuteSelfVideo",
|
|
1069
|
+
value: function updateAllowUnmuteSelfVideo(allow) {
|
|
1070
|
+
(0, _rendererEvent.sendEvent)({
|
|
1071
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO,
|
|
1072
|
+
payload: {
|
|
1073
|
+
allow: allow
|
|
1074
|
+
}
|
|
1075
|
+
});
|
|
1076
|
+
}
|
|
1077
|
+
}, {
|
|
1078
|
+
key: "setAllowUnmuteSelfAudio",
|
|
1079
|
+
value: function setAllowUnmuteSelfAudio(allow) {
|
|
1080
|
+
this.allowUnmuteSelfAudio = allow;
|
|
1081
|
+
}
|
|
1082
|
+
}, {
|
|
1083
|
+
key: "updateAllowUnmuteSelfAudio",
|
|
1084
|
+
value: function updateAllowUnmuteSelfAudio(allow) {
|
|
1085
|
+
(0, _rendererEvent.sendEvent)({
|
|
1086
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO,
|
|
1087
|
+
payload: {
|
|
1088
|
+
allow: allow
|
|
1089
|
+
}
|
|
1090
|
+
});
|
|
1091
|
+
}
|
|
1092
|
+
}, {
|
|
1093
|
+
key: "setLockRoomEnabled",
|
|
1094
|
+
value: function setLockRoomEnabled(lock) {
|
|
1095
|
+
this.isLockRoomEnabled = lock;
|
|
1096
|
+
}
|
|
1097
|
+
}, {
|
|
1098
|
+
key: "updateLockRoomEnabled",
|
|
1099
|
+
value: function updateLockRoomEnabled(lock) {
|
|
1100
|
+
(0, _rendererEvent.sendEvent)({
|
|
1101
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_LOCK_ROOM,
|
|
1102
|
+
payload: {
|
|
1103
|
+
allow: lock
|
|
1104
|
+
}
|
|
1105
|
+
});
|
|
1106
|
+
}
|
|
1107
|
+
}, {
|
|
1108
|
+
key: "setWaitingRoomEnabled",
|
|
1109
|
+
value: function setWaitingRoomEnabled(allow) {
|
|
1110
|
+
this.isWaitingRoomEnabled = allow;
|
|
1111
|
+
}
|
|
1112
|
+
}, {
|
|
1113
|
+
key: "setHasStartCloudRecordingPermission",
|
|
1114
|
+
value: function setHasStartCloudRecordingPermission(allow) {
|
|
1115
|
+
this.hasStartCloudRecordingPermission = allow;
|
|
1116
|
+
}
|
|
1117
|
+
}, {
|
|
1118
|
+
key: "setHasGetLiveStreamingUrlPermission",
|
|
1119
|
+
value: function setHasGetLiveStreamingUrlPermission(hasGetLiveStreamingUrlPermission) {
|
|
1120
|
+
this.hasGetLiveStreamingUrlPermission = hasGetLiveStreamingUrlPermission;
|
|
1121
|
+
}
|
|
1122
|
+
}, {
|
|
1123
|
+
key: "setHasStopLiveStreamingPermission",
|
|
1124
|
+
value: function setHasStopLiveStreamingPermission(hasStopLiveStreamingPermission) {
|
|
1125
|
+
this.hasStopLiveStreamingPermission = hasStopLiveStreamingPermission;
|
|
1126
|
+
}
|
|
1127
|
+
}, {
|
|
1128
|
+
key: "setHasStartLiveStreamingPermission",
|
|
1129
|
+
value: function setHasStartLiveStreamingPermission(hasStartLiveStreamingPermission) {
|
|
1130
|
+
this.hasStartLiveStreamingPermission = hasStartLiveStreamingPermission;
|
|
1131
|
+
}
|
|
1132
|
+
}, {
|
|
1133
|
+
key: "updateWaitingRoomEnabled",
|
|
1134
|
+
value: function updateWaitingRoomEnabled(allow) {
|
|
1135
|
+
(0, _rendererEvent.sendEvent)({
|
|
1136
|
+
action: _constant.RendererEventAction.FRAGMENT_SET_ENABLE_WAITING_ROOM,
|
|
1137
|
+
payload: {
|
|
1138
|
+
allow: allow
|
|
1139
|
+
}
|
|
1140
|
+
});
|
|
1141
|
+
}
|
|
1142
|
+
// more
|
|
1143
|
+
}, {
|
|
1144
|
+
key: "handleMoreClick",
|
|
1145
|
+
value: function handleMoreClick(actionKey) {
|
|
1146
|
+
var _this2 = this;
|
|
1147
|
+
window.runtime.browserWindow.setIgnoreMouseEvents(true, {
|
|
1148
|
+
forward: true
|
|
1149
|
+
});
|
|
1150
|
+
(0, _rendererEvent.sendEvent)({
|
|
1151
|
+
action: actionKey,
|
|
1152
|
+
payload: null
|
|
1153
|
+
});
|
|
1154
|
+
if (actionKey === _constant.RendererEventAction.STOP_LIVE_STREAMING) {
|
|
1155
|
+
var dispose = (0, _mobx.reaction)(function () {
|
|
1156
|
+
return _this2.liveStreamingState;
|
|
1157
|
+
}, function (liveStreamingState) {
|
|
1158
|
+
if (liveStreamingState === _type2.FcrLiveStreamingState.STOPPED) {
|
|
1159
|
+
_this2.showToast({
|
|
1160
|
+
toastProps: {
|
|
1161
|
+
type: 'info',
|
|
1162
|
+
content: (0, _i18n.transI18n)('fmt_broadcast_livestream_stopped')
|
|
1163
|
+
}
|
|
1164
|
+
});
|
|
1165
|
+
dispose();
|
|
1166
|
+
}
|
|
1167
|
+
});
|
|
1168
|
+
}
|
|
1169
|
+
}
|
|
1170
|
+
}, {
|
|
1171
|
+
key: "startCloudRecording",
|
|
1172
|
+
value: function startCloudRecording() {
|
|
1173
|
+
(0, _rendererEvent.sendEvent)({
|
|
1174
|
+
action: _constant.RendererEventAction.CLOUD_RECORDING_START,
|
|
1175
|
+
payload: null
|
|
1176
|
+
});
|
|
1177
|
+
}
|
|
1178
|
+
}, {
|
|
1179
|
+
key: "pauseCloudRecording",
|
|
1180
|
+
value: function pauseCloudRecording() {
|
|
1181
|
+
(0, _rendererEvent.sendEvent)({
|
|
1182
|
+
action: _constant.RendererEventAction.CLOUD_RECORDING_PAUSE,
|
|
1183
|
+
payload: null
|
|
1184
|
+
});
|
|
1185
|
+
}
|
|
1186
|
+
}, {
|
|
1187
|
+
key: "resumeCloudRecording",
|
|
1188
|
+
value: function resumeCloudRecording() {
|
|
1189
|
+
(0, _rendererEvent.sendEvent)({
|
|
1190
|
+
action: _constant.RendererEventAction.CLOUD_RECORDING_RESUME,
|
|
1191
|
+
payload: null
|
|
1192
|
+
});
|
|
1193
|
+
}
|
|
1194
|
+
}, {
|
|
1195
|
+
key: "stopCloudRecording",
|
|
1196
|
+
value: function stopCloudRecording() {
|
|
1197
|
+
(0, _rendererEvent.sendEvent)({
|
|
1198
|
+
action: _constant.RendererEventAction.CLOUD_RECORDING_STOP,
|
|
1199
|
+
payload: null
|
|
1200
|
+
});
|
|
1201
|
+
}
|
|
1202
|
+
}, {
|
|
1203
|
+
key: "getCoordinate",
|
|
1204
|
+
value: function getCoordinate(offsetWidth, offsetHeight) {
|
|
1205
|
+
var _this$getCurrentWorkA2 = this.getCurrentWorkArea(),
|
|
1206
|
+
workareaW = _this$getCurrentWorkA2.width,
|
|
1207
|
+
displayId = _this$getCurrentWorkA2.displayId;
|
|
1208
|
+
var x = workareaW / 2 - offsetWidth / 2;
|
|
1209
|
+
var y = 0;
|
|
1210
|
+
return {
|
|
1211
|
+
x: x,
|
|
1212
|
+
y: y
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
}, {
|
|
1216
|
+
key: "showToast",
|
|
1217
|
+
value: function showToast(params) {
|
|
1218
|
+
_toast.FcrToastApi.open({
|
|
1219
|
+
toastProps: {
|
|
1220
|
+
type: params.type,
|
|
1221
|
+
content: params.message
|
|
1222
|
+
},
|
|
1223
|
+
duration: params.duration
|
|
1224
|
+
});
|
|
1225
|
+
}
|
|
1226
|
+
}]);
|
|
1227
|
+
}();
|
|
1228
|
+
_ControlBarStore = ControlBarStore;
|
|
1229
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ControlBarStore, [[_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "shareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "isMuteAudio"], [_mobx.observable, 1, "isMuteVideo"], [_mobx.observable, 1, "currentCameraId"], [_mobx.observable, 1, "currentMicrophoneId"], [_mobx.observable, 1, "currentSpeakerId"], [_mobx.observable, 1, "cameraList"], [_mobx.observable, 1, "microphoneList"], [_mobx.observable, 1, "speakerList"], [_mobx.observable, 1, "localAudioVolume"], [_mobx.observable, 1, "connectType"], [_mobx.observable, 1, "cloudRecordingState"], [_mobx.observable, 1, "localUserRole"], [_mobx.observable, 1, "allowChangeSelfName"], [_mobx.observable, 1, "allowChat"], [_mobx.observable, 1, "allowJoinWithMuteAudio"], [_mobx.observable, 1, "allowShareScreen"], [_mobx.observable, 1, "allowUnmuteSelfVideo"], [_mobx.observable, 1, "allowUnmuteSelfAudio"], [_mobx.observable, 1, "isLockRoomEnabled"], [_mobx.observable, 1, "isWaitingRoomEnabled"], [_mobx.observable, 1, "showSecurity"], [_mobx.observable, 1, "isHost"], [_mobx.observable, 1, "hasEnableStartScreenSharePermission"], [_mobx.observable, 1, "hasPermissionToControlAllowSendAll"], [_mobx.observable, 1, "hasEnableStartAudioPermission"], [_mobx.observable, 1, "hasEnableChangeNamePermission"], [_mobx.observable, 1, "hasEnableStartVideoPermission"], [_mobx.observable, 1, "hasLockRoomPermission"], [_mobx.observable, 1, "roomDuration"], [_mobx.observable, 1, "startTime"], [_mobx.observable, 1, "videoSteamingUrl"], [_mobx.observable, 1, "videoStreamingKey"], [_mobx.observable, 1, "playUrl"], [_mobx.observable, 1, "isStartError"], [_mobx.observable, 1, "liveStreamingState"], [_mobx.observable, 1, "hasStartCloudRecordingPermission"], [_mobx.observable, 1, "hasGetLiveStreamingUrlPermission"], [_mobx.observable, 1, "hasStopLiveStreamingPermission"], [_mobx.observable, 1, "hasStartLiveStreamingPermission"], [_mobx.observable, 1, "allApplicationWindows"], [_mobx.observable, 1, "phoneMicEnabled"], [_initControlBarDecs, 18, "initControlBar"], [_mobx.computed, 3, "hasSecurityPermission"], [_updateCurrentShareContentDecs, 18, "updateCurrentShareContent"], [_setLiveStreamingStateDecs, 18, "setLiveStreamingState"], [_setStartScreenSharePermissionDecs, 18, "setStartScreenSharePermission"], [_setPermissionToControlAllowSendAllDecs, 18, "setPermissionToControlAllowSendAll"], [_setStartAudioPermissionDecs, 18, "setStartAudioPermission"], [_setChangeNamePermissionDecs, 18, "setChangeNamePermission"], [_setStartVideoPermissionDecs, 18, "setStartVideoPermission"], [_setLockRoomPermissionDecs, 18, "setLockRoomPermission"], [_setCloudRecordingStateDecs, 18, "setCloudRecordingState"], [_decorator.bound, 2, "setApplicationWindows"], [_setLocalUserRoleDecs, 18, "setLocalUserRole"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_setShareWithAudioStateOnlyDecs, 18, "setShareWithAudioStateOnly"], [_createNewShareDecs, 18, "createNewShare"], [_handlerStopShareDecs, 18, "handlerStopShare"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_muteLocalAudioDecs, 18, "muteLocalAudio"], [_setCurrentMicrophoneIdDecs, 18, "setCurrentMicrophoneId"], [_setCurrentSpeakerIdDecs, 18, "setCurrentSpeakerId"], [_setMicrophoneListDecs, 18, "setMicrophoneList"], [_setSpeakerListDecs, 18, "setSpeakerList"], [_setLocalAudioStateDecs, 18, "setLocalAudioState"], [_setConnectTypeDecs, 18, "setConnectType"], [_setPhoneMicEnabledDecs, 18, "setPhoneMicEnabled"], [_handlerOpenAudioSettingDecs, 18, "handlerOpenAudioSetting"], [_handlerMicrophoneDeviceChangeDecs, 18, "handlerMicrophoneDeviceChange"], [_handlerSpeakerDeviceChangeDecs, 18, "handlerSpeakerDeviceChange"], [_muteLocalVideoDecs, 18, "muteLocalVideo"], [_setLocalAudioVolumeDecs, 18, "setLocalAudioVolume"], [_setCurrentCameraIdDecs, 18, "setCurrentCameraId"], [_setCameraListDecs, 18, "setCameraList"], [_setLocalVideoStateDecs, 18, "setLocalVideoState"], [_handlerCameraDeviceChangeDecs, 18, "handlerCameraDeviceChange"], [_setIsHostDecs, 18, "setIsHost"], [_setShowSecurityDecs, 18, "setShowSecurity"], [_setAllowChangeSelfNameDecs, 18, "setAllowChangeSelfName"], [_decorator.bound, 2, "updateAllowChangeSelfName"], [_setAllowChatDecs, 18, "setAllowChat"], [_decorator.bound, 2, "updateAllowChat"], [_setAllowJoinWithMuteAudioDecs, 18, "setAllowJoinWithMuteAudio"], [_decorator.bound, 2, "updateAllowJoinWithMuteAudio"], [_setAllowShareScreenDecs, 18, "setAllowShareScreen"], [_decorator.bound, 2, "updateAllowShareScreen"], [_setAllowUnmuteSelfVideoDecs, 18, "setAllowUnmuteSelfVideo"], [_decorator.bound, 2, "updateAllowUnmuteSelfVideo"], [_setAllowUnmuteSelfAudioDecs, 18, "setAllowUnmuteSelfAudio"], [_decorator.bound, 2, "updateAllowUnmuteSelfAudio"], [_setLockRoomEnabledDecs, 18, "setLockRoomEnabled"], [_decorator.bound, 2, "updateLockRoomEnabled"], [_setWaitingRoomEnabledDecs, 18, "setWaitingRoomEnabled"], [_mobx.action, 2, "setHasStartCloudRecordingPermission"], [_mobx.action, 2, "setHasGetLiveStreamingUrlPermission"], [_mobx.action, 2, "setHasStopLiveStreamingPermission"], [_mobx.action, 2, "setHasStartLiveStreamingPermission"], [_decorator.bound, 2, "updateWaitingRoomEnabled"], [_handleMoreClickDecs, 18, "handleMoreClick"], [_decorator.bound, 2, "startCloudRecording"], [_decorator.bound, 2, "pauseCloudRecording"], [_decorator.bound, 2, "resumeCloudRecording"], [_decorator.bound, 2, "stopCloudRecording"], [_decorator.bound, 2, "getCoordinate"]], []).e, 46);
|
|
1230
|
+
_init_shareWithAudio = _applyDecs$e[0];
|
|
1231
|
+
_init_shareAudioProcessingChannel = _applyDecs$e[1];
|
|
1232
|
+
_init_currentShareId = _applyDecs$e[2];
|
|
1233
|
+
_init_currentShareType = _applyDecs$e[3];
|
|
1234
|
+
_init_isMuteAudio = _applyDecs$e[4];
|
|
1235
|
+
_init_isMuteVideo = _applyDecs$e[5];
|
|
1236
|
+
_init_currentCameraId = _applyDecs$e[6];
|
|
1237
|
+
_init_currentMicrophoneId = _applyDecs$e[7];
|
|
1238
|
+
_init_currentSpeakerId = _applyDecs$e[8];
|
|
1239
|
+
_init_cameraList = _applyDecs$e[9];
|
|
1240
|
+
_init_microphoneList = _applyDecs$e[10];
|
|
1241
|
+
_init_speakerList = _applyDecs$e[11];
|
|
1242
|
+
_init_localAudioVolume = _applyDecs$e[12];
|
|
1243
|
+
_init_connectType = _applyDecs$e[13];
|
|
1244
|
+
_init_cloudRecordingState = _applyDecs$e[14];
|
|
1245
|
+
_init_localUserRole = _applyDecs$e[15];
|
|
1246
|
+
_init_allowChangeSelfName = _applyDecs$e[16];
|
|
1247
|
+
_init_allowChat = _applyDecs$e[17];
|
|
1248
|
+
_init_allowJoinWithMuteAudio = _applyDecs$e[18];
|
|
1249
|
+
_init_allowShareScreen = _applyDecs$e[19];
|
|
1250
|
+
_init_allowUnmuteSelfVideo = _applyDecs$e[20];
|
|
1251
|
+
_init_allowUnmuteSelfAudio = _applyDecs$e[21];
|
|
1252
|
+
_init_isLockRoomEnabled = _applyDecs$e[22];
|
|
1253
|
+
_init_isWaitingRoomEnabled = _applyDecs$e[23];
|
|
1254
|
+
_init_showSecurity = _applyDecs$e[24];
|
|
1255
|
+
_init_isHost = _applyDecs$e[25];
|
|
1256
|
+
_init_hasEnableStartScreenSharePermission = _applyDecs$e[26];
|
|
1257
|
+
_init_hasPermissionToControlAllowSendAll = _applyDecs$e[27];
|
|
1258
|
+
_init_hasEnableStartAudioPermission = _applyDecs$e[28];
|
|
1259
|
+
_init_hasEnableChangeNamePermission = _applyDecs$e[29];
|
|
1260
|
+
_init_hasEnableStartVideoPermission = _applyDecs$e[30];
|
|
1261
|
+
_init_hasLockRoomPermission = _applyDecs$e[31];
|
|
1262
|
+
_init_roomDuration = _applyDecs$e[32];
|
|
1263
|
+
_init_startTime = _applyDecs$e[33];
|
|
1264
|
+
_init_videoSteamingUrl = _applyDecs$e[34];
|
|
1265
|
+
_init_videoStreamingKey = _applyDecs$e[35];
|
|
1266
|
+
_init_playUrl = _applyDecs$e[36];
|
|
1267
|
+
_init_isStartError = _applyDecs$e[37];
|
|
1268
|
+
_init_liveStreamingState = _applyDecs$e[38];
|
|
1269
|
+
_init_hasStartCloudRecordingPermission = _applyDecs$e[39];
|
|
1270
|
+
_init_hasGetLiveStreamingUrlPermission = _applyDecs$e[40];
|
|
1271
|
+
_init_hasStopLiveStreamingPermission = _applyDecs$e[41];
|
|
1272
|
+
_init_hasStartLiveStreamingPermission = _applyDecs$e[42];
|
|
1273
|
+
_init_allApplicationWindows = _applyDecs$e[43];
|
|
1274
|
+
_init_phoneMicEnabled = _applyDecs$e[44];
|
|
1275
|
+
_initProto = _applyDecs$e[45];
|