fcr-ui-scene 3.4.1 → 3.4.3
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 +40 -5
- package/lib/base.js +234 -22
- package/lib/common/device-store.d.ts +3 -2
- package/lib/common/device-store.js +174 -194
- package/lib/common/device-stream-store.d.ts +27 -7
- package/lib/common/device-stream-store.js +190 -176
- package/lib/common/event-store.d.ts +4 -13
- package/lib/common/event-store.js +7 -18
- package/lib/common/room-store.js +6 -6
- package/lib/common/security-store.d.ts +19 -9
- package/lib/common/security-store.js +27 -39
- package/lib/creator.d.ts +1 -1
- package/lib/creator.js +4 -9
- package/lib/electron/app.js +5 -4
- package/lib/electron/bootstrap-dev.js +0 -9
- package/lib/electron/bootstrap-sdk.js +10 -2
- package/lib/electron/injections.d.ts +2 -0
- package/lib/electron/injections.js +17 -7
- package/lib/electron/logger.d.ts +0 -4
- package/lib/electron/logger.js +2 -5
- package/lib/electron/main.js +1 -1
- package/lib/electron/plugins/devtool-shortcut.js +10 -1
- package/lib/electron/plugins/meeting-state.js +1 -1
- package/lib/electron/preload.js +3 -1
- package/lib/electron/tools.js +0 -4
- package/lib/electron/window.js +0 -2
- package/lib/fragments/control-bar/control-bar-store.d.ts +1 -0
- package/lib/fragments/control-bar/control-bar-store.js +9 -4
- package/lib/fragments/control-bar/meeting-details/meeting-detail.css +31 -12
- package/lib/fragments/control-bar/meeting-details/meeting-details.js +117 -16
- package/lib/global.css +5 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +7 -4
- package/lib/login-confirm-dialog.d.ts +1 -0
- package/lib/login-confirm-dialog.js +7 -2
- package/lib/modules/action-bar/action-bar-collapes-items.d.ts +1 -1
- package/lib/modules/action-bar/action-bar-collapes-items.js +11 -11
- package/lib/modules/action-bar/apps/useInterpreter.js +2 -4
- package/lib/modules/action-bar/components/apps/app-item/index.css +1 -2
- package/lib/modules/action-bar/components/apps/app-item/index.d.ts +1 -10
- package/lib/modules/action-bar/components/apps/app-item/index.js +0 -2
- package/lib/modules/action-bar/components/apps/appitems.d.ts +1 -3
- package/lib/modules/action-bar/components/apps/appitems.js +2 -5
- package/lib/modules/action-bar/components/apps/index.css +2 -2
- package/lib/modules/action-bar/components/apps/index.js +2 -3
- package/lib/modules/action-bar/components/apps/useAppItemOptions.js +0 -1
- package/lib/modules/action-bar/components/collapse/index.d.ts +8 -0
- package/lib/modules/action-bar/components/collapse/index.js +218 -0
- package/lib/modules/action-bar/components/interpreter/index.d.ts +1 -5
- package/lib/modules/action-bar/components/item/index.d.ts +9 -0
- package/lib/modules/action-bar/components/{item.js → item/index.js} +2 -4
- package/lib/modules/action-bar/components/leave/assign-host.d.ts +1 -8
- package/lib/modules/action-bar/components/leave/assign-host.js +1 -1
- package/lib/modules/action-bar/components/leave/index.js +9 -26
- package/lib/modules/action-bar/components/leave/leave-meeting.d.ts +1 -16
- package/lib/modules/action-bar/components/more/index.js +13 -9
- package/lib/modules/action-bar/components/more/poppover-content.d.ts +1 -4
- package/lib/modules/action-bar/components/more/poppover-content.js +28 -9
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.js +2 -1
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.js +1 -1
- package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.js +1 -3
- package/lib/modules/action-bar/components/participants/index.js +2 -2
- package/lib/modules/action-bar/components/placement/index.d.ts +4 -0
- package/lib/modules/action-bar/components/placement/index.js +18 -0
- package/lib/modules/action-bar/components/record/stop-record-dialog.d.ts +1 -3
- package/lib/modules/action-bar/components/screen-share/submenu.js +25 -2
- package/lib/modules/action-bar/components/security/index.js +3 -1
- package/lib/modules/action-bar/components/smaller/index.d.ts +1 -0
- package/lib/modules/action-bar/components/smaller/index.js +52 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.d.ts +2 -0
- package/lib/modules/action-bar/components/trigger-output-language/index.js +231 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/guide-tooltip/index.d.ts +3 -0
- package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.js +14 -19
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.d.ts +5 -0
- package/lib/modules/action-bar/components/trigger-subscribe-language/index.js +206 -0
- package/lib/modules/action-bar/device/index.js +3 -1
- package/lib/modules/action-bar/enums.d.ts +23 -0
- package/lib/modules/action-bar/enums.js +35 -0
- package/lib/modules/action-bar/index.d.ts +36 -6
- package/lib/modules/action-bar/index.dev.d.ts +0 -1
- package/lib/modules/action-bar/index.dev.js +94 -121
- package/lib/modules/action-bar/index.js +46 -18
- package/lib/modules/action-bar/more/index.js +3 -6
- package/lib/modules/action-bar/screen-share/index.js +0 -5
- package/lib/modules/action-bar/security/index.js +1 -1
- package/lib/modules/action-bar/smaller.js +2 -2
- package/lib/modules/action-bar/store.d.ts +84 -98
- package/lib/modules/action-bar/store.js +567 -713
- package/lib/modules/action-bar/switch-output-language-room/index.js +8 -2
- package/lib/modules/action-bar/types.d.ts +94 -0
- package/lib/modules/action-bar/view.d.ts +1 -2
- package/lib/modules/action-bar/view.js +11 -11
- package/lib/modules/audio-stream/index.d.ts +22 -10
- package/lib/modules/audio-stream/index.js +78 -85
- package/lib/modules/chat/chat-bar/index.css +0 -5
- package/lib/modules/chat/chat-bar/index.js +14 -16
- package/lib/modules/chat/chat-room-store.d.ts +135 -0
- package/lib/modules/chat/chat-room-store.js +950 -0
- package/lib/modules/chat/chat-select/index.css +3 -6
- package/lib/modules/chat/chat-select/index.js +1 -15
- package/lib/modules/chat/chat.js +6 -7
- package/lib/modules/chat/components/chat-action/index.d.ts +1 -0
- package/lib/modules/chat/components/chat-action/index.js +28 -0
- package/lib/modules/chat/components/chat-bar/index.css +85 -0
- package/lib/modules/chat/components/chat-bar/index.d.ts +3 -0
- package/lib/modules/chat/components/chat-bar/index.js +143 -0
- package/lib/modules/chat/components/chat-select/index.css +185 -0
- package/lib/modules/chat/components/chat-select/index.d.ts +3 -0
- package/lib/modules/chat/components/chat-select/index.js +234 -0
- package/lib/modules/chat/components/message-list/index.d.ts +4 -0
- package/lib/modules/chat/components/message-list/index.js +648 -0
- package/lib/modules/chat/index.d.ts +13 -5
- package/lib/modules/chat/index.dev.d.ts +0 -1
- package/lib/modules/chat/index.dev.js +71 -72
- package/lib/modules/chat/index.js +45 -22
- package/lib/modules/chat/message-list.js +1 -4
- package/lib/modules/chat/mock.d.ts +1 -1
- package/lib/modules/chat/store.d.ts +17 -162
- package/lib/modules/chat/store.js +95 -964
- package/lib/modules/chat/types.d.ts +70 -0
- package/lib/modules/chat/types.js +17 -0
- package/lib/modules/chat/view.d.ts +10 -0
- package/lib/modules/chat/view.js +368 -0
- package/lib/modules/components/device-control/components/audio-menu/index.js +4 -3
- package/lib/modules/components/device-control/components/microphone/index.js +7 -7
- package/lib/modules/components/device-control/components/video-menu/index.js +2 -1
- package/lib/modules/components/device-control/store.d.ts +11 -12
- package/lib/modules/components/device-control/store.js +46 -50
- package/lib/modules/components/leave-meeting/components/assign-host.d.ts +3 -0
- package/lib/modules/components/leave-meeting/components/assign-host.js +70 -0
- package/lib/modules/components/leave-meeting/components/index.css +125 -0
- package/lib/modules/components/leave-meeting/index.d.ts +4 -0
- package/lib/modules/components/leave-meeting/index.js +147 -0
- package/lib/modules/components/leave-meeting/store.d.ts +31 -0
- package/lib/modules/components/leave-meeting/store.js +290 -0
- package/lib/modules/components/member-window/index.d.ts +1 -1
- package/lib/modules/components/member-window/index.js +12 -10
- package/lib/modules/components/security-menu/index.d.ts +2 -0
- package/lib/modules/components/security-menu/index.js +35 -39
- package/lib/modules/components/tab-frame/index.d.ts +2 -2
- package/lib/modules/components/tab-frame/index.js +24 -7
- package/lib/modules/connection-gateway/components/computer/index.js +4 -4
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.d.ts +1 -1
- package/lib/modules/connection-gateway/components/phone/components/callinfo/index.js +2 -1
- package/lib/modules/connection-gateway/components/phone/index.js +4 -3
- package/lib/modules/connection-gateway/enums.d.ts +4 -0
- package/lib/modules/connection-gateway/enums.js +12 -0
- package/lib/modules/connection-gateway/index.d.ts +13 -4
- package/lib/modules/connection-gateway/index.js +25 -15
- package/lib/modules/connection-gateway/store.d.ts +22 -18
- package/lib/modules/connection-gateway/store.js +60 -40
- package/lib/modules/connection-gateway/types.d.ts +4 -0
- package/lib/modules/connection-gateway/types.js +6 -0
- package/lib/modules/connection-gateway/view.js +2 -2
- package/lib/modules/control-bar/components/meeting-details/index.js +25 -28
- package/lib/modules/control-bar/components/more-actions/index.css +18 -0
- package/lib/modules/control-bar/components/more-actions/index.d.ts +1 -5
- package/lib/modules/control-bar/components/more-actions/index.js +48 -11
- package/lib/modules/control-bar/components/share-state-nav/index.d.ts +1 -7
- package/lib/modules/control-bar/components/share-state-nav/index.js +2 -1
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.d.ts +1 -1
- package/lib/modules/control-bar/components/stop-live-streaming/stop-button.js +2 -2
- package/lib/modules/control-bar/components/transfer-position-icon/index.d.ts +1 -10
- package/lib/modules/control-bar/components/transfer-position-icon/index.js +7 -12
- package/lib/modules/control-bar/enums.d.ts +21 -0
- package/lib/modules/control-bar/enums.js +31 -0
- package/lib/modules/control-bar/index.d.ts +30 -7
- package/lib/modules/control-bar/index.js +46 -29
- package/lib/modules/control-bar/store.d.ts +38 -26
- package/lib/modules/control-bar/store.js +172 -286
- package/lib/modules/control-bar/types.d.ts +20 -0
- package/lib/modules/control-bar/types.js +6 -0
- package/lib/modules/control-bar/view.js +68 -36
- package/lib/modules/device-pretest/index.js +4 -4
- package/lib/modules/device-pretest/settings/beauty.js +2 -1
- package/lib/modules/device-pretest/settings/video-settings-basic.js +1 -1
- package/lib/modules/device-pretest/settings/virtual-background-setting.js +2 -1
- package/lib/modules/device-pretest/store.d.ts +8 -9
- package/lib/modules/device-pretest/store.js +51 -37
- package/lib/modules/dialog/components/chat/electron.d.ts +1 -1
- package/lib/modules/dialog/components/chat/electron.js +19 -10
- package/lib/modules/dialog/components/chat/index.js +2 -2
- package/lib/modules/dialog/components/confirm/index.js +1 -1
- package/lib/modules/dialog/components/connection-gateway/electron.d.ts +1 -1
- package/lib/modules/dialog/components/connection-gateway/electron.js +8 -10
- package/lib/modules/dialog/components/connection-gateway/index.d.ts +3 -1
- package/lib/modules/dialog/components/connection-gateway/index.js +20 -7
- package/lib/modules/dialog/components/connection-gateway/tabs.d.ts +6 -0
- package/lib/modules/dialog/components/connection-gateway/tabs.js +44 -0
- package/lib/modules/dialog/components/control-bar/index.d.ts +5 -1
- package/lib/modules/dialog/components/control-bar/index.js +122 -9
- package/lib/modules/dialog/components/device-setting/electron.js +6 -2
- package/lib/modules/dialog/components/device-setting/index.js +2 -2
- package/lib/modules/dialog/components/dialog-container/component/body.js +75 -0
- package/lib/modules/{components → dialog/components}/dialog-container/index.css +6 -3
- package/lib/modules/{components → dialog/components}/dialog-container/index.d.ts +7 -2
- package/lib/modules/{components → dialog/components}/dialog-container/index.js +27 -25
- package/lib/modules/dialog/components/interpreter/electron.js +37 -0
- package/lib/modules/dialog/components/{Interpreter → interpreter}/index.js +2 -2
- package/lib/modules/dialog/components/invite/index.js +32 -7
- package/lib/modules/dialog/components/live-streaming/index.js +9 -5
- package/lib/modules/dialog/components/participant/electron.js +11 -5
- package/lib/modules/dialog/components/participant/index.js +4 -3
- package/lib/modules/dialog/components/remove-admit-waiting-room/electron.js +6 -3
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.d.ts +1 -1
- package/lib/modules/dialog/components/remove-admit-waiting-room/index.js +14 -4
- package/lib/modules/dialog/components/share-screen-selection/index.js +9 -5
- package/lib/modules/dialog/components/system-preference/electron.js +1 -1
- package/lib/modules/dialog/components/system-preference/index.js +0 -2
- package/lib/modules/dialog/components/toast/index.js +1 -1
- package/lib/modules/dialog/components/video-window/index.d.ts +2 -0
- package/lib/modules/dialog/components/video-window/index.js +148 -0
- package/lib/modules/dialog/components/whiteboard/index.js +2 -2
- package/lib/modules/dialog/dialogs.d.ts +2 -5
- package/lib/modules/dialog/dialogs.js +2 -157
- package/lib/modules/dialog/hooks/useElectron.d.ts +3 -25
- package/lib/modules/dialog/hooks/useElectron.js +90 -36
- package/lib/modules/dialog/index.d.ts +30 -4
- package/lib/modules/dialog/index.js +61 -7
- package/lib/modules/dialog/store.d.ts +46 -12
- package/lib/modules/dialog/store.js +121 -68
- package/lib/modules/dialog/types/index.d.ts +14 -3
- package/lib/modules/dialog/view.js +2 -1
- package/lib/modules/event-confirm/index.css +1 -1
- package/lib/modules/event-confirm/index.d.ts +13 -6
- package/lib/modules/event-confirm/index.js +28 -11
- package/lib/modules/event-confirm/store.d.ts +9 -3
- package/lib/modules/event-confirm/store.js +16 -10
- package/lib/modules/event-confirm/view.js +7 -6
- package/lib/modules/event-toast/index.d.ts +7 -6
- package/lib/modules/event-toast/index.js +19 -8
- package/lib/modules/event-toast/store.d.ts +8 -3
- package/lib/modules/event-toast/store.js +15 -8
- package/lib/modules/event-toast/view.js +2 -1
- package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.js +2 -2
- package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.js +5 -5
- package/lib/modules/{Interpreter → interpreter}/constant.d.ts +0 -4
- package/lib/modules/{Interpreter → interpreter}/constant.js +3 -45
- package/lib/modules/{Interpreter → interpreter}/dialog-content/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/dialog-content/index.js +4 -4
- package/lib/modules/interpreter/index.d.ts +15 -0
- package/lib/modules/{Interpreter → interpreter}/index.js +23 -8
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.js +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.js +5 -8
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.js +0 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.js +14 -18
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.d.ts +2 -2
- package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.js +2 -2
- package/lib/modules/interpreter/store.d.ts +50 -0
- package/lib/modules/interpreter/store.js +584 -0
- package/lib/modules/interpreter/type.d.ts +24 -0
- package/lib/modules/interpreter/type.js +12 -0
- package/lib/modules/{Interpreter → interpreter}/utils.d.ts +1 -5
- package/lib/modules/interpreter/utils.js +80 -0
- package/lib/modules/{Interpreter → interpreter}/view.js +19 -3
- package/lib/modules/invite/components/error-tips.d.ts +4 -0
- package/lib/modules/invite/components/error-tips.js +18 -0
- package/lib/modules/invite/components/pstn-invite.d.ts +2 -0
- package/lib/modules/invite/components/pstn-invite.js +288 -0
- package/lib/modules/invite/components/voip-invite.d.ts +1 -0
- package/lib/modules/invite/components/voip-invite.js +276 -0
- package/lib/modules/invite/enums.d.ts +22 -0
- package/lib/modules/invite/enums.js +34 -0
- package/lib/modules/invite/index.d.ts +7 -8
- package/lib/modules/invite/index.js +17 -15
- package/lib/modules/invite/store.d.ts +13 -26
- package/lib/modules/invite/store.js +62 -26
- package/lib/modules/invite/types.d.ts +14 -0
- package/lib/modules/invite/types.js +6 -0
- package/lib/modules/invite/view.d.ts +0 -4
- package/lib/modules/invite/view.js +7 -11
- package/lib/modules/invite/voip-invite.js +3 -3
- package/lib/modules/layout/components/Aside.js +34 -17
- package/lib/modules/layout/components/Carousel.js +3 -2
- package/lib/modules/layout/components/Gallery.js +3 -3
- package/lib/modules/layout/components/Layout.js +4 -7
- package/lib/modules/layout/components/index.d.ts +1 -1
- package/lib/modules/layout/components/index.js +4 -5
- package/lib/modules/layout/components/who-is-speaking.d.ts +2 -0
- package/lib/modules/layout/components/who-is-speaking.js +60 -0
- package/lib/modules/layout/index.d.ts +26 -4
- package/lib/modules/layout/index.dev.d.ts +0 -1
- package/lib/modules/layout/index.dev.js +312 -386
- package/lib/modules/layout/index.js +25 -10
- package/lib/modules/layout/member-window/index.css +9 -22
- package/lib/modules/layout/member-window/index.d.ts +1 -1
- package/lib/modules/layout/member-window/index.js +26 -27
- package/lib/modules/layout/store.d.ts +61 -71
- package/lib/modules/layout/store.js +311 -576
- package/lib/modules/layout/type.js +2 -0
- package/lib/modules/layout/video-window-datasource.js +0 -4
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +127 -2
- package/lib/modules/live-streaming/index.d.ts +15 -7
- package/lib/modules/live-streaming/index.dev.js +13 -13
- package/lib/modules/live-streaming/index.js +20 -15
- package/lib/modules/live-streaming/store.d.ts +21 -14
- package/lib/modules/live-streaming/store.js +83 -144
- package/lib/modules/live-streaming/view.js +2 -2
- package/lib/modules/notification/index.d.ts +9 -11
- package/lib/modules/notification/index.js +21 -14
- package/lib/modules/notification/interpreter-status/index.js +3 -3
- package/lib/modules/notification/store.d.ts +5 -11
- package/lib/modules/notification/store.js +12 -62
- package/lib/modules/notification/view.d.ts +5 -3
- package/lib/modules/notification/view.js +8 -5
- package/lib/modules/offscreen-pulling/index.js +1 -2
- package/lib/modules/participant/attendee/index.css +51 -0
- package/lib/modules/participant/attendee/index.d.ts +5 -8
- package/lib/modules/participant/attendee/index.js +15 -64
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.d.ts +6 -0
- package/lib/modules/participant/components/attendee/components/microphone-indicator/index.js +28 -0
- package/lib/modules/participant/components/attendee/components/user-avatar/index.d.ts +7 -0
- package/lib/modules/participant/components/attendee/components/user-avatar/index.js +39 -0
- package/lib/modules/participant/components/attendee/index.css +69 -0
- package/lib/modules/participant/components/attendee/index.d.ts +4 -0
- package/lib/modules/participant/components/attendee/index.js +334 -0
- package/lib/modules/participant/components/can-moveable/index.d.ts +1 -0
- package/lib/modules/participant/components/can-moveable/index.js +68 -0
- package/lib/modules/participant/components/drop-menu/index.js +8 -11
- package/lib/modules/participant/components/footer/buttons.d.ts +2 -3
- package/lib/modules/participant/components/footer/buttons.js +2 -3
- package/lib/modules/participant/components/footer/index.js +2 -2
- package/lib/modules/participant/components/mute-all/index.d.ts +3 -4
- package/lib/modules/participant/components/mute-all/index.js +31 -44
- package/lib/modules/participant/components/operate-waitingroom-member/index.d.ts +2 -0
- package/lib/modules/participant/components/operate-waitingroom-member/index.js +48 -0
- package/lib/modules/participant/components/participants/index.js +27 -51
- package/lib/modules/participant/components/user-action/index.d.ts +17 -0
- package/lib/modules/participant/components/user-action/index.js +167 -0
- package/lib/modules/participant/index.d.ts +34 -7
- package/lib/modules/participant/index.dev.d.ts +0 -1
- package/lib/modules/participant/index.dev.js +87 -116
- package/lib/modules/participant/index.js +39 -15
- package/lib/modules/participant/member-list-data-source.d.ts +4 -1
- package/lib/modules/participant/member-list-data-source.js +57 -33
- package/lib/modules/participant/store.d.ts +58 -25
- package/lib/modules/participant/store.js +321 -303
- package/lib/modules/participant/type.d.ts +45 -1
- package/lib/modules/participant/type.js +15 -1
- package/lib/modules/pc-audio-connect/index.css +12 -0
- package/lib/modules/pc-audio-connect/index.d.ts +22 -0
- package/lib/modules/pc-audio-connect/index.js +68 -0
- package/lib/modules/pc-audio-connect/store.d.ts +46 -0
- package/lib/modules/pc-audio-connect/store.js +300 -0
- package/lib/modules/pc-audio-connect/types.d.ts +0 -0
- package/lib/modules/pc-audio-connect/types.js +1 -0
- package/lib/modules/pc-audio-connect/view.d.ts +3 -0
- package/lib/modules/pc-audio-connect/view.js +66 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.css +36 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.d.ts +10 -0
- package/lib/modules/phone-audio-connect/components/callinfo/index.js +78 -0
- package/lib/modules/phone-audio-connect/components/calling/index.css +72 -0
- package/lib/modules/phone-audio-connect/components/calling/index.d.ts +7 -0
- package/lib/modules/phone-audio-connect/components/calling/index.js +58 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.css +10 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.d.ts +5 -0
- package/lib/modules/phone-audio-connect/components/remeber/index.js +24 -0
- package/lib/modules/phone-audio-connect/components/useing/index.css +46 -0
- package/lib/modules/phone-audio-connect/components/useing/index.d.ts +3 -0
- package/lib/modules/phone-audio-connect/components/useing/index.js +36 -0
- package/lib/modules/phone-audio-connect/enums.d.ts +4 -0
- package/lib/modules/phone-audio-connect/enums.js +12 -0
- package/lib/modules/phone-audio-connect/index.css +56 -0
- package/lib/modules/phone-audio-connect/index.d.ts +16 -0
- package/lib/modules/phone-audio-connect/index.js +63 -0
- package/lib/modules/phone-audio-connect/store.d.ts +46 -0
- package/lib/modules/phone-audio-connect/store.js +317 -0
- package/lib/modules/phone-audio-connect/types.d.ts +4 -0
- package/lib/modules/phone-audio-connect/types.js +6 -0
- package/lib/modules/phone-audio-connect/view.d.ts +3 -0
- package/lib/modules/phone-audio-connect/view.js +185 -0
- package/lib/modules/setting/audio-settings/audio-settings.js +6 -6
- package/lib/modules/setting/index.d.ts +25 -5
- package/lib/modules/setting/index.dev.d.ts +0 -1
- package/lib/modules/setting/index.dev.js +120 -81
- package/lib/modules/setting/index.js +35 -9
- package/lib/modules/setting/minutes-settings/minutes-settings.js +3 -2
- package/lib/modules/setting/state/index.js +3 -7
- package/lib/modules/setting/store.d.ts +48 -14
- package/lib/modules/setting/store.js +105 -118
- package/lib/modules/setting/translate-settings/translate-settings.js +4 -4
- package/lib/modules/setting/video-settings/video-settings-basic.js +19 -22
- package/lib/modules/setting/view.js +6 -35
- package/lib/modules/share-screen/components/selection/index.css +70 -0
- package/lib/modules/share-screen/components/selection/index.d.ts +2 -0
- package/lib/modules/share-screen/components/selection/index.js +267 -0
- package/lib/modules/share-screen/components/share-state-bar/index.css +76 -0
- package/lib/modules/share-screen/components/share-state-bar/index.d.ts +4 -0
- package/lib/modules/share-screen/components/share-state-bar/index.js +98 -0
- package/lib/modules/share-screen/index.d.ts +15 -18
- package/lib/modules/share-screen/index.dev.d.ts +0 -1
- package/lib/modules/share-screen/index.dev.js +90 -91
- package/lib/modules/share-screen/index.js +22 -22
- package/lib/modules/share-screen/selection/index.css +0 -2
- package/lib/modules/share-screen/selection/index.js +97 -83
- package/lib/modules/share-screen/store.d.ts +36 -32
- package/lib/modules/share-screen/store.js +249 -222
- package/lib/modules/share-screen/types.d.ts +27 -0
- package/lib/modules/share-screen/types.js +6 -0
- package/lib/modules/share-screen/view.js +1 -1
- package/lib/modules/sound-effect/index.d.ts +9 -4
- package/lib/modules/sound-effect/index.js +72 -41
- package/lib/modules/sound-effect/sound-effect-player.js +1 -1
- package/lib/modules/state-bar/index.d.ts +16 -13
- package/lib/modules/state-bar/index.dev.d.ts +0 -1
- package/lib/modules/state-bar/index.dev.js +78 -83
- package/lib/modules/state-bar/index.js +23 -7
- package/lib/modules/state-bar/layout-config.js +2 -1
- package/lib/modules/state-bar/live-streaming-state.js +0 -1
- package/lib/modules/state-bar/meeting-details.js +31 -24
- package/lib/modules/state-bar/meeting-network-state.js +1 -1
- package/lib/modules/state-bar/store.d.ts +20 -10
- package/lib/modules/state-bar/store.js +84 -88
- package/lib/modules/state-bar/view.js +2 -2
- package/lib/modules/video-window/deviceState/index.d.ts +2 -2
- package/lib/modules/video-window/deviceState/index.js +4 -6
- package/lib/modules/video-window/index.css +1 -4
- package/lib/modules/video-window/index.d.ts +33 -6
- package/lib/modules/video-window/index.js +63 -15
- package/lib/modules/video-window/members/index.css +1 -0
- package/lib/modules/video-window/members/index.js +27 -12
- package/lib/modules/video-window/store.d.ts +58 -27
- package/lib/modules/video-window/store.js +166 -165
- package/lib/modules/video-window/topControl/index.js +0 -2
- package/lib/modules/waiting-room-layout/index.d.ts +11 -4
- package/lib/modules/waiting-room-layout/index.js +26 -13
- package/lib/modules/waiting-room-layout/store.d.ts +6 -3
- package/lib/modules/waiting-room-layout/store.js +17 -15
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +4 -4
- package/lib/modules/whiteboard/components/control-bar/store.js +8 -8
- package/lib/modules/whiteboard/components/switch-theme/index.js +0 -2
- package/lib/modules/whiteboard/components/switch-theme/item.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +1 -1
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +2 -1
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +0 -2
- package/lib/modules/whiteboard/components/toolbar/index.js +1 -4
- package/lib/modules/whiteboard/index.d.ts +20 -14
- package/lib/modules/whiteboard/index.js +250 -227
- package/lib/modules/whiteboard/view.d.ts +2 -0
- package/lib/modules/whiteboard/view.js +49 -0
- package/lib/plugins/browser-runtime-plugin.js +5 -1
- package/lib/providers/chat-provider.d.ts +71 -0
- package/lib/providers/chat-provider.js +91 -0
- package/lib/providers/device-privilege-provider.d.ts +52 -6
- package/lib/providers/device-privilege-provider.js +212 -185
- package/lib/providers/device-provider.d.ts +203 -45
- package/lib/providers/device-provider.js +486 -403
- package/lib/providers/device-stream-provider.d.ts +12 -13
- package/lib/providers/device-stream-provider.js +86 -194
- package/lib/providers/dialog-provider.d.ts +135 -0
- package/lib/providers/dialog-provider.js +202 -0
- package/lib/providers/event-provider.d.ts +1 -21
- package/lib/providers/event-provider.js +19 -59
- package/lib/providers/interpreter-provider.d.ts +218 -7
- package/lib/providers/interpreter-provider.js +1069 -81
- package/lib/providers/local-storage-provider.d.ts +9 -0
- package/lib/providers/message-provider.d.ts +69 -0
- package/lib/providers/message-provider.js +96 -0
- package/lib/providers/monitor-provider.d.ts +5 -0
- package/lib/providers/phone-audio-provider.d.ts +131 -0
- package/lib/providers/phone-audio-provider.js +512 -0
- package/lib/providers/privilege-provider.d.ts +325 -12
- package/lib/providers/privilege-provider.js +111 -299
- package/lib/providers/renderer-provider.d.ts +46 -4
- package/lib/providers/renderer-provider.js +57 -61
- package/lib/providers/room-provider.d.ts +113 -6
- package/lib/providers/room-provider.js +665 -88
- package/lib/providers/screen-share-provider.d.ts +65 -0
- package/lib/providers/screen-share-provider.js +237 -0
- package/lib/providers/session-provider.d.ts +30 -0
- package/lib/runtime.d.ts +2 -0
- package/lib/scenes/main-scene.d.ts +41 -3
- package/lib/scenes/main-scene.js +407 -248
- package/lib/scenes/waiting-scene.d.ts +34 -4
- package/lib/scenes/waiting-scene.js +163 -56
- package/lib/shared-data-source/chat-data.d.ts +14 -0
- package/lib/{common/remote-renderer.js → shared-data-source/chat-data.js} +67 -77
- package/lib/shared-data-source/device-privilege-data.d.ts +8 -0
- package/lib/shared-data-source/device-privilege-data.js +25 -0
- package/lib/shared-data-source/interpreter.d.ts +63 -0
- package/lib/shared-data-source/interpreter.js +246 -0
- package/lib/shared-data-source/layout-data.d.ts +29 -0
- package/lib/shared-data-source/layout-data.js +178 -0
- package/lib/shared-data-source/pin-data.d.ts +9 -0
- package/lib/shared-data-source/pin-data.js +24 -0
- package/lib/shared-data-source/setting.d.ts +32 -0
- package/lib/shared-data-source/setting.js +151 -0
- package/lib/shared-data-source/speaker-spotlight.d.ts +5 -0
- package/lib/shared-data-source/speaker-spotlight.js +15 -0
- package/lib/shared-data-source/video-window.d.ts +161 -0
- package/lib/shared-data-source/video-window.js +1198 -0
- package/lib/shared-data-source/waiting-room.d.ts +19 -0
- package/lib/shared-data-source/waiting-room.js +157 -0
- package/lib/translations/enUS.d.ts +48 -17
- package/lib/translations/enUS.js +67 -35
- package/lib/translations/zhCN.d.ts +48 -17
- package/lib/translations/zhCN.js +68 -36
- package/lib/type.d.ts +270 -25
- package/lib/type.js +81 -2
- package/lib/ui-manager.d.ts +20 -16
- package/lib/ui-manager.js +59 -795
- package/lib/ui-scene.d.ts +6 -1
- package/lib/ui-scene.js +371 -43
- package/lib/utilities/constant.d.ts +63 -86
- package/lib/utilities/constant.js +158 -175
- package/lib/utilities/copyText.js +8 -7
- package/lib/utilities/meeting-detail.d.ts +2 -0
- package/lib/utilities/meeting-detail.js +39 -0
- package/lib/utilities/privilege.d.ts +4 -0
- package/lib/utilities/privilege.js +29 -0
- package/lib/utilities/renderer-event.js +0 -2
- package/lib/utilities/renderer.js +0 -1
- package/lib/utilities/setting-config-storage.d.ts +12 -0
- package/lib/utilities/setting-config-storage.js +100 -0
- package/lib/utilities/tools.d.ts +35 -3
- package/lib/utilities/tools.js +103 -4
- package/lib/utilities/video-track-render-context.d.ts +3 -4
- package/lib/utilities/video-track-render-context.js +1 -1
- package/package.json +10 -5
- package/public/assets/full-screen-error-boundary-img.png +0 -0
- package/public/assets/leave-meeting.png +0 -0
- package/public/index.html +24 -14
- package/lib/ scenes/base.d.ts +0 -10
- package/lib/ scenes/base.js +0 -75
- package/lib/ scenes/main-scene.d.ts +0 -43
- package/lib/ scenes/main-scene.js +0 -368
- package/lib/ scenes/waiting-scene.d.ts +0 -31
- package/lib/ scenes/waiting-scene.js +0 -119
- package/lib/common/remote-renderer.d.ts +0 -15
- package/lib/common/type.d.ts +0 -8
- package/lib/electron/bootstrap.d.ts +0 -1
- package/lib/electron/bootstrap.js +0 -56
- package/lib/electron/dev.d.ts +0 -1
- package/lib/electron/dev.js +0 -51
- package/lib/error-fallback.css +0 -62
- package/lib/error-fallback.d.ts +0 -2
- package/lib/error-fallback.js +0 -19
- package/lib/modules/Interpreter/context.d.ts +0 -2
- package/lib/modules/Interpreter/context.js +0 -9
- package/lib/modules/Interpreter/index.d.ts +0 -8
- package/lib/modules/Interpreter/store.d.ts +0 -111
- package/lib/modules/Interpreter/store.js +0 -1601
- package/lib/modules/Interpreter/type.d.ts +0 -41
- package/lib/modules/Interpreter/type.js +0 -20
- package/lib/modules/Interpreter/utils.js +0 -139
- package/lib/modules/action-bar/components/device/index.css +0 -162
- package/lib/modules/action-bar/components/device/index.d.ts +0 -8
- package/lib/modules/action-bar/components/device/index.js +0 -611
- package/lib/modules/action-bar/components/item.d.ts +0 -27
- package/lib/modules/action-bar/trigger-input-language-room/index.d.ts +0 -15
- package/lib/modules/action-bar/trigger-input-language-room/index.js +0 -220
- package/lib/modules/action-bar/trigger-output-language-room/constant.d.ts +0 -10
- package/lib/modules/action-bar/trigger-output-language-room/constant.js +0 -8
- package/lib/modules/action-bar/trigger-output-language-room/guide-tooltip/index.d.ts +0 -14
- package/lib/modules/action-bar/trigger-output-language-room/index.d.ts +0 -4
- package/lib/modules/action-bar/trigger-output-language-room/index.js +0 -98
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-language-room.js +0 -66
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.d.ts +0 -5
- package/lib/modules/action-bar/trigger-output-language-room/trigger-main-room.js +0 -36
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.d.ts +0 -12
- package/lib/modules/action-bar/trigger-output-language-room/useChangeOutputRoomTool.js +0 -138
- package/lib/modules/components/dialog-container/component/body.js +0 -46
- package/lib/modules/dialog/components/Interpreter/electron.js +0 -31
- package/lib/modules/dialog/components/Interpreter/user-queue/index.css +0 -36
- package/lib/modules/dialog/components/Interpreter/user-queue/index.d.ts +0 -3
- package/lib/modules/dialog/components/Interpreter/user-queue/index.js +0 -47
- package/lib/modules/notification/context.d.ts +0 -2
- package/lib/modules/notification/context.js +0 -9
- package/lib/modules/participant/attendee/participants-more-action.d.ts +0 -18
- package/lib/modules/participant/attendee/participants-more-action.js +0 -278
- package/lib/scenes/base.d.ts +0 -10
- package/lib/scenes/base.js +0 -75
- package/lib/ui-node.d.ts +0 -25
- package/lib/ui-node.js +0 -156
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/dome.png +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar/assets}/fcr_translateswitch.png +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/interpreter/index.d.ts +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/components/virtual-image/index.d.ts +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.css +0 -0
- /package/lib/modules/action-bar/{notification-bar → components/notification-bar}/index.d.ts +0 -0
- /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/fcr_translateswitch.png +0 -0
- /package/lib/modules/action-bar/{trigger-input-language-room → components/trigger-output-language}/index.css +0 -0
- /package/lib/modules/action-bar/{trigger-output-language-room → components/trigger-subscribe-language}/guide-tooltip/index.css +0 -0
- /package/lib/modules/action-bar/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/action-bar/{Interpreter → interpreter}/index.js +0 -0
- /package/lib/{common/type.js → modules/action-bar/types.js} +0 -0
- /package/lib/modules/{components → dialog/components}/dialog-container/component/body.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/electron.d.ts +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.css +0 -0
- /package/lib/modules/dialog/components/{Interpreter → interpreter}/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/add-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/delete-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/edit-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/action/switch-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/add-button/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/config.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/config.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/dialog-content/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/interpreter-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/set-btn/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/components/tooltip-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/footer/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ar.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_cn.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_de.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_en.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_es.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_fr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_hi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_id.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_it.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_jp.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ko.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ms.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_pt.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_ru.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_th.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_tr.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/images/fcr_vi.png +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-language/useLanguageConfig/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/components/pick-user/option-Item.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/interpreter-list/interpreter-item/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.css +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/loading-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.d.ts +0 -0
- /package/lib/modules/{Interpreter → interpreter}/tooltip-wrapper/index.js +0 -0
- /package/lib/modules/{Interpreter → interpreter}/view.d.ts +0 -0
|
@@ -41,9 +41,9 @@ require("core-js/modules/es.array.filter.js");
|
|
|
41
41
|
require("core-js/modules/es.array.find.js");
|
|
42
42
|
require("core-js/modules/es.array.for-each.js");
|
|
43
43
|
require("core-js/modules/es.array.includes.js");
|
|
44
|
-
require("core-js/modules/es.array.index-of.js");
|
|
45
44
|
require("core-js/modules/es.array.iterator.js");
|
|
46
45
|
require("core-js/modules/es.array.push.js");
|
|
46
|
+
require("core-js/modules/es.array.some.js");
|
|
47
47
|
require("core-js/modules/es.date.to-json.js");
|
|
48
48
|
require("core-js/modules/es.function.bind.js");
|
|
49
49
|
require("core-js/modules/es.json.stringify.js");
|
|
@@ -53,13 +53,11 @@ require("core-js/modules/es.promise.finally.js");
|
|
|
53
53
|
require("core-js/modules/es.string.includes.js");
|
|
54
54
|
require("core-js/modules/es.string.iterator.js");
|
|
55
55
|
require("core-js/modules/es.weak-map.js");
|
|
56
|
-
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
57
|
-
require("core-js/modules/esnext.async-iterator.find.js");
|
|
58
|
-
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
59
56
|
require("core-js/modules/esnext.iterator.constructor.js");
|
|
60
57
|
require("core-js/modules/esnext.iterator.filter.js");
|
|
61
58
|
require("core-js/modules/esnext.iterator.find.js");
|
|
62
59
|
require("core-js/modules/esnext.iterator.for-each.js");
|
|
60
|
+
require("core-js/modules/esnext.iterator.some.js");
|
|
63
61
|
require("core-js/modules/esnext.weak-map.delete-all.js");
|
|
64
62
|
require("core-js/modules/esnext.weak-map.emplace.js");
|
|
65
63
|
require("core-js/modules/web.dom-collections.for-each.js");
|
|
@@ -79,7 +77,6 @@ var _type3 = require("agora-rte-sdk/lib/core/scene/type");
|
|
|
79
77
|
var _type4 = require("agora-rte-sdk/lib/type");
|
|
80
78
|
var _shareAudio = require("agora-ui-foundation/lib/components/room-screen-share-state-bar/share-audio");
|
|
81
79
|
var _mobx = require("mobx");
|
|
82
|
-
var _constant = require("../../utilities/constant");
|
|
83
80
|
var _rendererEvent = require("../../utilities/renderer-event");
|
|
84
81
|
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
85
82
|
var _decorator = require("agora-foundation/lib/decorator");
|
|
@@ -89,8 +86,9 @@ var _type5 = require("agora-ui-foundation/lib/components/icon/type");
|
|
|
89
86
|
var _types = require("fcr-core/lib/room-control/whiteboard-control/types");
|
|
90
87
|
var _renderer = require("../../utilities/renderer");
|
|
91
88
|
var _screenCapturePermission = require("../../utilities/screen-capture-permission");
|
|
89
|
+
var _constant = require("../../utilities/constant");
|
|
92
90
|
var _ShareScreenStore;
|
|
93
|
-
var _initProto, _init__shareSelectionDialogId, _init__controlBarDialogId, _init__videoWindowDialogId, _init__isHost, _init__shareLocked, _init__screenTrack, _init__shareAudioTrack, _init_screenSharingState, _init_applicationCaptureSources, _init_screenCaptureSources, _init_hasScreenCapturePermission,
|
|
91
|
+
var _initProto, _init__shareSelectionDialogId, _init__controlBarDialogId, _init__videoWindowDialogId, _init__isHost, _init__shareLocked, _init__screenTrack, _init__shareAudioTrack, _init_screenSharingState, _init_applicationCaptureSources, _init_screenCaptureSources, _init_hasScreenCapturePermission, _init_currentShareAudioProcessingChannel, _init_currentShareId, _init_sharerId, _init_currentShareType, _init_currentSelection, _init_currentSelectionType, _init_currentSelectionBounds, _init_shareWithAudio, _init_boardOwnerUser, _init_localUser, _init_localUserRole, _handleChooseScreenDecs, _init_handleChooseScreen, _setShareWithAudioStateDecs, _hasLoopbackDeviceDecs, _setShareAudioProcessingChannelDecs, _handleShareStartWithAudioDecs, _handleShareStopWithAudioDecs, _startPreviewDecs, _openDialogDecs, _openShareScreenSelectionDecs, _closeShareScreenSelectionDecs, _setControlBarWindowIdDecs, _openVideoWindowDialogDecs, _closeControlBarDecs, _closeVideoWindowDialogDecs, _openRelaunchTipsDialogDecs, _startLoopbackDecs, _setWithAudioStateDecs, _handleStartShareDecs, _handleReplaceScreenDecs, _handleStopShareDecs, _handleScreenCaptureStateUpdatedDecs, _setShareLockDecs, _handleStreamUpdateDecs, _initControlbarDecs, _ref;
|
|
94
92
|
function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }
|
|
95
93
|
function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError("Cannot initialize the same private elements twice on an object"); }
|
|
96
94
|
function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }
|
|
@@ -123,15 +121,16 @@ var _S = /*#__PURE__*/new WeakMap();
|
|
|
123
121
|
var _T = /*#__PURE__*/new WeakMap();
|
|
124
122
|
var _U = /*#__PURE__*/new WeakMap();
|
|
125
123
|
var _V = /*#__PURE__*/new WeakMap();
|
|
126
|
-
_ref = (_handleChooseScreenDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _hasLoopbackDeviceDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _handleShareStartWithAudioDecs = [_mobx.action, _mobx.action.bound], _handleShareStopWithAudioDecs = [_mobx.action, _mobx.action.bound], _startPreviewDecs = [_mobx.action, _mobx.action.bound], _openDialogDecs = [_mobx.action, _mobx.action.bound], _openShareScreenSelectionDecs = [_mobx.action, _mobx.action.bound], _closeShareScreenSelectionDecs = [_mobx.action, _mobx.action.bound], _setControlBarWindowIdDecs = [_mobx.action, _mobx.action.bound], _openVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _closeControlBarDecs = [_mobx.action, _mobx.action.bound], _closeVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _openRelaunchTipsDialogDecs = [_mobx.action, _mobx.action.bound],
|
|
124
|
+
_ref = (_handleChooseScreenDecs = [_mobx.action, _mobx.action.bound], _setShareWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _hasLoopbackDeviceDecs = [_mobx.action, _mobx.action.bound], _setShareAudioProcessingChannelDecs = [_mobx.action, _mobx.action.bound], _handleShareStartWithAudioDecs = [_mobx.action, _mobx.action.bound], _handleShareStopWithAudioDecs = [_mobx.action, _mobx.action.bound], _startPreviewDecs = [_mobx.action, _mobx.action.bound], _openDialogDecs = [_mobx.action, _mobx.action.bound], _openShareScreenSelectionDecs = [_mobx.action, _mobx.action.bound], _closeShareScreenSelectionDecs = [_mobx.action, _mobx.action.bound], _setControlBarWindowIdDecs = [_mobx.action, _mobx.action.bound], _openVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _closeControlBarDecs = [_mobx.action, _mobx.action.bound], _closeVideoWindowDialogDecs = [_mobx.action, _mobx.action.bound], _openRelaunchTipsDialogDecs = [_mobx.action, _mobx.action.bound], _startLoopbackDecs = [_mobx.action, _mobx.action.bound], _setWithAudioStateDecs = [_mobx.action, _mobx.action.bound], _handleStartShareDecs = [_mobx.action, _mobx.action.bound], _handleReplaceScreenDecs = [_mobx.action, _mobx.action.bound], _handleStopShareDecs = [_mobx.action, _mobx.action.bound], _handleScreenCaptureStateUpdatedDecs = [_mobx.action, _mobx.action.bound], _setShareLockDecs = [_mobx.action, _mobx.action.bound], _handleStreamUpdateDecs = [_mobx.action, _mobx.action.bound], _initControlbarDecs = [_mobx.action, _mobx.action.bound], "logger");
|
|
127
125
|
var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
128
126
|
function ShareScreenStore(_ref2) {
|
|
129
|
-
var _this = this
|
|
130
|
-
_this$localUser;
|
|
127
|
+
var _this = this;
|
|
131
128
|
var roomControl = _ref2.roomControl,
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
deviceProvider = _ref2.deviceProvider,
|
|
130
|
+
privilegeProvider = _ref2.privilegeProvider,
|
|
131
|
+
messageProvider = _ref2.messageProvider,
|
|
132
|
+
dialogProvider = _ref2.dialogProvider,
|
|
133
|
+
eventProvider = _ref2.eventProvider;
|
|
135
134
|
(0, _classCallCheck2["default"])(this, ShareScreenStore);
|
|
136
135
|
(0, _defineProperty2["default"])(this, _ref, (_initProto(this), (0, _logger.getLogger)()));
|
|
137
136
|
(0, _defineProperty2["default"])(this, "_disposers", []);
|
|
@@ -147,9 +146,26 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
147
146
|
onEvent: this._onUiEvent.bind(this)
|
|
148
147
|
});
|
|
149
148
|
(0, _defineProperty2["default"])(this, "_streamObserver", {
|
|
150
|
-
onStreamsAdded:
|
|
151
|
-
|
|
152
|
-
|
|
149
|
+
onStreamsAdded: function onStreamsAdded(_, events) {
|
|
150
|
+
return _this._handleStreamUpdate('add', events);
|
|
151
|
+
},
|
|
152
|
+
onStreamsRemoved: function onStreamsRemoved(_, events) {
|
|
153
|
+
return _this._handleStreamUpdate('remove', events);
|
|
154
|
+
},
|
|
155
|
+
onStreamsUpdated: function onStreamsUpdated(_, events) {
|
|
156
|
+
return _this._handleStreamUpdate('update', events);
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
(0, _defineProperty2["default"])(this, "_boardObserver", {
|
|
160
|
+
onActive: function onActive(ownerId) {
|
|
161
|
+
_this.handleStopShare();
|
|
162
|
+
(0, _env.isElectron)() && _this._closeCapture();
|
|
163
|
+
_this.closeShareScreenSelection();
|
|
164
|
+
_this.boardOwnerUser = _this._userControl.getUser(ownerId);
|
|
165
|
+
},
|
|
166
|
+
onInactive: function onInactive(reason) {
|
|
167
|
+
_this.boardOwnerUser = undefined;
|
|
168
|
+
}
|
|
153
169
|
});
|
|
154
170
|
_classPrivateFieldInitSpec(this, _A, _init__shareSelectionDialogId(this, ''));
|
|
155
171
|
_classPrivateFieldInitSpec(this, _B, _init__controlBarDialogId(this, ''));
|
|
@@ -162,43 +178,45 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
162
178
|
_classPrivateFieldInitSpec(this, _I, _init_applicationCaptureSources(this, []));
|
|
163
179
|
_classPrivateFieldInitSpec(this, _J, _init_screenCaptureSources(this, []));
|
|
164
180
|
_classPrivateFieldInitSpec(this, _K, _init_hasScreenCapturePermission(this, true));
|
|
165
|
-
_classPrivateFieldInitSpec(this, _L,
|
|
166
|
-
_classPrivateFieldInitSpec(this, _M,
|
|
167
|
-
_classPrivateFieldInitSpec(this, _N,
|
|
168
|
-
_classPrivateFieldInitSpec(this, _O,
|
|
169
|
-
_classPrivateFieldInitSpec(this, _P,
|
|
170
|
-
_classPrivateFieldInitSpec(this, _Q,
|
|
171
|
-
_classPrivateFieldInitSpec(this, _R,
|
|
172
|
-
|
|
181
|
+
_classPrivateFieldInitSpec(this, _L, _init_currentShareAudioProcessingChannel(this, _shareAudio.AudioProcessingChannel.MONO));
|
|
182
|
+
_classPrivateFieldInitSpec(this, _M, _init_currentShareId(this, ''));
|
|
183
|
+
_classPrivateFieldInitSpec(this, _N, _init_sharerId(this, ''));
|
|
184
|
+
_classPrivateFieldInitSpec(this, _O, _init_currentShareType(this, _type2.AgoraRtcScreenCaptureType.SCREEN));
|
|
185
|
+
_classPrivateFieldInitSpec(this, _P, _init_currentSelection(this));
|
|
186
|
+
_classPrivateFieldInitSpec(this, _Q, _init_currentSelectionType(this, _type2.AgoraRtcScreenCaptureType.WINDOW));
|
|
187
|
+
_classPrivateFieldInitSpec(this, _R, _init_currentSelectionBounds(this, {
|
|
188
|
+
x: 0,
|
|
189
|
+
y: 0,
|
|
190
|
+
width: 0,
|
|
191
|
+
height: 0
|
|
192
|
+
}));
|
|
193
|
+
_classPrivateFieldInitSpec(this, _S, _init_shareWithAudio(this));
|
|
173
194
|
_classPrivateFieldInitSpec(this, _T, _init_boardOwnerUser(this, undefined));
|
|
174
|
-
_classPrivateFieldInitSpec(this, _U, _init_localUser(this
|
|
195
|
+
_classPrivateFieldInitSpec(this, _U, _init_localUser(this));
|
|
175
196
|
_classPrivateFieldInitSpec(this, _V, _init_localUserRole(this, _type.FcrUserRole.PARTICIPANT));
|
|
176
197
|
(0, _defineProperty2["default"])(this, "handleChooseScreen", _init_handleChooseScreen(this, function (id) {
|
|
177
198
|
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _type2.AgoraRtcScreenCaptureType.WINDOW;
|
|
199
|
+
var bounds = arguments.length > 2 ? arguments[2] : undefined;
|
|
178
200
|
_this.currentSelection = id;
|
|
179
201
|
_this.currentSelectionType = type;
|
|
202
|
+
_this.currentSelectionBounds = bounds;
|
|
180
203
|
}));
|
|
181
204
|
this._roomControl = roomControl;
|
|
182
|
-
this.
|
|
205
|
+
this._deviceProvider = deviceProvider;
|
|
206
|
+
this._messageProvider = messageProvider;
|
|
207
|
+
this._dialogProvider = dialogProvider;
|
|
208
|
+
this._eventProvider = eventProvider;
|
|
183
209
|
this._streamControl = roomControl.getStreamControl();
|
|
184
210
|
this._userControl = roomControl.getUserControl();
|
|
185
|
-
this._securityStore =
|
|
186
|
-
this._uiEventStore = uiEventStore;
|
|
211
|
+
this._securityStore = privilegeProvider;
|
|
187
212
|
this.localUser = this._userControl.getLocalUser();
|
|
188
|
-
this.localUserRole =
|
|
189
|
-
this.
|
|
213
|
+
this.localUserRole = this.localUser.userRole;
|
|
214
|
+
this.shareWithAudio = (0, _env.isElectron)() ? false : true; // electron 默认 false,web 默认 true
|
|
215
|
+
this._loopbackAudioSourceId = (0, _env.getPlatform)() === _env.FcrApplicationPlatform.MACOS && (0, _env.isElectron)() ? 'AgoraALD' : (0, _env.isElectron)() ? '' : 'default';
|
|
216
|
+
this.currentSelection = (0, _env.isElectron)() ? '' : 'default';
|
|
217
|
+
this._eventProvider.addObserver(this._uiEventObserver);
|
|
190
218
|
this._streamControl.addObserver(this._streamObserver);
|
|
191
|
-
this._roomControl.getBoardControl().addObserver(
|
|
192
|
-
onActive: function onActive(ownerId) {
|
|
193
|
-
_this.handleStopShare();
|
|
194
|
-
(0, _env.isElectron)() && _this._closeCapture();
|
|
195
|
-
_this.closeShareScreenSelection();
|
|
196
|
-
_this.boardOwnerUser = _this._userControl.getUser(ownerId);
|
|
197
|
-
},
|
|
198
|
-
onInactive: function onInactive(reason) {
|
|
199
|
-
_this.boardOwnerUser = undefined;
|
|
200
|
-
}
|
|
201
|
-
});
|
|
219
|
+
this._roomControl.getBoardControl().addObserver(this._boardObserver);
|
|
202
220
|
this._isHost = [_type.FcrUserRole.HOST, _type.FcrUserRole.COHOST].includes(this.localUserRole);
|
|
203
221
|
this._addEventListeners();
|
|
204
222
|
this._syncShareStreamState();
|
|
@@ -207,20 +225,13 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
207
225
|
}, function (screenSharePremission) {
|
|
208
226
|
if (!screenSharePremission) {
|
|
209
227
|
if (_this._isHost) return;
|
|
210
|
-
_this.
|
|
228
|
+
_this._messageProvider.showToast({
|
|
211
229
|
type: 'error',
|
|
212
230
|
message: (0, _i18n.transI18n)('fmt_screenshare_tips_hostprohibitssharing'),
|
|
213
231
|
duration: 3000
|
|
214
232
|
});
|
|
215
233
|
}
|
|
216
234
|
}));
|
|
217
|
-
this._disposers.push((0, _mobx.reaction)(function () {
|
|
218
|
-
return _this.screenSharingState;
|
|
219
|
-
}, function (state) {
|
|
220
|
-
_this._uiEventStore.sendEvent(_constant.UIAction.UPDATE_SHARE_STATE, {
|
|
221
|
-
isOpen: state === _fcrCore.FcrMediaSourceState.OPEN
|
|
222
|
-
});
|
|
223
|
-
}));
|
|
224
235
|
}
|
|
225
236
|
return (0, _createClass2["default"])(ShareScreenStore, [{
|
|
226
237
|
key: "_shareSelectionDialogId",
|
|
@@ -311,7 +322,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
311
322
|
_classPrivateFieldSet(_K, this, v);
|
|
312
323
|
}
|
|
313
324
|
}, {
|
|
314
|
-
key: "
|
|
325
|
+
key: "currentShareAudioProcessingChannel",
|
|
315
326
|
get: function get() {
|
|
316
327
|
return _classPrivateFieldGet(_L, this);
|
|
317
328
|
},
|
|
@@ -319,7 +330,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
319
330
|
_classPrivateFieldSet(_L, this, v);
|
|
320
331
|
}
|
|
321
332
|
}, {
|
|
322
|
-
key: "
|
|
333
|
+
key: "currentShareId",
|
|
323
334
|
get: function get() {
|
|
324
335
|
return _classPrivateFieldGet(_M, this);
|
|
325
336
|
},
|
|
@@ -327,7 +338,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
327
338
|
_classPrivateFieldSet(_M, this, v);
|
|
328
339
|
}
|
|
329
340
|
}, {
|
|
330
|
-
key: "
|
|
341
|
+
key: "sharerId",
|
|
331
342
|
get: function get() {
|
|
332
343
|
return _classPrivateFieldGet(_N, this);
|
|
333
344
|
},
|
|
@@ -335,7 +346,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
335
346
|
_classPrivateFieldSet(_N, this, v);
|
|
336
347
|
}
|
|
337
348
|
}, {
|
|
338
|
-
key: "
|
|
349
|
+
key: "currentShareType",
|
|
339
350
|
get: function get() {
|
|
340
351
|
return _classPrivateFieldGet(_O, this);
|
|
341
352
|
},
|
|
@@ -343,7 +354,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
343
354
|
_classPrivateFieldSet(_O, this, v);
|
|
344
355
|
}
|
|
345
356
|
}, {
|
|
346
|
-
key: "
|
|
357
|
+
key: "currentSelection",
|
|
347
358
|
get: function get() {
|
|
348
359
|
return _classPrivateFieldGet(_P, this);
|
|
349
360
|
},
|
|
@@ -351,7 +362,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
351
362
|
_classPrivateFieldSet(_P, this, v);
|
|
352
363
|
}
|
|
353
364
|
}, {
|
|
354
|
-
key: "
|
|
365
|
+
key: "currentSelectionType",
|
|
355
366
|
get: function get() {
|
|
356
367
|
return _classPrivateFieldGet(_Q, this);
|
|
357
368
|
},
|
|
@@ -359,7 +370,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
359
370
|
_classPrivateFieldSet(_Q, this, v);
|
|
360
371
|
}
|
|
361
372
|
}, {
|
|
362
|
-
key: "
|
|
373
|
+
key: "currentSelectionBounds",
|
|
363
374
|
get: function get() {
|
|
364
375
|
return _classPrivateFieldGet(_R, this);
|
|
365
376
|
},
|
|
@@ -398,6 +409,21 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
398
409
|
set: function set(v) {
|
|
399
410
|
_classPrivateFieldSet(_V, this, v);
|
|
400
411
|
}
|
|
412
|
+
}, {
|
|
413
|
+
key: "supportEnumScreen",
|
|
414
|
+
get: function get() {
|
|
415
|
+
return this._deviceProvider.isCapabilitySupported(_fcrCore.FcrCapability.SCREEN_ENUMERATE);
|
|
416
|
+
}
|
|
417
|
+
}, {
|
|
418
|
+
key: "appWindowList",
|
|
419
|
+
get: function get() {
|
|
420
|
+
return this._deviceProvider.getWindowList();
|
|
421
|
+
}
|
|
422
|
+
}, {
|
|
423
|
+
key: "displayList",
|
|
424
|
+
get: function get() {
|
|
425
|
+
return this._deviceProvider.getDisplayList();
|
|
426
|
+
}
|
|
401
427
|
}, {
|
|
402
428
|
key: "setShareWithAudioState",
|
|
403
429
|
value: function setShareWithAudioState(withAudio) {
|
|
@@ -412,7 +438,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
412
438
|
while (1) switch (_context.prev = _context.next) {
|
|
413
439
|
case 0:
|
|
414
440
|
_context.next = 2;
|
|
415
|
-
return this.
|
|
441
|
+
return this._deviceProvider.checkLoopbackDevice();
|
|
416
442
|
case 2:
|
|
417
443
|
res = _context.sent;
|
|
418
444
|
return _context.abrupt("return", res === 0);
|
|
@@ -435,25 +461,28 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
435
461
|
}, {
|
|
436
462
|
key: "handlerBoardShareStop",
|
|
437
463
|
value: function handlerBoardShareStop() {
|
|
438
|
-
this.
|
|
464
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CLOSE_WHITEBOARD);
|
|
439
465
|
}
|
|
440
466
|
}, {
|
|
441
467
|
key: "release",
|
|
442
468
|
value: function release() {
|
|
469
|
+
var _this$_screenTrack;
|
|
443
470
|
this._disposers.forEach(function (disposer) {
|
|
444
471
|
return disposer();
|
|
445
472
|
});
|
|
446
473
|
this._disposers = [];
|
|
447
474
|
this._closeCapture();
|
|
448
475
|
this._removeEventListeners();
|
|
449
|
-
this.
|
|
476
|
+
this._eventProvider.removeObserver(this._uiEventObserver);
|
|
477
|
+
this._streamControl.removeObserver(this._streamObserver);
|
|
478
|
+
(_this$_screenTrack = this._screenTrack) === null || _this$_screenTrack === void 0 || _this$_screenTrack.removeObserver(this._observer);
|
|
479
|
+
this._roomControl.getBoardControl().removeObserver(this._boardObserver);
|
|
450
480
|
}
|
|
451
481
|
}, {
|
|
452
482
|
key: "handleShareStartWithAudio",
|
|
453
483
|
value: function handleShareStartWithAudio() {
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
if (this._mediaControl.isCapabilitySupported(_fcrCore.FcrCapability.LOOPBACK_CAPTURE)) {
|
|
484
|
+
this._shareAudioTrack = this._deviceProvider.getLoopbackTrack(this._loopbackAudioSourceId);
|
|
485
|
+
if (this._deviceProvider.isCapabilitySupported(_fcrCore.FcrCapability.LOOPBACK_CAPTURE)) {
|
|
457
486
|
this._shareAudioTrack.start();
|
|
458
487
|
}
|
|
459
488
|
}
|
|
@@ -463,7 +492,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
463
492
|
if (!this._shareAudioTrack) {
|
|
464
493
|
return;
|
|
465
494
|
}
|
|
466
|
-
if (this.
|
|
495
|
+
if (this._deviceProvider.isCapabilitySupported(_fcrCore.FcrCapability.LOOPBACK_CAPTURE)) {
|
|
467
496
|
this._shareAudioTrack.stop();
|
|
468
497
|
}
|
|
469
498
|
}
|
|
@@ -472,28 +501,28 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
472
501
|
value: function startPreview(dom) {
|
|
473
502
|
this._previewDom = dom;
|
|
474
503
|
if (dom) {
|
|
475
|
-
var _this$
|
|
476
|
-
(_this$
|
|
504
|
+
var _this$_screenTrack2;
|
|
505
|
+
(_this$_screenTrack2 = this._screenTrack) === null || _this$_screenTrack2 === void 0 || _this$_screenTrack2.startPreview({
|
|
477
506
|
renderMode: 1,
|
|
478
507
|
isMirror: false
|
|
479
508
|
}, dom);
|
|
480
509
|
} else {
|
|
481
|
-
var _this$
|
|
482
|
-
(_this$
|
|
510
|
+
var _this$_screenTrack3;
|
|
511
|
+
(_this$_screenTrack3 = this._screenTrack) === null || _this$_screenTrack3 === void 0 || _this$_screenTrack3.stopPreview(dom);
|
|
483
512
|
this._previewDom = null;
|
|
484
513
|
}
|
|
485
514
|
}
|
|
486
515
|
}, {
|
|
487
516
|
key: "openDialog",
|
|
488
517
|
value: function openDialog(item) {
|
|
489
|
-
this.
|
|
518
|
+
this._dialogProvider.openDialog(item, '', {
|
|
490
519
|
controlBarWindowId: this._controlBarWindowId
|
|
491
520
|
});
|
|
492
521
|
}
|
|
493
522
|
}, {
|
|
494
523
|
key: "closeDialog",
|
|
495
524
|
value: function closeDialog(item) {
|
|
496
|
-
this.
|
|
525
|
+
this._dialogProvider.closeDialog("".concat(item, "_").concat(item));
|
|
497
526
|
}
|
|
498
527
|
}, {
|
|
499
528
|
key: "openShareScreenSelection",
|
|
@@ -504,15 +533,15 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
504
533
|
return _regenerator["default"].wrap(function _callee2$(_context2) {
|
|
505
534
|
while (1) switch (_context2.prev = _context2.next) {
|
|
506
535
|
case 0:
|
|
507
|
-
this._shareSelectionDialogId = this.
|
|
536
|
+
this._shareSelectionDialogId = this._dialogProvider.openDialog(_constant.FcrUIDialogKey.SHARE_SCREEN, 'screen-selection');
|
|
508
537
|
_context2.next = 3;
|
|
509
|
-
return this.
|
|
538
|
+
return this.appWindowList;
|
|
510
539
|
case 3:
|
|
511
540
|
windowList = _context2.sent.filter(function (item) {
|
|
512
541
|
return !['AgoraHighLighter', 'Toast', 'Confirm'].includes(item.title) || item.isCurrent;
|
|
513
542
|
});
|
|
514
543
|
_context2.next = 6;
|
|
515
|
-
return this.
|
|
544
|
+
return this.displayList;
|
|
516
545
|
case 6:
|
|
517
546
|
displayList = _context2.sent;
|
|
518
547
|
(0, _mobx.runInAction)(function () {
|
|
@@ -539,7 +568,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
539
568
|
}, {
|
|
540
569
|
key: "closeShareScreenSelection",
|
|
541
570
|
value: function closeShareScreenSelection() {
|
|
542
|
-
this.
|
|
571
|
+
this._dialogProvider.closeDialog(this._shareSelectionDialogId);
|
|
543
572
|
this._shareSelectionDialogId = '';
|
|
544
573
|
}
|
|
545
574
|
}, {
|
|
@@ -550,35 +579,35 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
550
579
|
}, {
|
|
551
580
|
key: "openVideoWindowDialog",
|
|
552
581
|
value: function openVideoWindowDialog() {
|
|
553
|
-
this._videoWindowDialogId = this.
|
|
582
|
+
this._videoWindowDialogId = this._dialogProvider.openDialog(_constant.FcrUIDialogKey.VIDEO_WINDOW);
|
|
554
583
|
}
|
|
555
584
|
}, {
|
|
556
585
|
key: "closeControlBar",
|
|
557
586
|
value: function closeControlBar() {
|
|
558
587
|
if (!this._controlBarDialogId) return;
|
|
559
588
|
this.setControlBarWindowId(-1);
|
|
560
|
-
this.
|
|
589
|
+
this._dialogProvider.closeDialog(this._controlBarDialogId);
|
|
561
590
|
this._controlBarDialogId = '';
|
|
562
591
|
}
|
|
563
592
|
}, {
|
|
564
593
|
key: "closeVideoWindowDialog",
|
|
565
594
|
value: function closeVideoWindowDialog() {
|
|
566
|
-
this.
|
|
595
|
+
this._dialogProvider.closeDialog(this._videoWindowDialogId);
|
|
567
596
|
this._videoWindowDialogId = '';
|
|
568
|
-
this.
|
|
597
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.CLOSE_VIDEO_WINDOW);
|
|
569
598
|
}
|
|
570
599
|
}, {
|
|
571
600
|
key: "openRelaunchTipsDialog",
|
|
572
601
|
value: function openRelaunchTipsDialog() {
|
|
573
602
|
var _this3 = this;
|
|
574
|
-
var dialogId = this.
|
|
603
|
+
var dialogId = this._dialogProvider.openConfirmDialog({
|
|
575
604
|
content: (0, _i18n.transI18n)('fmt_driver_installation_v_sound_card'),
|
|
576
605
|
onOk: function onOk() {
|
|
577
|
-
dialogId && _this3.
|
|
606
|
+
dialogId && _this3._dialogProvider.closeConfirm(dialogId);
|
|
578
607
|
(0, _renderer.restartApp)();
|
|
579
608
|
},
|
|
580
609
|
onCancel: function onCancel() {
|
|
581
|
-
dialogId && _this3.
|
|
610
|
+
dialogId && _this3._dialogProvider.closeConfirm(dialogId);
|
|
582
611
|
},
|
|
583
612
|
okText: (0, _i18n.transI18n)('fmt_premeeting_setting_mobile_popup_button_restart'),
|
|
584
613
|
cancelText: (0, _i18n.transI18n)('fmt_waitingroom_attendie_popup_button_gotit'),
|
|
@@ -586,51 +615,39 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
586
615
|
});
|
|
587
616
|
}
|
|
588
617
|
}, {
|
|
589
|
-
key: "
|
|
618
|
+
key: "startLoopback",
|
|
590
619
|
value: function () {
|
|
591
|
-
var
|
|
592
|
-
var isMac, hideTip;
|
|
620
|
+
var _startLoopback = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee3(withAudio) {
|
|
593
621
|
return _regenerator["default"].wrap(function _callee3$(_context3) {
|
|
594
622
|
while (1) switch (_context3.prev = _context3.next) {
|
|
595
623
|
case 0:
|
|
596
|
-
isMac = (0, _env.getPlatform)() === _env.FcrApplicationPlatform.MACOS;
|
|
597
|
-
if (!(withAudio && isMac)) {
|
|
598
|
-
_context3.next = 6;
|
|
599
|
-
break;
|
|
600
|
-
}
|
|
601
|
-
_context3.next = 4;
|
|
602
|
-
return this.hasLoopbackDevice();
|
|
603
|
-
case 4:
|
|
604
|
-
hideTip = _context3.sent;
|
|
605
|
-
if (!hideTip) {
|
|
606
|
-
this.openRelaunchTipsDialog();
|
|
607
|
-
}
|
|
608
|
-
case 6:
|
|
609
624
|
this._setWithAudioState(withAudio);
|
|
610
625
|
if (withAudio) {
|
|
611
626
|
this.handleShareStartWithAudio();
|
|
612
627
|
} else {
|
|
613
628
|
this.handleShareStopWithAudio();
|
|
614
629
|
}
|
|
615
|
-
case
|
|
630
|
+
case 2:
|
|
616
631
|
case "end":
|
|
617
632
|
return _context3.stop();
|
|
618
633
|
}
|
|
619
634
|
}, _callee3, this);
|
|
620
635
|
}));
|
|
621
|
-
function
|
|
622
|
-
return
|
|
636
|
+
function startLoopback(_x) {
|
|
637
|
+
return _startLoopback.apply(this, arguments);
|
|
623
638
|
}
|
|
624
|
-
return
|
|
639
|
+
return startLoopback;
|
|
625
640
|
}()
|
|
626
641
|
}, {
|
|
627
642
|
key: "_setWithAudioState",
|
|
628
643
|
value: function _setWithAudioState(withAudio) {
|
|
629
|
-
this.withAudio
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
644
|
+
this.setShareWithAudioState(withAudio);
|
|
645
|
+
if (this._currentShareStreamId) {
|
|
646
|
+
this._streamControl.updatePublishPrivilegeOfStreams((0, _defineProperty2["default"])({}, this._currentShareStreamId, {
|
|
647
|
+
audioPrivilege: withAudio ? _fcrCore.FcrStreamPrivilegeOperation.HAS_PRIVILEGE : _fcrCore.FcrStreamPrivilegeOperation.NOPRIVILEGE,
|
|
648
|
+
videoPrivilege: _fcrCore.FcrStreamPrivilegeOperation.NOOPERATION
|
|
649
|
+
}));
|
|
650
|
+
}
|
|
634
651
|
}
|
|
635
652
|
}, {
|
|
636
653
|
key: "prepareShareScreen",
|
|
@@ -646,28 +663,25 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
646
663
|
_context4.next = 4;
|
|
647
664
|
break;
|
|
648
665
|
}
|
|
649
|
-
dialogId = this.
|
|
666
|
+
dialogId = this._dialogProvider.openConfirmDialog({
|
|
650
667
|
title: (0, _i18n.transI18n)('fmt_screenshare_options_allowshare'),
|
|
651
668
|
content: (0, _i18n.transI18n)('fmt_screenshare_tips_notavailable'),
|
|
652
669
|
okText: (0, _i18n.transI18n)('fmt_group_popup_creat_next_sidpop_label_setting'),
|
|
653
670
|
cancelText: (0, _i18n.transI18n)('fmt_group_popup_creat_next_sidpop_button_help_ignore'),
|
|
654
671
|
onCancel: function onCancel() {
|
|
655
|
-
_this4.
|
|
672
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
656
673
|
},
|
|
657
674
|
onOk: function onOk() {
|
|
658
675
|
window.runtime.checkMediaPermission('sharing');
|
|
659
|
-
_this4.
|
|
676
|
+
_this4._dialogProvider.closeConfirm(dialogId);
|
|
660
677
|
},
|
|
661
678
|
closable: false
|
|
662
679
|
});
|
|
663
680
|
return _context4.abrupt("return");
|
|
664
681
|
case 4:
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
this.handleStartShare();
|
|
669
|
-
}
|
|
670
|
-
case 5:
|
|
682
|
+
this.supportEnumScreen && this.openShareScreenSelection();
|
|
683
|
+
!(0, _env.isElectron)() && this.handleStartShare(this.currentSelection, _type2.AgoraRtcScreenCaptureType.SCREEN, true, _shareAudio.AudioProcessingChannel.MONO, this.currentSelectionBounds); // web 直接开始分享
|
|
684
|
+
case 6:
|
|
671
685
|
case "end":
|
|
672
686
|
return _context4.stop();
|
|
673
687
|
}
|
|
@@ -681,101 +695,95 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
681
695
|
}, {
|
|
682
696
|
key: "handleStartShare",
|
|
683
697
|
value: function () {
|
|
684
|
-
var _handleStartShare = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5() {
|
|
685
|
-
var
|
|
686
|
-
|
|
687
|
-
withAudio,
|
|
688
|
-
audioProcessingChannel,
|
|
698
|
+
var _handleStartShare = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee5(id, type, withAudio) {
|
|
699
|
+
var audioProcessingChannel,
|
|
700
|
+
bounds,
|
|
689
701
|
excludeWindows,
|
|
690
|
-
_this$localUser2,
|
|
691
|
-
_this$localUser3,
|
|
692
702
|
screenTrack,
|
|
693
703
|
_args5 = arguments;
|
|
694
704
|
return _regenerator["default"].wrap(function _callee5$(_context5) {
|
|
695
705
|
while (1) switch (_context5.prev = _context5.next) {
|
|
696
706
|
case 0:
|
|
697
|
-
id = _args5.length > 0 && _args5[0] !== undefined ? _args5[0] : 'default';
|
|
698
|
-
type = _args5.length > 1 && _args5[1] !== undefined ? _args5[1] : _type2.AgoraRtcScreenCaptureType.SCREEN;
|
|
699
|
-
withAudio = _args5.length > 2 && _args5[2] !== undefined ? _args5[2] : false;
|
|
700
707
|
audioProcessingChannel = _args5.length > 3 && _args5[3] !== undefined ? _args5[3] : _shareAudio.AudioProcessingChannel.MONO;
|
|
701
|
-
|
|
708
|
+
bounds = _args5.length > 4 ? _args5[4] : undefined;
|
|
702
709
|
excludeWindows = [];
|
|
703
|
-
withAudio = (0, _env.isElectron)() ? withAudio : true; // electron 取 withAudio,web 默认为 true
|
|
704
710
|
if ((0, _env.isElectron)()) this.closeShareScreenSelection();
|
|
705
711
|
if (!(id.split('-')[0] === 'whiteboard')) {
|
|
706
|
-
_context5.next =
|
|
712
|
+
_context5.next = 9;
|
|
707
713
|
break;
|
|
708
714
|
}
|
|
709
|
-
if (!(!this._securityStore.hasStartBoardPermission() && !(
|
|
710
|
-
_context5.next =
|
|
715
|
+
if (!(!this._securityStore.hasStartBoardPermission() && !(this.localUser.userRole === _type.FcrUserRole.HOST) && !(this.localUser.userRole === _type.FcrUserRole.COHOST))) {
|
|
716
|
+
_context5.next = 7;
|
|
711
717
|
break;
|
|
712
718
|
}
|
|
713
719
|
return _context5.abrupt("return", this._showToast((0, _i18n.transI18n)('fmt_screenshare_tips_hostprohibits'), 'error'));
|
|
714
|
-
case
|
|
715
|
-
this.
|
|
720
|
+
case 7:
|
|
721
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.OPEN_WHITEBOARD);
|
|
716
722
|
return _context5.abrupt("return");
|
|
717
|
-
case
|
|
723
|
+
case 9:
|
|
718
724
|
if (!(this.screenSharingState === _fcrCore.FcrMediaSourceState.OPEN)) {
|
|
719
|
-
_context5.next =
|
|
725
|
+
_context5.next = 13;
|
|
720
726
|
break;
|
|
721
727
|
}
|
|
722
|
-
this.handleReplaceScreen(id, type, withAudio, audioProcessingChannel);
|
|
728
|
+
this.handleReplaceScreen(id, type, withAudio, audioProcessingChannel, bounds);
|
|
723
729
|
this._setShareLock(false);
|
|
724
730
|
return _context5.abrupt("return");
|
|
725
|
-
case
|
|
726
|
-
this.
|
|
731
|
+
case 13:
|
|
732
|
+
this._eventProvider.sendEvent(_constant.FcrUIAction.SET_CURRENT_SHARE_SCREEN, {
|
|
727
733
|
id: id,
|
|
728
|
-
type: type
|
|
734
|
+
type: type,
|
|
735
|
+
bounds: bounds
|
|
729
736
|
});
|
|
730
|
-
_context5.t0 = this.
|
|
737
|
+
_context5.t0 = this.supportEnumScreen;
|
|
731
738
|
if (!_context5.t0) {
|
|
732
|
-
_context5.next =
|
|
739
|
+
_context5.next = 19;
|
|
733
740
|
break;
|
|
734
741
|
}
|
|
735
|
-
_context5.next =
|
|
742
|
+
_context5.next = 18;
|
|
736
743
|
return this._validateShareStart(id, type);
|
|
737
|
-
case
|
|
744
|
+
case 18:
|
|
738
745
|
_context5.t0 = !_context5.sent;
|
|
739
|
-
case
|
|
746
|
+
case 19:
|
|
740
747
|
if (!_context5.t0) {
|
|
741
|
-
_context5.next =
|
|
748
|
+
_context5.next = 21;
|
|
742
749
|
break;
|
|
743
750
|
}
|
|
744
751
|
return _context5.abrupt("return");
|
|
745
|
-
case
|
|
752
|
+
case 21:
|
|
746
753
|
if (!this._shareLocked) {
|
|
747
|
-
_context5.next =
|
|
754
|
+
_context5.next = 23;
|
|
748
755
|
break;
|
|
749
756
|
}
|
|
750
757
|
return _context5.abrupt("return", this._showToast((0, _i18n.transI18n)('fmt_screenshare_tips_enablecollection'), 'error'));
|
|
751
|
-
case
|
|
758
|
+
case 23:
|
|
752
759
|
this._setShareLock(true);
|
|
760
|
+
this.setShareWithAudioState(withAudio);
|
|
753
761
|
this.currentShareId = id;
|
|
754
762
|
this.currentShareType = type;
|
|
755
|
-
this.
|
|
763
|
+
this.currentSelectionBounds = bounds;
|
|
756
764
|
if (withAudio) this.handleShareStartWithAudio();
|
|
757
765
|
if (this._hasScreenSharePermission()) {
|
|
758
|
-
_context5.next =
|
|
766
|
+
_context5.next = 32;
|
|
759
767
|
break;
|
|
760
768
|
}
|
|
761
769
|
this._setShareLock(false);
|
|
762
770
|
return _context5.abrupt("return");
|
|
763
|
-
case
|
|
771
|
+
case 32:
|
|
772
|
+
this._initControlbar(); // 初始化控制栏,web 和 electron 都需要执行
|
|
764
773
|
if (!(0, _env.isElectron)()) {
|
|
765
|
-
_context5.next =
|
|
774
|
+
_context5.next = 40;
|
|
766
775
|
break;
|
|
767
776
|
}
|
|
768
|
-
_context5.next =
|
|
777
|
+
_context5.next = 36;
|
|
769
778
|
return this._createScreenStream(id);
|
|
770
|
-
case
|
|
771
|
-
this._initControlbar();
|
|
779
|
+
case 36:
|
|
772
780
|
this.openVideoWindowDialog();
|
|
773
|
-
_context5.next =
|
|
781
|
+
_context5.next = 39;
|
|
774
782
|
return this._getExcludeWindows();
|
|
775
|
-
case
|
|
783
|
+
case 39:
|
|
776
784
|
excludeWindows = _context5.sent;
|
|
777
|
-
case
|
|
778
|
-
screenTrack = this.
|
|
785
|
+
case 40:
|
|
786
|
+
screenTrack = this._deviceProvider.getScreenTrack(id);
|
|
779
787
|
this._screenTrack = screenTrack;
|
|
780
788
|
screenTrack.addObserver(this._observer);
|
|
781
789
|
screenTrack.start(type, {
|
|
@@ -783,30 +791,28 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
783
791
|
withAudio: withAudio,
|
|
784
792
|
excludeWindows: excludeWindows
|
|
785
793
|
});
|
|
786
|
-
case
|
|
794
|
+
case 44:
|
|
787
795
|
case "end":
|
|
788
796
|
return _context5.stop();
|
|
789
797
|
}
|
|
790
798
|
}, _callee5, this);
|
|
791
799
|
}));
|
|
792
|
-
function handleStartShare() {
|
|
800
|
+
function handleStartShare(_x2, _x3, _x4) {
|
|
793
801
|
return _handleStartShare.apply(this, arguments);
|
|
794
802
|
}
|
|
795
803
|
return handleStartShare;
|
|
796
804
|
}()
|
|
797
805
|
}, {
|
|
798
806
|
key: "handleReplaceScreen",
|
|
799
|
-
value: function handleReplaceScreen() {
|
|
807
|
+
value: function handleReplaceScreen(id, type, withAudio) {
|
|
800
808
|
var _this5 = this;
|
|
801
|
-
var id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'default';
|
|
802
|
-
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : _type2.AgoraRtcScreenCaptureType.WINDOW;
|
|
803
|
-
var withAudio = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false;
|
|
804
809
|
var audioProcessingChannel = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : _shareAudio.AudioProcessingChannel.MONO;
|
|
810
|
+
var bounds = arguments.length > 4 ? arguments[4] : undefined;
|
|
805
811
|
withAudio = (0, _env.isElectron)() ? withAudio : true; // electron 取 withAudio,web 默认为 true
|
|
806
|
-
if (this.
|
|
812
|
+
if (this.shareWithAudio && !withAudio) {
|
|
807
813
|
this.handleShareStopWithAudio();
|
|
808
814
|
}
|
|
809
|
-
this.withAudio
|
|
815
|
+
this.setShareWithAudioState(withAudio);
|
|
810
816
|
var screenTrack = this._screenTrack;
|
|
811
817
|
this._isReplaceScreen = true;
|
|
812
818
|
if (screenTrack) {
|
|
@@ -818,19 +824,20 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
818
824
|
while (1) switch (_context6.prev = _context6.next) {
|
|
819
825
|
case 0:
|
|
820
826
|
if (!(state === _fcrCore.FcrMediaSourceState.CLOSE)) {
|
|
821
|
-
_context6.next =
|
|
827
|
+
_context6.next = 19;
|
|
822
828
|
break;
|
|
823
829
|
}
|
|
824
830
|
if ((0, _env.isElectron)()) {
|
|
825
831
|
_this5._initControlbar();
|
|
826
832
|
}
|
|
827
|
-
_this5.
|
|
833
|
+
_this5._eventProvider.sendEvent(_constant.FcrUIAction.SET_CURRENT_SHARE_SCREEN, {
|
|
828
834
|
id: id,
|
|
829
|
-
type: type
|
|
835
|
+
type: type,
|
|
836
|
+
bounds: bounds
|
|
830
837
|
});
|
|
831
838
|
screenTrack.removeObserver(_this5._observer);
|
|
832
839
|
screenTrack.removeObserver(observer);
|
|
833
|
-
newScreenTrack = _this5.
|
|
840
|
+
newScreenTrack = _this5._deviceProvider.getScreenTrack(id);
|
|
834
841
|
if (withAudio) {
|
|
835
842
|
_this5.handleShareStartWithAudio();
|
|
836
843
|
}
|
|
@@ -854,19 +861,20 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
854
861
|
if (_this5._currentShareStreamId) {
|
|
855
862
|
_this5._streamControl.bindLocalStreams([{
|
|
856
863
|
streamId: _this5._currentShareStreamId,
|
|
857
|
-
audioSourceId:
|
|
864
|
+
audioSourceId: _this5._loopbackAudioSourceId,
|
|
858
865
|
videoSourceId: id
|
|
859
866
|
}]);
|
|
860
867
|
}
|
|
861
868
|
_this5.currentShareId = id;
|
|
862
869
|
_this5.currentShareType = type;
|
|
863
|
-
|
|
870
|
+
_this5.currentSelectionBounds = bounds;
|
|
871
|
+
case 19:
|
|
864
872
|
case "end":
|
|
865
873
|
return _context6.stop();
|
|
866
874
|
}
|
|
867
875
|
}, _callee6);
|
|
868
876
|
}));
|
|
869
|
-
function onScreenCaptureStateUpdated(
|
|
877
|
+
function onScreenCaptureStateUpdated(_x5, _x6) {
|
|
870
878
|
return _onScreenCaptureStateUpdated.apply(this, arguments);
|
|
871
879
|
}
|
|
872
880
|
return onScreenCaptureStateUpdated;
|
|
@@ -880,11 +888,11 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
880
888
|
}, {
|
|
881
889
|
key: "handleStopShare",
|
|
882
890
|
value: function handleStopShare() {
|
|
883
|
-
var _this$
|
|
891
|
+
var _this$_screenTrack4, _this$_screenTrack5;
|
|
884
892
|
this._closeCapture();
|
|
885
893
|
this._removeScreenStream();
|
|
886
|
-
this._previewDom && ((_this$
|
|
887
|
-
(_this$
|
|
894
|
+
this._previewDom && ((_this$_screenTrack4 = this._screenTrack) === null || _this$_screenTrack4 === void 0 ? void 0 : _this$_screenTrack4.stopPreview(this._previewDom));
|
|
895
|
+
(_this$_screenTrack5 = this._screenTrack) === null || _this$_screenTrack5 === void 0 || _this$_screenTrack5.stop();
|
|
888
896
|
this.currentShareId = '';
|
|
889
897
|
}
|
|
890
898
|
}, {
|
|
@@ -892,14 +900,14 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
892
900
|
value: function () {
|
|
893
901
|
var _createScreenStream2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee7(videoSourceId) {
|
|
894
902
|
var _this6 = this;
|
|
895
|
-
var
|
|
903
|
+
var audioSourceId, streamId;
|
|
896
904
|
return _regenerator["default"].wrap(function _callee7$(_context7) {
|
|
897
905
|
while (1) switch (_context7.prev = _context7.next) {
|
|
898
906
|
case 0:
|
|
899
|
-
|
|
907
|
+
audioSourceId = this._loopbackAudioSourceId;
|
|
900
908
|
_context7.next = 3;
|
|
901
909
|
return this._streamControl.addLocalScreenStream({
|
|
902
|
-
streamType:
|
|
910
|
+
streamType: _type3.AgoraRteMediaStreamType.BOTH
|
|
903
911
|
})["finally"](function () {
|
|
904
912
|
_this6._setShareLock(false);
|
|
905
913
|
});
|
|
@@ -907,7 +915,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
907
915
|
streamId = _context7.sent;
|
|
908
916
|
this._streamControl.bindLocalStreams([{
|
|
909
917
|
streamId: streamId,
|
|
910
|
-
audioSourceId:
|
|
918
|
+
audioSourceId: audioSourceId,
|
|
911
919
|
videoSourceId: videoSourceId
|
|
912
920
|
}]);
|
|
913
921
|
this._currentShareStreamId = streamId;
|
|
@@ -917,7 +925,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
917
925
|
}
|
|
918
926
|
}, _callee7, this);
|
|
919
927
|
}));
|
|
920
|
-
function _createScreenStream(
|
|
928
|
+
function _createScreenStream(_x7) {
|
|
921
929
|
return _createScreenStream2.apply(this, arguments);
|
|
922
930
|
}
|
|
923
931
|
return _createScreenStream;
|
|
@@ -926,6 +934,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
926
934
|
key: "_handleWebScreenCaptureStateUpdated",
|
|
927
935
|
value: function () {
|
|
928
936
|
var _handleWebScreenCaptureStateUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee8(sourceId, state) {
|
|
937
|
+
var _this$_screenTrack6;
|
|
929
938
|
return _regenerator["default"].wrap(function _callee8$(_context8) {
|
|
930
939
|
while (1) switch (_context8.prev = _context8.next) {
|
|
931
940
|
case 0:
|
|
@@ -933,12 +942,10 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
933
942
|
if (state === _fcrCore.FcrMediaSourceState.OPEN) {
|
|
934
943
|
this._setShareLock(true);
|
|
935
944
|
this._createScreenStream(this.currentShareId);
|
|
936
|
-
this._isReplaceScreen = false;
|
|
937
945
|
}
|
|
938
946
|
if (state === _fcrCore.FcrMediaSourceState.CLOSE) {
|
|
939
947
|
this._setShareLock(false);
|
|
940
|
-
|
|
941
|
-
this._isReplaceScreen = false;
|
|
948
|
+
this._isReplaceScreen ? (_this$_screenTrack6 = this._screenTrack) === null || _this$_screenTrack6 === void 0 ? void 0 : _this$_screenTrack6.stop() : this.handleStopShare();
|
|
942
949
|
}
|
|
943
950
|
if (state === _fcrCore.FcrMediaSourceState.ERROR) {
|
|
944
951
|
this._setShareLock(false);
|
|
@@ -950,7 +957,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
950
957
|
}
|
|
951
958
|
}, _callee8, this);
|
|
952
959
|
}));
|
|
953
|
-
function _handleWebScreenCaptureStateUpdated(
|
|
960
|
+
function _handleWebScreenCaptureStateUpdated(_x8, _x9) {
|
|
954
961
|
return _handleWebScreenCaptureStateUpdated2.apply(this, arguments);
|
|
955
962
|
}
|
|
956
963
|
return _handleWebScreenCaptureStateUpdated;
|
|
@@ -959,31 +966,33 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
959
966
|
key: "_handleScreenCaptureStateUpdated",
|
|
960
967
|
value: function () {
|
|
961
968
|
var _handleScreenCaptureStateUpdated2 = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee9(sourceId, state) {
|
|
962
|
-
var _this$
|
|
969
|
+
var _this$_screenTrack7, _this$_screenTrack8, _this$_screenTrack9;
|
|
963
970
|
return _regenerator["default"].wrap(function _callee9$(_context9) {
|
|
964
971
|
while (1) switch (_context9.prev = _context9.next) {
|
|
965
972
|
case 0:
|
|
966
973
|
if (state === _fcrCore.FcrMediaSourceState.CLOSE) {
|
|
967
|
-
this._previewDom && ((_this$
|
|
968
|
-
(_this$
|
|
969
|
-
(_this$
|
|
974
|
+
this._previewDom && ((_this$_screenTrack7 = this._screenTrack) === null || _this$_screenTrack7 === void 0 ? void 0 : _this$_screenTrack7.stopPreview(this._previewDom));
|
|
975
|
+
(_this$_screenTrack8 = this._screenTrack) === null || _this$_screenTrack8 === void 0 || _this$_screenTrack8.removeObserver(this._observer);
|
|
976
|
+
this._isReplaceScreen ? (_this$_screenTrack9 = this._screenTrack) === null || _this$_screenTrack9 === void 0 ? void 0 : _this$_screenTrack9.stop() : this.handleStopShare();
|
|
977
|
+
this._isReplaceScreen = false;
|
|
970
978
|
}
|
|
971
979
|
if (!(state === _fcrCore.FcrMediaSourceState.ERROR)) {
|
|
972
|
-
_context9.next =
|
|
980
|
+
_context9.next = 6;
|
|
973
981
|
break;
|
|
974
982
|
}
|
|
975
983
|
this.handleStopShare();
|
|
976
984
|
this.screenSharingState = _fcrCore.FcrMediaSourceState.CLOSE;
|
|
985
|
+
this._isReplaceScreen = false;
|
|
977
986
|
return _context9.abrupt("return");
|
|
978
|
-
case 5:
|
|
979
|
-
this.screenSharingState = state;
|
|
980
987
|
case 6:
|
|
988
|
+
this.screenSharingState = state;
|
|
989
|
+
case 7:
|
|
981
990
|
case "end":
|
|
982
991
|
return _context9.stop();
|
|
983
992
|
}
|
|
984
993
|
}, _callee9, this);
|
|
985
994
|
}));
|
|
986
|
-
function _handleScreenCaptureStateUpdated(
|
|
995
|
+
function _handleScreenCaptureStateUpdated(_x10, _x11) {
|
|
987
996
|
return _handleScreenCaptureStateUpdated2.apply(this, arguments);
|
|
988
997
|
}
|
|
989
998
|
return _handleScreenCaptureStateUpdated;
|
|
@@ -1046,8 +1055,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1046
1055
|
var _this$_streamControl$2,
|
|
1047
1056
|
_this7 = this;
|
|
1048
1057
|
var currentShareStreamId = this._currentShareStreamId || ((_this$_streamControl$2 = this._streamControl.getStreamList().find(function (stream) {
|
|
1049
|
-
|
|
1050
|
-
return stream.videoSourceType === _type4.AgoraRteVideoSourceType.SCREEN && stream.owner.userId === ((_this7$localUser = _this7.localUser) === null || _this7$localUser === void 0 ? void 0 : _this7$localUser.userId);
|
|
1058
|
+
return stream.videoSourceType === _type4.AgoraRteVideoSourceType.SCREEN && stream.owner.userId === _this7.localUser.userId;
|
|
1051
1059
|
})) === null || _this$_streamControl$2 === void 0 ? void 0 : _this$_streamControl$2.streamId);
|
|
1052
1060
|
if (this.screenSharingState !== _fcrCore.FcrMediaSourceState.OPEN && currentShareStreamId) {
|
|
1053
1061
|
this.handleStopShare();
|
|
@@ -1056,26 +1064,42 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1056
1064
|
}, {
|
|
1057
1065
|
key: "_isStoppedFor",
|
|
1058
1066
|
value: function _isStoppedFor(events, reason) {
|
|
1067
|
+
var _this8 = this;
|
|
1059
1068
|
return events && events.find(function (event) {
|
|
1060
1069
|
var _event$cause;
|
|
1061
|
-
return ((_event$cause = event.cause) === null || _event$cause === void 0 || (_event$cause = _event$cause.data) === null || _event$cause === void 0 ? void 0 : _event$cause.reason) === reason;
|
|
1070
|
+
return ((_event$cause = event.cause) === null || _event$cause === void 0 || (_event$cause = _event$cause.data) === null || _event$cause === void 0 ? void 0 : _event$cause.reason) === reason && event.modifiedStream.owner.userId === _this8.localUser.userId;
|
|
1062
1071
|
});
|
|
1063
1072
|
}
|
|
1064
1073
|
}, {
|
|
1065
1074
|
key: "_handleStreamUpdate",
|
|
1066
|
-
value: function _handleStreamUpdate(
|
|
1067
|
-
var _this$
|
|
1075
|
+
value: function _handleStreamUpdate(process, events) {
|
|
1076
|
+
var _this$_screenTrack10,
|
|
1077
|
+
_this9 = this;
|
|
1068
1078
|
var isClosedByOther = this._isStoppedFor(events, _types.FcrBoardInactiveReason.CLOSE);
|
|
1069
1079
|
var isSeizedByOther = this._isStoppedFor(events, _types.FcrBoardInactiveReason.SEIZE);
|
|
1070
1080
|
var operatorUser = (isSeizedByOther === null || isSeizedByOther === void 0 ? void 0 : isSeizedByOther.operatorUser) || (isClosedByOther === null || isClosedByOther === void 0 ? void 0 : isClosedByOther.operatorUser);
|
|
1071
1081
|
var ownerUser = (isSeizedByOther === null || isSeizedByOther === void 0 ? void 0 : isSeizedByOther.modifiedStream.owner) || (isClosedByOther === null || isClosedByOther === void 0 ? void 0 : isClosedByOther.modifiedStream.owner);
|
|
1072
|
-
var selfOperated = (operatorUser === null || operatorUser === void 0 ? void 0 : operatorUser.userId) ===
|
|
1073
|
-
var isMyOwnShare =
|
|
1074
|
-
(isSeizedByOther || isClosedByOther) && !selfOperated && this.
|
|
1075
|
-
isClosedByOther && !selfOperated && isMyOwnShare && this.
|
|
1082
|
+
var selfOperated = (operatorUser === null || operatorUser === void 0 ? void 0 : operatorUser.userId) === this.localUser.userId;
|
|
1083
|
+
var isMyOwnShare = this.localUser.userId === (ownerUser === null || ownerUser === void 0 ? void 0 : ownerUser.userId);
|
|
1084
|
+
(isSeizedByOther || isClosedByOther) && !selfOperated && ((_this$_screenTrack10 = this._screenTrack) === null || _this$_screenTrack10 === void 0 ? void 0 : _this$_screenTrack10.stop());
|
|
1085
|
+
isClosedByOther && !selfOperated && isMyOwnShare && this._eventProvider.sendEvent(_constant.FcrUIAction.SHOW_TOAST, {
|
|
1076
1086
|
type: 'info',
|
|
1077
1087
|
message: (0, _i18n.transI18n)('fmt_share_tips_sharingdisabled')
|
|
1078
1088
|
});
|
|
1089
|
+
switch (process) {
|
|
1090
|
+
case 'remove':
|
|
1091
|
+
if (events.some(function (event) {
|
|
1092
|
+
return event.modifiedStream.videoSourceType === _type4.AgoraRteVideoSourceType.SCREEN && event.modifiedStream.owner.userId === _this9.localUser.userId;
|
|
1093
|
+
})) {
|
|
1094
|
+
var _this$_screenTrack11;
|
|
1095
|
+
if (!(0, _env.isElectron)() && this._isReplaceScreen) {
|
|
1096
|
+
this._isReplaceScreen = false;
|
|
1097
|
+
return;
|
|
1098
|
+
} // web 下如果是替换的逻辑,不需要关闭分享
|
|
1099
|
+
(_this$_screenTrack11 = this._screenTrack) === null || _this$_screenTrack11 === void 0 || _this$_screenTrack11.stop();
|
|
1100
|
+
}
|
|
1101
|
+
break;
|
|
1102
|
+
}
|
|
1079
1103
|
}
|
|
1080
1104
|
}, {
|
|
1081
1105
|
key: "_addEventListeners",
|
|
@@ -1095,7 +1119,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1095
1119
|
while (1) switch (_context11.prev = _context11.next) {
|
|
1096
1120
|
case 0:
|
|
1097
1121
|
_context11.t0 = event;
|
|
1098
|
-
_context11.next = _context11.t0 === _constant.
|
|
1122
|
+
_context11.next = _context11.t0 === _constant.FcrUIAction.START_SHARE_SCREEN ? 3 : _context11.t0 === _constant.FcrUIAction.STOP_SCREEN_CAPTURE ? 5 : _context11.t0 === _constant.FcrUIAction.ENGINE_RECONNECTED ? 7 : _context11.t0 === _constant.FcrUIAction.STOP_SHARE_SCREEN ? 9 : _context11.t0 === _constant.FcrUIAction.SET_SHARE_WITH_AUDIO ? 11 : 13;
|
|
1099
1123
|
break;
|
|
1100
1124
|
case 3:
|
|
1101
1125
|
this.prepareShareScreen();
|
|
@@ -1114,7 +1138,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1114
1138
|
this.handleStopShare();
|
|
1115
1139
|
return _context11.abrupt("break", 13);
|
|
1116
1140
|
case 11:
|
|
1117
|
-
this.
|
|
1141
|
+
this.startLoopback(params.withAudio);
|
|
1118
1142
|
return _context11.abrupt("break", 13);
|
|
1119
1143
|
case 13:
|
|
1120
1144
|
case "end":
|
|
@@ -1122,7 +1146,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1122
1146
|
}
|
|
1123
1147
|
}, _callee11, this);
|
|
1124
1148
|
}));
|
|
1125
|
-
function _onUiEvent(
|
|
1149
|
+
function _onUiEvent(_x12, _x13) {
|
|
1126
1150
|
return _onUiEvent2.apply(this, arguments);
|
|
1127
1151
|
}
|
|
1128
1152
|
return _onUiEvent;
|
|
@@ -1131,7 +1155,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1131
1155
|
key: "_showToast",
|
|
1132
1156
|
value: function _showToast(message, type) {
|
|
1133
1157
|
var duration = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 3000;
|
|
1134
|
-
this.
|
|
1158
|
+
this._messageProvider.showToast({
|
|
1135
1159
|
type: type,
|
|
1136
1160
|
message: message,
|
|
1137
1161
|
duration: duration
|
|
@@ -1146,7 +1170,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1146
1170
|
while (1) switch (_context12.prev = _context12.next) {
|
|
1147
1171
|
case 0:
|
|
1148
1172
|
_context12.next = 2;
|
|
1149
|
-
return this.
|
|
1173
|
+
return this.appWindowList;
|
|
1150
1174
|
case 2:
|
|
1151
1175
|
windows = _context12.sent;
|
|
1152
1176
|
window = windows.filter(function (item) {
|
|
@@ -1168,7 +1192,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1168
1192
|
}
|
|
1169
1193
|
}, _callee12, this);
|
|
1170
1194
|
}));
|
|
1171
|
-
function _validateWindow(
|
|
1195
|
+
function _validateWindow(_x14) {
|
|
1172
1196
|
return _validateWindow2.apply(this, arguments);
|
|
1173
1197
|
}
|
|
1174
1198
|
return _validateWindow;
|
|
@@ -1182,7 +1206,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1182
1206
|
while (1) switch (_context13.prev = _context13.next) {
|
|
1183
1207
|
case 0:
|
|
1184
1208
|
_context13.next = 2;
|
|
1185
|
-
return this.
|
|
1209
|
+
return this.displayList;
|
|
1186
1210
|
case 2:
|
|
1187
1211
|
displayList = _context13.sent.find(function (item) {
|
|
1188
1212
|
return item.id === id;
|
|
@@ -1201,7 +1225,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1201
1225
|
}
|
|
1202
1226
|
}, _callee13, this);
|
|
1203
1227
|
}));
|
|
1204
|
-
function _validateDisplay(
|
|
1228
|
+
function _validateDisplay(_x15) {
|
|
1205
1229
|
return _validateDisplay2.apply(this, arguments);
|
|
1206
1230
|
}
|
|
1207
1231
|
return _validateDisplay;
|
|
@@ -1252,7 +1276,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1252
1276
|
}
|
|
1253
1277
|
}, _callee14, this);
|
|
1254
1278
|
}));
|
|
1255
|
-
function _validateShareStart(
|
|
1279
|
+
function _validateShareStart(_x16, _x17) {
|
|
1256
1280
|
return _validateShareStart2.apply(this, arguments);
|
|
1257
1281
|
}
|
|
1258
1282
|
return _validateShareStart;
|
|
@@ -1320,12 +1344,15 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1320
1344
|
currentShareAudioProcessingChannel: _shareAudio.AudioProcessingChannel.MONO,
|
|
1321
1345
|
currentShareId: this.currentShareId,
|
|
1322
1346
|
currentShareType: this.currentShareType,
|
|
1323
|
-
shareWithAudio: this.
|
|
1347
|
+
shareWithAudio: this.shareWithAudio,
|
|
1348
|
+
currentShareBounds: this.currentSelectionBounds
|
|
1324
1349
|
};
|
|
1325
|
-
this._controlBarDialogId = this.
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1350
|
+
this._controlBarDialogId = this._dialogProvider.openDialog(_constant.FcrUIDialogKey.CONTROL_BAR, _constant.FcrUIDialogKey.CONTROL_BAR, params);
|
|
1351
|
+
if ((0, _env.isElectron)()) {
|
|
1352
|
+
window.runtime.browserWindow.setFullScreen(false);
|
|
1353
|
+
window.runtime.browserWindow.hide();
|
|
1354
|
+
}
|
|
1355
|
+
case 3:
|
|
1329
1356
|
case "end":
|
|
1330
1357
|
return _context16.stop();
|
|
1331
1358
|
}
|
|
@@ -1339,7 +1366,7 @@ var ShareScreenStore = exports["default"] = /*#__PURE__*/function () {
|
|
|
1339
1366
|
}]);
|
|
1340
1367
|
}();
|
|
1341
1368
|
_ShareScreenStore = ShareScreenStore;
|
|
1342
|
-
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ShareScreenStore, [[_mobx.observable, 1, "_shareSelectionDialogId"], [_mobx.observable, 1, "_controlBarDialogId"], [_mobx.observable, 1, "_videoWindowDialogId"], [_mobx.observable, 1, "_isHost"], [_mobx.observable, 1, "_shareLocked"], [_mobx.observable, 1, "_screenTrack"], [_mobx.observable, 1, "_shareAudioTrack"], [_mobx.observable, 1, "screenSharingState"], [_mobx.observable, 1, "applicationCaptureSources"], [_mobx.observable, 1, "screenCaptureSources"], [_mobx.observable, 1, "hasScreenCapturePermission"], [_mobx.observable, 1, "
|
|
1369
|
+
var _applyDecs$e = (0, _slicedToArray2["default"])(_applyDecs(_ShareScreenStore, [[_mobx.observable, 1, "_shareSelectionDialogId"], [_mobx.observable, 1, "_controlBarDialogId"], [_mobx.observable, 1, "_videoWindowDialogId"], [_mobx.observable, 1, "_isHost"], [_mobx.observable, 1, "_shareLocked"], [_mobx.observable, 1, "_screenTrack"], [_mobx.observable, 1, "_shareAudioTrack"], [_mobx.observable, 1, "screenSharingState"], [_mobx.observable, 1, "applicationCaptureSources"], [_mobx.observable, 1, "screenCaptureSources"], [_mobx.observable, 1, "hasScreenCapturePermission"], [_mobx.observable, 1, "currentShareAudioProcessingChannel"], [_mobx.observable, 1, "currentShareId"], [_mobx.observable, 1, "sharerId"], [_mobx.observable, 1, "currentShareType"], [_mobx.observable, 1, "currentSelection"], [_mobx.observable, 1, "currentSelectionType"], [_mobx.observable, 1, "currentSelectionBounds"], [_mobx.observable, 1, "shareWithAudio"], [_mobx.observable, 1, "boardOwnerUser"], [_mobx.observable, 1, "localUser"], [_mobx.observable, 1, "localUserRole"], [_setShareWithAudioStateDecs, 18, "setShareWithAudioState"], [_hasLoopbackDeviceDecs, 18, "hasLoopbackDevice"], [_setShareAudioProcessingChannelDecs, 18, "setShareAudioProcessingChannel"], [_decorator.bound, 2, "handlerBoardShareStop"], [_decorator.bound, 2, "release"], [_handleShareStartWithAudioDecs, 18, "handleShareStartWithAudio"], [_handleShareStopWithAudioDecs, 18, "handleShareStopWithAudio"], [_startPreviewDecs, 18, "startPreview"], [_openDialogDecs, 18, "openDialog"], [_decorator.bound, 2, "closeDialog"], [_openShareScreenSelectionDecs, 18, "openShareScreenSelection"], [_closeShareScreenSelectionDecs, 18, "closeShareScreenSelection"], [_setControlBarWindowIdDecs, 18, "setControlBarWindowId"], [_openVideoWindowDialogDecs, 18, "openVideoWindowDialog"], [_closeControlBarDecs, 18, "closeControlBar"], [_closeVideoWindowDialogDecs, 18, "closeVideoWindowDialog"], [_openRelaunchTipsDialogDecs, 18, "openRelaunchTipsDialog"], [_startLoopbackDecs, 18, "startLoopback"], [_setWithAudioStateDecs, 18, "_setWithAudioState"], [_handleStartShareDecs, 18, "handleStartShare"], [_handleReplaceScreenDecs, 18, "handleReplaceScreen"], [_handleStopShareDecs, 18, "handleStopShare"], [_decorator.bound, 2, "_handleWebScreenCaptureStateUpdated"], [_handleScreenCaptureStateUpdatedDecs, 18, "_handleScreenCaptureStateUpdated"], [_setShareLockDecs, 18, "_setShareLock"], [_decorator.bound, 2, "_syncShareStreamState"], [_handleStreamUpdateDecs, 18, "_handleStreamUpdate"], [_initControlbarDecs, 18, "_initControlbar"], [_handleChooseScreenDecs, 16, "handleChooseScreen"]], []).e, 24);
|
|
1343
1370
|
_init__shareSelectionDialogId = _applyDecs$e[0];
|
|
1344
1371
|
_init__controlBarDialogId = _applyDecs$e[1];
|
|
1345
1372
|
_init__videoWindowDialogId = _applyDecs$e[2];
|
|
@@ -1351,13 +1378,13 @@ _init_screenSharingState = _applyDecs$e[7];
|
|
|
1351
1378
|
_init_applicationCaptureSources = _applyDecs$e[8];
|
|
1352
1379
|
_init_screenCaptureSources = _applyDecs$e[9];
|
|
1353
1380
|
_init_hasScreenCapturePermission = _applyDecs$e[10];
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1381
|
+
_init_currentShareAudioProcessingChannel = _applyDecs$e[11];
|
|
1382
|
+
_init_currentShareId = _applyDecs$e[12];
|
|
1383
|
+
_init_sharerId = _applyDecs$e[13];
|
|
1384
|
+
_init_currentShareType = _applyDecs$e[14];
|
|
1385
|
+
_init_currentSelection = _applyDecs$e[15];
|
|
1386
|
+
_init_currentSelectionType = _applyDecs$e[16];
|
|
1387
|
+
_init_currentSelectionBounds = _applyDecs$e[17];
|
|
1361
1388
|
_init_shareWithAudio = _applyDecs$e[18];
|
|
1362
1389
|
_init_boardOwnerUser = _applyDecs$e[19];
|
|
1363
1390
|
_init_localUser = _applyDecs$e[20];
|