fcr-ui-scene-mobile 3.4.0
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/assets/ground_glass_bg.png +0 -0
- package/lib/base.d.ts +11 -0
- package/lib/base.js +39 -0
- package/lib/common/device-store.d.ts +86 -0
- package/lib/common/device-store.js +642 -0
- package/lib/common/device-stream-store.d.ts +26 -0
- package/lib/common/device-stream-store.js +298 -0
- package/lib/common/event-store.d.ts +124 -0
- package/lib/common/event-store.js +249 -0
- package/lib/common/global-context.d.ts +11 -0
- package/lib/common/global-context.js +9 -0
- package/lib/common/member-list-data-source.d.ts +28 -0
- package/lib/common/member-list-data-source.js +305 -0
- package/lib/common/participant-store.d.ts +195 -0
- package/lib/common/participant-store.js +1577 -0
- package/lib/common/security-store.d.ts +119 -0
- package/lib/common/security-store.js +948 -0
- package/lib/common/setting-store.d.ts +181 -0
- package/lib/common/setting-store.js +797 -0
- package/lib/common/type.d.ts +73 -0
- package/lib/common/type.js +22 -0
- package/lib/config/default-config.d.ts +32 -0
- package/lib/config/default-config.js +39 -0
- package/lib/config/setting-config.d.ts +16 -0
- package/lib/config/setting-config.js +17 -0
- package/lib/creator.d.ts +10 -0
- package/lib/creator.js +49 -0
- package/lib/global.d.ts +8 -0
- package/lib/hooks/meeting-time.d.ts +15 -0
- package/lib/hooks/meeting-time.js +92 -0
- package/lib/hooks/useIsNodePresent.d.ts +4 -0
- package/lib/hooks/useIsNodePresent.js +53 -0
- package/lib/hooks/useOnRefMount.d.ts +2 -0
- package/lib/hooks/useOnRefMount.js +27 -0
- package/lib/index.d.ts +6 -0
- package/lib/index.js +50 -0
- package/lib/mobile-global.css +28 -0
- package/lib/modules/action-bar/bottom-icons.d.ts +17 -0
- package/lib/modules/action-bar/bottom-icons.js +160 -0
- package/lib/modules/action-bar/context.d.ts +2 -0
- package/lib/modules/action-bar/context.js +9 -0
- package/lib/modules/action-bar/index.css +33 -0
- package/lib/modules/action-bar/index.d.ts +27 -0
- package/lib/modules/action-bar/index.js +46 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.css +130 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.d.ts +19 -0
- package/lib/modules/action-bar/member-list-popup/attendee/index.js +252 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.d.ts +1 -0
- package/lib/modules/action-bar/member-list-popup/attendee/list.js +82 -0
- package/lib/modules/action-bar/member-list-popup/index.css +35 -0
- package/lib/modules/action-bar/member-list-popup/index.d.ts +7 -0
- package/lib/modules/action-bar/member-list-popup/index.js +40 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.css +0 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.d.ts +12 -0
- package/lib/modules/action-bar/member-list-popup/participant-more-actions/index.js +58 -0
- package/lib/modules/action-bar/more-popup/index.css +71 -0
- package/lib/modules/action-bar/more-popup/index.d.ts +2 -0
- package/lib/modules/action-bar/more-popup/index.js +126 -0
- package/lib/modules/action-bar/store.d.ts +196 -0
- package/lib/modules/action-bar/store.js +1425 -0
- package/lib/modules/action-bar/type.d.ts +6 -0
- package/lib/modules/action-bar/type.js +13 -0
- package/lib/modules/action-bar/view.d.ts +2 -0
- package/lib/modules/action-bar/view.js +75 -0
- package/lib/modules/audio-stream/ index.d.ts +19 -0
- package/lib/modules/audio-stream/ index.js +109 -0
- package/lib/modules/audio-stream/index.d.ts +25 -0
- package/lib/modules/audio-stream/index.js +135 -0
- package/lib/modules/chat/chat-bar/index.css +97 -0
- package/lib/modules/chat/chat-bar/index.d.ts +12 -0
- package/lib/modules/chat/chat-bar/index.js +129 -0
- package/lib/modules/chat/chat-notification/index.css +71 -0
- package/lib/modules/chat/chat-notification/index.d.ts +3 -0
- package/lib/modules/chat/chat-notification/index.js +75 -0
- package/lib/modules/chat/chat-select/index.css +183 -0
- package/lib/modules/chat/chat-select/index.d.ts +12 -0
- package/lib/modules/chat/chat-select/index.js +223 -0
- package/lib/modules/chat/contex.d.ts +2 -0
- package/lib/modules/chat/contex.js +9 -0
- package/lib/modules/chat/demo-wrapper.d.ts +1 -0
- package/lib/modules/chat/demo-wrapper.js +42 -0
- package/lib/modules/chat/index.css +108 -0
- package/lib/modules/chat/index.d.ts +28 -0
- package/lib/modules/chat/index.dev.d.ts +1 -0
- package/lib/modules/chat/index.dev.js +58 -0
- package/lib/modules/chat/index.js +208 -0
- package/lib/modules/chat/message-list.d.ts +22 -0
- package/lib/modules/chat/message-list.js +617 -0
- package/lib/modules/chat/mock.d.ts +2 -0
- package/lib/modules/chat/mock.js +283 -0
- package/lib/modules/chat/store.d.ts +183 -0
- package/lib/modules/chat/store.js +1101 -0
- package/lib/modules/chat/util.d.ts +6 -0
- package/lib/modules/chat/util.js +69 -0
- package/lib/modules/chat/view.d.ts +11 -0
- package/lib/modules/chat/view.js +414 -0
- package/lib/modules/layout/bottom-drawer/index.css +34 -0
- package/lib/modules/layout/bottom-drawer/index.d.ts +3 -0
- package/lib/modules/layout/bottom-drawer/index.js +129 -0
- package/lib/modules/layout/components/Layout.d.ts +1 -0
- package/lib/modules/layout/components/Layout.js +98 -0
- package/lib/modules/layout/components/equip-request-popup/index.css +30 -0
- package/lib/modules/layout/components/equip-request-popup/index.d.ts +3 -0
- package/lib/modules/layout/components/equip-request-popup/index.js +78 -0
- package/lib/modules/layout/components/index.css +78 -0
- package/lib/modules/layout/components/index.d.ts +2 -0
- package/lib/modules/layout/components/index.js +25 -0
- package/lib/modules/layout/context.d.ts +2 -0
- package/lib/modules/layout/context.js +9 -0
- package/lib/modules/layout/drawer-header/index.css +27 -0
- package/lib/modules/layout/drawer-header/index.d.ts +10 -0
- package/lib/modules/layout/drawer-header/index.js +54 -0
- package/lib/modules/layout/index.css +22 -0
- package/lib/modules/layout/index.d.ts +8 -0
- package/lib/modules/layout/index.js +47 -0
- package/lib/modules/layout/store.d.ts +59 -0
- package/lib/modules/layout/store.js +379 -0
- package/lib/modules/layout/type.d.ts +65 -0
- package/lib/modules/layout/type.js +52 -0
- package/lib/modules/layout/view.d.ts +2 -0
- package/lib/modules/layout/view.js +10 -0
- package/lib/modules/member-layout/context.d.ts +2 -0
- package/lib/modules/member-layout/context.js +9 -0
- package/lib/modules/member-layout/data.d.ts +2 -0
- package/lib/modules/member-layout/data.js +304 -0
- package/lib/modules/member-layout/grid/index.css +98 -0
- package/lib/modules/member-layout/grid/index.d.ts +21 -0
- package/lib/modules/member-layout/grid/index.js +316 -0
- package/lib/modules/member-layout/index.css +88 -0
- package/lib/modules/member-layout/index.d.ts +8 -0
- package/lib/modules/member-layout/index.js +45 -0
- package/lib/modules/member-layout/share-toast/index.css +30 -0
- package/lib/modules/member-layout/share-toast/index.d.ts +5 -0
- package/lib/modules/member-layout/share-toast/index.js +43 -0
- package/lib/modules/member-layout/speaker/index.css +30 -0
- package/lib/modules/member-layout/speaker/index.d.ts +9 -0
- package/lib/modules/member-layout/speaker/index.js +28 -0
- package/lib/modules/member-layout/store.d.ts +70 -0
- package/lib/modules/member-layout/store.js +479 -0
- package/lib/modules/member-layout/user/index.css +121 -0
- package/lib/modules/member-layout/user/index.d.ts +34 -0
- package/lib/modules/member-layout/user/index.js +355 -0
- package/lib/modules/member-layout/user/types.d.ts +16 -0
- package/lib/modules/member-layout/user/types.js +6 -0
- package/lib/modules/member-layout/view.d.ts +2 -0
- package/lib/modules/member-layout/view.js +225 -0
- package/lib/modules/state-bar/context.d.ts +2 -0
- package/lib/modules/state-bar/context.js +9 -0
- package/lib/modules/state-bar/index.css +79 -0
- package/lib/modules/state-bar/index.d.ts +17 -0
- package/lib/modules/state-bar/index.js +55 -0
- package/lib/modules/state-bar/leaving-room/index.css +14 -0
- package/lib/modules/state-bar/leaving-room/index.d.ts +7 -0
- package/lib/modules/state-bar/leaving-room/index.js +38 -0
- package/lib/modules/state-bar/meeting-detail/index.css +72 -0
- package/lib/modules/state-bar/meeting-detail/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/index.js +59 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.d.ts +4 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/copy.js +81 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.css +92 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/meeting-info/index.js +188 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.css +27 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.d.ts +2 -0
- package/lib/modules/state-bar/meeting-detail/net-quality/index.js +87 -0
- package/lib/modules/state-bar/store.d.ts +76 -0
- package/lib/modules/state-bar/store.js +561 -0
- package/lib/modules/state-bar/view.d.ts +7 -0
- package/lib/modules/state-bar/view.js +215 -0
- package/lib/modules/whiteboard/app.d.ts +2 -0
- package/lib/modules/whiteboard/app.js +41 -0
- package/lib/modules/whiteboard/components/control-bar/index.css +53 -0
- package/lib/modules/whiteboard/components/control-bar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/control-bar/index.js +156 -0
- package/lib/modules/whiteboard/components/control-bar/store.d.ts +35 -0
- package/lib/modules/whiteboard/components/control-bar/store.js +288 -0
- package/lib/modules/whiteboard/components/loading/index.css +76 -0
- package/lib/modules/whiteboard/components/loading/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/loading/index.js +68 -0
- package/lib/modules/whiteboard/components/loading/loading.png +0 -0
- package/lib/modules/whiteboard/components/multi-window/index.css +65 -0
- package/lib/modules/whiteboard/components/multi-window/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/multi-window/index.js +39 -0
- package/lib/modules/whiteboard/components/pagination/index.css +228 -0
- package/lib/modules/whiteboard/components/pagination/index.d.ts +15 -0
- package/lib/modules/whiteboard/components/pagination/index.js +163 -0
- package/lib/modules/whiteboard/components/pagination/store.d.ts +18 -0
- package/lib/modules/whiteboard/components/pagination/store.js +17 -0
- package/lib/modules/whiteboard/components/progress/index.d.ts +5 -0
- package/lib/modules/whiteboard/components/progress/index.js +43 -0
- package/lib/modules/whiteboard/components/progress/style.css +52 -0
- package/lib/modules/whiteboard/components/scene-pagination.d.ts +1 -0
- package/lib/modules/whiteboard/components/scene-pagination.js +30 -0
- package/lib/modules/whiteboard/components/switch-theme/index.css +98 -0
- package/lib/modules/whiteboard/components/switch-theme/index.d.ts +3 -0
- package/lib/modules/whiteboard/components/switch-theme/index.js +89 -0
- package/lib/modules/whiteboard/components/switch-theme/item.d.ts +9 -0
- package/lib/modules/whiteboard/components/switch-theme/item.js +53 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.d.ts +4 -0
- package/lib/modules/whiteboard/components/switch-theme/libs.js +29 -0
- package/lib/modules/whiteboard/components/toolbar/ style.css +588 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/color.js +38 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/panel.js +107 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/components/picker.js +59 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/color-picker/index.js +44 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/eraser-picker.js +89 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/extra-tool-picker.js +63 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/history.js +46 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/fold-icon.js +39 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.d.ts +1 -0
- package/lib/modules/whiteboard/components/toolbar/components/icons/move-icon.js +66 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.d.ts +5 -0
- package/lib/modules/whiteboard/components/toolbar/components/move-handle.js +134 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/pen-picker.js +106 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.d.ts +4 -0
- package/lib/modules/whiteboard/components/toolbar/components/shape-picker.js +168 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.d.ts +14 -0
- package/lib/modules/whiteboard/components/toolbar/hooks/index.js +211 -0
- package/lib/modules/whiteboard/components/toolbar/index.d.ts +2 -0
- package/lib/modules/whiteboard/components/toolbar/index.js +183 -0
- package/lib/modules/whiteboard/components/toolbar/store.d.ts +51 -0
- package/lib/modules/whiteboard/components/toolbar/store.js +248 -0
- package/lib/modules/whiteboard/context.d.ts +69 -0
- package/lib/modules/whiteboard/context.js +36 -0
- package/lib/modules/whiteboard/index.d.ts +119 -0
- package/lib/modules/whiteboard/index.js +1134 -0
- package/lib/modules/whiteboard/style.css +143 -0
- package/lib/modules/whiteboard/type.d.ts +94 -0
- package/lib/modules/whiteboard/type.js +89 -0
- package/lib/modules/whiteboard/utils.d.ts +12 -0
- package/lib/modules/whiteboard/utils.js +36 -0
- package/lib/plugins/css-preset-plugin.d.ts +1 -0
- package/lib/plugins/css-preset-plugin.js +29 -0
- package/lib/plugins/module-dev-plugin.d.ts +12 -0
- package/lib/plugins/module-dev-plugin.js +183 -0
- package/lib/plugins/multi-lang-plugin.d.ts +1 -0
- package/lib/plugins/multi-lang-plugin.js +19 -0
- package/lib/plugins/rtm-plugin.d.ts +1 -0
- package/lib/plugins/rtm-plugin.js +5 -0
- package/lib/plugins/web-rtc-plugin.d.ts +1 -0
- package/lib/plugins/web-rtc-plugin.js +5 -0
- package/lib/translations/enUS.d.ts +1855 -0
- package/lib/translations/enUS.js +1895 -0
- package/lib/translations/zhCN.d.ts +1852 -0
- package/lib/translations/zhCN.js +1892 -0
- package/lib/type.d.ts +121 -0
- package/lib/type.js +46 -0
- package/lib/ui-manager.d.ts +32 -0
- package/lib/ui-manager.js +426 -0
- package/lib/ui-scene.d.ts +14 -0
- package/lib/ui-scene.js +141 -0
- package/lib/utilities/board-context.d.ts +4 -0
- package/lib/utilities/board-context.js +12 -0
- package/lib/utilities/constant.d.ts +286 -0
- package/lib/utilities/constant.js +271 -0
- package/lib/utilities/copyText.d.ts +2 -0
- package/lib/utilities/copyText.js +43 -0
- package/lib/utilities/extract.d.ts +5 -0
- package/lib/utilities/extract.js +117 -0
- package/lib/utilities/hooks.d.ts +14 -0
- package/lib/utilities/hooks.js +101 -0
- package/lib/utilities/mute-action.d.ts +4 -0
- package/lib/utilities/mute-action.js +48 -0
- package/lib/utilities/parameters.d.ts +7 -0
- package/lib/utilities/parameters.js +20 -0
- package/lib/utilities/regex.d.ts +1 -0
- package/lib/utilities/regex.js +14 -0
- package/lib/utilities/tools.d.ts +27 -0
- package/lib/utilities/tools.js +169 -0
- package/lib/utilities/useNamespace.d.ts +15 -0
- package/lib/utilities/useNamespace.js +66 -0
- package/package.json +63 -0
package/lib/ui-scene.js
ADDED
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.symbol.js");
|
|
4
|
+
require("core-js/modules/es.array.filter.js");
|
|
5
|
+
require("core-js/modules/es.array.for-each.js");
|
|
6
|
+
require("core-js/modules/es.array.push.js");
|
|
7
|
+
require("core-js/modules/es.object.define-properties.js");
|
|
8
|
+
require("core-js/modules/es.object.define-property.js");
|
|
9
|
+
require("core-js/modules/es.object.get-own-property-descriptor.js");
|
|
10
|
+
require("core-js/modules/es.object.get-own-property-descriptors.js");
|
|
11
|
+
require("core-js/modules/es.object.keys.js");
|
|
12
|
+
require("core-js/modules/es.object.to-string.js");
|
|
13
|
+
require("core-js/modules/esnext.async-iterator.filter.js");
|
|
14
|
+
require("core-js/modules/esnext.async-iterator.for-each.js");
|
|
15
|
+
require("core-js/modules/esnext.iterator.constructor.js");
|
|
16
|
+
require("core-js/modules/esnext.iterator.filter.js");
|
|
17
|
+
require("core-js/modules/esnext.iterator.for-each.js");
|
|
18
|
+
require("core-js/modules/web.dom-collections.for-each.js");
|
|
19
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
20
|
+
Object.defineProperty(exports, "__esModule", {
|
|
21
|
+
value: true
|
|
22
|
+
});
|
|
23
|
+
exports.FcrUIDefaultScene = void 0;
|
|
24
|
+
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
25
|
+
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
26
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
27
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
28
|
+
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
29
|
+
var _fcrCore = require("fcr-core");
|
|
30
|
+
var _observable = require("agora-foundation/lib/utilities/observable");
|
|
31
|
+
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
32
|
+
var _uiManager = require("./ui-manager");
|
|
33
|
+
var _defaultConfig = require("./config/default-config");
|
|
34
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
35
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
36
|
+
var FcrUIDefaultScene = exports.FcrUIDefaultScene = /*#__PURE__*/function () {
|
|
37
|
+
function FcrUIDefaultScene(_config, _creatorConfig, _dom) {
|
|
38
|
+
var _this = this;
|
|
39
|
+
(0, _classCallCheck2["default"])(this, FcrUIDefaultScene);
|
|
40
|
+
// @internal
|
|
41
|
+
//@internal
|
|
42
|
+
// @internal
|
|
43
|
+
(0, _defineProperty2["default"])(this, "_observable", new _observable.AgoraObservable());
|
|
44
|
+
this._config = _config;
|
|
45
|
+
this._creatorConfig = _creatorConfig;
|
|
46
|
+
this._dom = _dom;
|
|
47
|
+
this._observable.addObserver({
|
|
48
|
+
onLaunchFailure: function onLaunchFailure() {
|
|
49
|
+
_this._release();
|
|
50
|
+
},
|
|
51
|
+
onExited: function onExited(_roomId, _reason, roomControl) {
|
|
52
|
+
_this._roomControl = roomControl;
|
|
53
|
+
_this._release();
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
var language = (0, _i18n.getLanguage)();
|
|
57
|
+
(0, _i18n.changeLanguage)(language);
|
|
58
|
+
}
|
|
59
|
+
return (0, _createClass2["default"])(FcrUIDefaultScene, [{
|
|
60
|
+
key: "exit",
|
|
61
|
+
value: function exit() {
|
|
62
|
+
this._release();
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
key: "addObserver",
|
|
66
|
+
value: function addObserver(observer) {
|
|
67
|
+
this._observable.addObserver(observer);
|
|
68
|
+
}
|
|
69
|
+
}, {
|
|
70
|
+
key: "removeObserver",
|
|
71
|
+
value: function removeObserver(observer) {
|
|
72
|
+
this._observable.removeObserver(observer);
|
|
73
|
+
}
|
|
74
|
+
}, {
|
|
75
|
+
key: "launch",
|
|
76
|
+
value: function () {
|
|
77
|
+
var _launch = (0, _asyncToGenerator2["default"])(/*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
78
|
+
var config, engine, uiManager;
|
|
79
|
+
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
80
|
+
while (1) switch (_context.prev = _context.next) {
|
|
81
|
+
case 0:
|
|
82
|
+
config = _objectSpread(_objectSpread(_objectSpread({}, this._config), this._creatorConfig), {}, {
|
|
83
|
+
token: this._config.roomToken,
|
|
84
|
+
region: _fcrCore.FcrRegion.CN,
|
|
85
|
+
dualCameraVideoStreamConfig: {
|
|
86
|
+
highVideoEncoderConfig: _defaultConfig.cameraVideoHighStreamEncoderLowConfig,
|
|
87
|
+
lowVideoEncoderConfig: _defaultConfig.cameraVideoLowStreamEncoderConfig,
|
|
88
|
+
enableDualStreamMode: true
|
|
89
|
+
},
|
|
90
|
+
dualScreenVideoStreamConfig: {
|
|
91
|
+
highVideoEncoderConfig: _defaultConfig.screenCaptureHighStreamEncoderConfig,
|
|
92
|
+
lowVideoEncoderConfig: _defaultConfig.screenCaptureLowStreamEncoderConfig,
|
|
93
|
+
enableDualStreamMode: false
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
engine = new _fcrCore.FcrCoreEngine(config); // @ts-ignore
|
|
97
|
+
window.__core_engine = engine;
|
|
98
|
+
this._engine = engine;
|
|
99
|
+
if (config.parameters) {
|
|
100
|
+
engine.setParameters(config.parameters);
|
|
101
|
+
}
|
|
102
|
+
uiManager = new _uiManager.DefaultSceneUIManager(this._config, engine, this._observable);
|
|
103
|
+
this._uiManager = uiManager;
|
|
104
|
+
this._setMobileScopeClass();
|
|
105
|
+
uiManager.render(this._dom);
|
|
106
|
+
case 9:
|
|
107
|
+
case "end":
|
|
108
|
+
return _context.stop();
|
|
109
|
+
}
|
|
110
|
+
}, _callee, this);
|
|
111
|
+
}));
|
|
112
|
+
function launch() {
|
|
113
|
+
return _launch.apply(this, arguments);
|
|
114
|
+
}
|
|
115
|
+
return launch;
|
|
116
|
+
}()
|
|
117
|
+
}, {
|
|
118
|
+
key: "_setMobileScopeClass",
|
|
119
|
+
value: function _setMobileScopeClass() {
|
|
120
|
+
var _bodyEl$;
|
|
121
|
+
var bodyEl = document.getElementsByTagName('body');
|
|
122
|
+
(_bodyEl$ = bodyEl[0]) === null || _bodyEl$ === void 0 || _bodyEl$.classList.add('fcr-mobile-scope');
|
|
123
|
+
}
|
|
124
|
+
}, {
|
|
125
|
+
key: "_release",
|
|
126
|
+
value: function _release() {
|
|
127
|
+
var _this$_uiManager, _this$_engine, _this$_engine2;
|
|
128
|
+
if (this._roomControl) {
|
|
129
|
+
this._roomControl.leave();
|
|
130
|
+
// @ts-ignore
|
|
131
|
+
window.__mainRoom_control = null;
|
|
132
|
+
this._roomControl = undefined;
|
|
133
|
+
}
|
|
134
|
+
(_this$_uiManager = this._uiManager) === null || _this$_uiManager === void 0 || _this$_uiManager.destroy();
|
|
135
|
+
(_this$_engine = this._engine) === null || _this$_engine === void 0 || _this$_engine.logout();
|
|
136
|
+
(_this$_engine2 = this._engine) === null || _this$_engine2 === void 0 || _this$_engine2.release();
|
|
137
|
+
this._uiManager = undefined;
|
|
138
|
+
this._engine = undefined;
|
|
139
|
+
}
|
|
140
|
+
}]);
|
|
141
|
+
}();
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
require("core-js/modules/es.object.define-property.js");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports["default"] = void 0;
|
|
8
|
+
var _react = require("react");
|
|
9
|
+
var BoardContext = /*#__PURE__*/(0, _react.createContext)({
|
|
10
|
+
showToolbar: true
|
|
11
|
+
});
|
|
12
|
+
var _default = exports["default"] = BoardContext;
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
export declare enum RendererEventAction {
|
|
2
|
+
/**
|
|
3
|
+
* Indicates that the fragment has been loaded.
|
|
4
|
+
*/
|
|
5
|
+
FRAGMENT_LOADED = "FRAGMENT_LOADED",
|
|
6
|
+
/**
|
|
7
|
+
* Indicates that the fragment has been closed.
|
|
8
|
+
*/
|
|
9
|
+
FRAGMENT_CLOSED = "FRAGMENT_CLOSED",
|
|
10
|
+
/**
|
|
11
|
+
* Indicates to enable sharing
|
|
12
|
+
*/
|
|
13
|
+
START_SHARE_SCREEN = "START_SHARE_SCREEN",
|
|
14
|
+
/**
|
|
15
|
+
* Indicates to stop sharing
|
|
16
|
+
*/
|
|
17
|
+
STOP_SHARE_SCREEN = "STOP_SHARE_SCREEN",
|
|
18
|
+
POWER_MONITOR_LOCK_SCREEN = "POWER_MONITOR_LOCK_SCREEN",
|
|
19
|
+
POWER_MONITOR_SUSPEND = "POWER_MONITOR_SUSPEND",
|
|
20
|
+
POWER_MONITOR_RESUME = "POWER_MONITOR_RESUME",
|
|
21
|
+
POWER_MONITOR_UNLOCK_SCREEN = "POWER_MONITOR_UNLOCK_SCREEN",
|
|
22
|
+
/**
|
|
23
|
+
* Indicates to initiate a new screen sharing.
|
|
24
|
+
*/
|
|
25
|
+
START_NEW_SHARE_SCREEN = "START_NEW_SHARE_SCREEN",
|
|
26
|
+
/**
|
|
27
|
+
* Indicates that the selection of shared screen data Will be initialized
|
|
28
|
+
*/
|
|
29
|
+
INIT_SHARE_SCREEN_SELECTION = "INIT_SHARE_SCREEN_SELECTION",
|
|
30
|
+
CLOSE_SHARE_SCREEN_SELECTION = "CLOSE_SHARE_SCREEN_SELECTION",
|
|
31
|
+
MOVE_SHARE_SCREEN_SELECTION_TO_TOP = "MOVE_SHARE_SCREEN_SELECTION_TO_TOP",
|
|
32
|
+
/**
|
|
33
|
+
* Indicates that the control bar will be initialized
|
|
34
|
+
*/
|
|
35
|
+
INIT_CONTROL_BAR = "INIT_CONTROL_BAR",
|
|
36
|
+
OPEN_CONTROL_BAR = "OPEN_CONTROL_BAR",
|
|
37
|
+
CLOSE_CONTROL_BAR = "CLOSE_CONTROL_BAR",
|
|
38
|
+
INIT_TOOLBAR = "INIT_TOOLBAR",
|
|
39
|
+
UPDATE_TOOLBAR = "UPDATE_TOOLBAR",
|
|
40
|
+
CHOOSE_NEW_CONTENT_TO_SHARE = "CHOOSE_NEW_CONTENT_TO_SHARE",
|
|
41
|
+
PARTICIPANT_ACTION = "PARTICIPANT_ACTION",
|
|
42
|
+
CLOSE_PARTICIPANTS_WINDOW = "CLOSE_PARTICIPANTS_WINDOW",
|
|
43
|
+
ROOM_CONTROL_ACTION = "ROOM_CONTROL_ACTION",
|
|
44
|
+
INIT_PARTICIPANT_LIST = "INIT_PARTICIPANT_LIST",
|
|
45
|
+
UPDATE_PARTICIPANT = "UPDATE_PARTICIPANT",
|
|
46
|
+
OPEN_AUDIO_SETTING = "OPEN_AUDIO_SETTING",
|
|
47
|
+
OPEN_VIDEO_SETTING = "OPEN_VIDEO_SETTING",
|
|
48
|
+
OPEN_VIRTUAL_BACKGROUND = "OPEN_VIRTUAL_BACKGROUND",
|
|
49
|
+
OPEN_VIDEO_FILTER = "OPEN_VIDEO_FILTER",
|
|
50
|
+
SET_MICROPHONE_DEVICE = "SET_MICROPHONE_DEVICE",
|
|
51
|
+
SET_CAMERA_DEVICE = "SET_CAMERA_DEVICE",
|
|
52
|
+
SET_SPEAKER_DEVICE = "SET_SPEAKER_DEVICE",
|
|
53
|
+
MUTE_LOCAL_AUDIO = "MUTE_LOCAL_AUDIO",
|
|
54
|
+
UNMUTE_LOCAL_AUDIO = "UNMUTE_LOCAL_AUDIO",
|
|
55
|
+
MUTE_LOCAL_VIDEO = "MUTE_LOCAL_VIDEO",
|
|
56
|
+
UNMUTE_LOCAL_VIDEO = "UNMUTE_LOCAL_VIDEO",
|
|
57
|
+
UPDATE_MICROPHONE_LIST = "UPDATE_MICROPHONE_LIST",
|
|
58
|
+
UPDATE_CAMERA_LIST = "UPDATE_CAMERA_LIST",
|
|
59
|
+
UPDATE_SPEAKER_LIST = "UPDATE_SPEAKER_LIST",
|
|
60
|
+
MAIN_SET_LOCK_ROOM = "MAIN_SET_LOCK_ROOM",
|
|
61
|
+
MAIN_SET_ENABLE_WAITING_ROOM = "MAIN_SET_ENABLE_WAITING_ROOM",
|
|
62
|
+
MAIN_SET_ALLOW_CHANGE_SELF_NAME = "MAIN_SET_ALLOW_CHANGE_SELF_NAME",
|
|
63
|
+
MAIN_SET_ALLOW_CHAT = "MAIN_SET_ALLOW_CHAT",
|
|
64
|
+
MAIN_SET_ALLOW_JOIN_WITH_MUTE_AUDIO = "MAIN_SET_ALLOW_JOIN_WITH_MUTE_AUDIO",
|
|
65
|
+
MAIN_SET_ALLOW_SHARE_SCREEN = "MAIN_SET_ALLOW_SHARE_SCREEN",
|
|
66
|
+
MAIN_SET_ALLOW_UNMUTE_SELF_VIDEO = "MAIN_SET_ALLOW_UNMUTE_SELF_VIDEO",
|
|
67
|
+
MAIN_SET_ALLOW_UNMUTE_SELF_AUDIO = "MAIN_SET_ALLOW_UNMUTE_SELF_AUDIO",
|
|
68
|
+
MAIN_SET_ALLOW_CLOUD_RECORDING_START = "MAIN_SET_ALLOW_CLOUD_RECORDING_START",
|
|
69
|
+
MAIN_SET_ALLOW_BOARD_WRITE = "MAIN_SET_ALLOW_BOARD_WRITE",
|
|
70
|
+
FRAGMENT_SET_LOCK_ROOM = "FRAGMENT_SET_LOCK_ROOM",
|
|
71
|
+
FRAGMENT_SET_ENABLE_WAITING_ROOM = "FRAGMENT_SET_ENABLE_WAITING_ROOM",
|
|
72
|
+
FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME = "FRAGMENT_SET_ALLOW_CHANGE_SELF_NAME",
|
|
73
|
+
FRAGMENT_SET_ALLOW_CHAT = "FRAGMENT_SET_ALLOW_CHAT",
|
|
74
|
+
FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO = "FRAGMENT_SET_ALLOW_JOIN_WITH_MUTE_AUDIO",
|
|
75
|
+
FRAGMENT_SET_ALLOW_SHARE_SCREEN = "FRAGMENT_SET_ALLOW_SHARE_SCREEN",
|
|
76
|
+
FRAGMENT_SET_ALLOW_BOARD_WRITE = "FRAGMENT_SET_ALLOW_BOARD_WRITE",
|
|
77
|
+
FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO = "FRAGMENT_SET_ALLOW_UNMUTE_SELF_VIDEO",
|
|
78
|
+
FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO = "FRAGMENT_SET_ALLOW_UNMUTE_SELF_AUDIO",
|
|
79
|
+
START_SCREEN_SHARE_PERMISSION = "START_SCREEN_SHARE_PERMISSION",
|
|
80
|
+
ALLOW_SEND_ALL_PERMISSION = "ALLOW_SEND_ALL_PERMISSION",
|
|
81
|
+
START_AUDIO_PERMISSION = "START_AUDIO_PERMISSION",
|
|
82
|
+
CHANGE_NAME_PERMISSION = "CHANGE_NAME_PERMISSION",
|
|
83
|
+
START_VIDEO_PERMISSION = "START_VIDEO_PERMISSION",
|
|
84
|
+
LOCK_ROOM_PERMISSION = "LOCK_ROOM_PERMISSION",
|
|
85
|
+
OPEN_CHAT = "OPEN_CHAT",
|
|
86
|
+
OPEN_SETTING = "OPEN_SETTING",
|
|
87
|
+
LEAVE_ROOM = "LEAVE_ROOM",
|
|
88
|
+
END_ROOM = "END_ROOM",
|
|
89
|
+
OPEN_PARTICIPANTS = "OPEN_PARTICIPANTS",
|
|
90
|
+
/**
|
|
91
|
+
* Indicates that new message has been received.
|
|
92
|
+
*/
|
|
93
|
+
NEW_MESSAGE = "NEW_MESSAGE",
|
|
94
|
+
SET_CONTROL_BAR_LOCAL_AUDIO_STATE = "SET_CONTROL_BAR_LOCAL_AUDIO_STATE",
|
|
95
|
+
SET_CONTROL_BAR_LOCAL_VIDEO_STATE = "SET_CONTROL_BAR_LOCAL_VIDEO_STATE",
|
|
96
|
+
SET_CONTROL_BAR_LOCAL_AUDIO_VOLUME = "SET_CONTROL_BAR_LOCAL_AUDIO_VOLUME",
|
|
97
|
+
SET_CONTROL_BAR_CONNECT_TYPE = "SET_CONTROL_BAR_CONNECT_TYPE",
|
|
98
|
+
SET_CONTROL_BAR_PHONECALL_STATE = "SET_CONTROL_BAR_PHONECALL_STATE",
|
|
99
|
+
START_LIVE_STREAMING = "START_LIVE_STREAMING",
|
|
100
|
+
STOP_LIVE_STREAMING = "STOP_LIVE_STREAMING",
|
|
101
|
+
INIT_LIVE_STREAMING = "INIT_LIVE_STREAMING",
|
|
102
|
+
SET_LIVE_STREAMING_STATE = "SET_LIVE_STREAMING_STATE",
|
|
103
|
+
LIVE_STREAMING_ERROR_STATE = "LIVE_STREAMING_ERROR_STATE",
|
|
104
|
+
OPEN_LIVE_STEAMING_DIALOG = "OPEN_LIVE_STEAMING_DIALOG",
|
|
105
|
+
DISPLAY_METRICS_CHANGED = "DISPLAY_METRICS_CHANGED",
|
|
106
|
+
CHANGE_LIVE_STREAMING_STATE = "CHANGE_LIVE_STREAMING_STATE",
|
|
107
|
+
CHANGE_LIVE_STREAMING_INFO = "CHANGE_LIVE_STREAMING_INFO",
|
|
108
|
+
CLOUD_RECORDING_STATE_CHANGED = "CLOUD_RECORDING_STATE_CHANGED",
|
|
109
|
+
CLOUD_RECORDING_START = "CLOUD_RECORDING_START",
|
|
110
|
+
CLOUD_RECORDING_PAUSE = "CLOUD_RECORDING_PAUSE",
|
|
111
|
+
CLOUD_RECORDING_RESUME = "CLOUD_RECORDING_RESUME",
|
|
112
|
+
CLOUD_RECORDING_STOP = "CLOUD_RECORDING_STOP",
|
|
113
|
+
USER_ROLE_CHANGED = "USER_ROLE_CHANGED",
|
|
114
|
+
MOVE_LIVE_STREAMING_TO_TOP = "MOVE_LIVE_STREAMING_TO_TOP",
|
|
115
|
+
MAIN_SET_ALLOW_LIVE_STREAMING_START = "MAIN_SET_ALLOW_LIVE_STREAMING_START",
|
|
116
|
+
MAIN_SET_ALLOW_LIVE_STREAMING_STOP = "MAIN_SET_ALLOW_LIVE_STREAMING_STOP",
|
|
117
|
+
MAIN_SET_ALLOW_GET_LIVE_STREAMING_LINK = "MAIN_SET_ALLOW_GET_LIVE_STREAMING_LINK",
|
|
118
|
+
CLOSE_LIVE_STREAMING = "CLOSE_LIVE_STREAMING",
|
|
119
|
+
SHOW_TOAST = "SHOW_TOAST",
|
|
120
|
+
SET_CONTROL_BAR_WINDOW_ID = "SET_CONTROL_BAR_WINDOW_ID",
|
|
121
|
+
SET_ALLOW_SHARE_SCREEN_AND_BOARD = "SET_ALLOW_SHARE_SCREEN_AND_BOARD",
|
|
122
|
+
SET_ALLOW_WRITE_BOARD = "SET_ALLOW_WRITE_BOARD",
|
|
123
|
+
GET_OWNER_USER = "GET_OWNER_USER",
|
|
124
|
+
GET_LOCAL_USER = "GET_LOCAL_USER",
|
|
125
|
+
SET_OWNER_USER = "SET_OWNER_USER",
|
|
126
|
+
SET_LOCAL_USER = "SET_LOCAL_USER",
|
|
127
|
+
STOP_BOARD_SHARE = "STOP_BOARD_SHARE",
|
|
128
|
+
SET_SHARE_WITH_AUDIO = "SET_SHARE_WITH_AUDIO",
|
|
129
|
+
/**
|
|
130
|
+
* Window is hidden by invoking window.hide()
|
|
131
|
+
*/
|
|
132
|
+
CALL_HIDE = "CALL_HIDE",
|
|
133
|
+
/**
|
|
134
|
+
* Window is shown by invoking window.show()
|
|
135
|
+
*/
|
|
136
|
+
CALL_SHOW = "CALL_SHOW",
|
|
137
|
+
SET_SHARE_WITH_AUDIO_CONTROL_BAR = "SET_SHARE_WITH_AUDIO_CONTROL_BAR",
|
|
138
|
+
SET_REMOTE_USERS = "SET_REMOTE_USERS",
|
|
139
|
+
SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION = "SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION",
|
|
140
|
+
SET_IS_PSTN_USER = "SET_IS_PSTN_USER",
|
|
141
|
+
SET_IS_LOCKED = "SET_IS_LOCKED",
|
|
142
|
+
SET_HAS_END_ROOM_PERMISSION = "SET_HAS_END_ROOM_PERMISSION",
|
|
143
|
+
KEEP_PHONE_AUDIO_CONNECTION = "KEEP_PHONE_AUDIO_CONNECTION",
|
|
144
|
+
REISSUE_CONTROLBAR_INFO = "REISSUE_CONTROLBAR_INFO",
|
|
145
|
+
ASSIGN_HOST = "ASSIGN_HOST",
|
|
146
|
+
CALL_CLOSE_MAIN_WINDOW = "CALL_CLOSE_MAIN_WINDOW"
|
|
147
|
+
}
|
|
148
|
+
export declare enum ParticipantType {
|
|
149
|
+
MUTE_AUDIO = "MUTE_AUDIO",
|
|
150
|
+
UNMUTE_AUDIO = "UNMUTE_AUDIO",
|
|
151
|
+
MUTE_VIDEO = "MUTE_VIDEO",
|
|
152
|
+
UNMUTE_VIDEO = "UNMUTE_VIDEO",
|
|
153
|
+
PRIVATE_CHAT = "PRIVATE_CHAT",
|
|
154
|
+
KICK_OUT = "KICK_OUT",
|
|
155
|
+
ADD_PIN = "ADD_PIN",
|
|
156
|
+
REMOVE_PIN = "REMOVE_PIN",
|
|
157
|
+
SET_AS_HOST = "SET_AS_HOST",
|
|
158
|
+
SET_AS_CO_HOST = "SET_AS_CO_HOST",
|
|
159
|
+
SET_AS_ATTENDEE = "SET_AS_ATTENDEE",
|
|
160
|
+
RENAME = "RENAME",
|
|
161
|
+
ALL_RECORDING_LOCAL_VIDEO = "ALL_RECORDING_LOCAL_VIDEO",
|
|
162
|
+
PUT_IN_WAITING_ROOM = "PUT_IN_WAITING_ROOM",
|
|
163
|
+
STOP_RAISE_HAND = "STOP_RAISE_HAND",
|
|
164
|
+
SET_MAIN_SPEAKER = "SET_MAIN_SPEAKER",
|
|
165
|
+
MERGE_VIDEO = "MERGE_VIDEO",
|
|
166
|
+
REMOVE_WAITING_ROOM = "REMOVE_WAITING_ROOM"
|
|
167
|
+
}
|
|
168
|
+
export declare enum VideoWindowPinType {
|
|
169
|
+
REMOVE_PIN = "REMOVE_PIN",
|
|
170
|
+
ADD_PIN = "ADD_PIN",
|
|
171
|
+
REPLACE_PIN = "REPLACE_PIN"
|
|
172
|
+
}
|
|
173
|
+
export declare enum RoomControlType {
|
|
174
|
+
MUTE_ALL_AUDIO = "MUTE_ALL_AUDIO",
|
|
175
|
+
UNMUTE_ALL_AUDIO = "UNMUTE_ALL_AUDIO",
|
|
176
|
+
ALLOW_ATTENDEE_TO_UNMUTE = "ALLOW_ATTENDEE_TO_UNMUTE",
|
|
177
|
+
ALLOW_ATTENDEE_TO_OPEN_CAMERA = "ALLOW_ATTENDEE_TO_OPEN_CAMERA",
|
|
178
|
+
REVOKE_HOST = "REVOKE_HOST",
|
|
179
|
+
PLAY_JOIN_LEAVE_SOUND = "PLAY_JOIN_LEAVE_SOUND",
|
|
180
|
+
LOCK_ROOM = "LOCK_ROOM",
|
|
181
|
+
ENABLE_WAITING_ROOM = "ENABLE_WAITING_ROOM",
|
|
182
|
+
RENAME = "RENAME",
|
|
183
|
+
JOIN_WITH_MUTE_AUDIO = "JOIN_WITH_MUTE_AUDIO"
|
|
184
|
+
}
|
|
185
|
+
export declare enum UIAction {
|
|
186
|
+
OPEN_DIALOG = 0,
|
|
187
|
+
CLOSE_DIALOG = 1,
|
|
188
|
+
SHOW_TOAST = 2,
|
|
189
|
+
UPDATE_ASIDE = 3,
|
|
190
|
+
UPDATE_SHARE_STATE = 4,
|
|
191
|
+
RECEIVE_NEW_CHAT_MESSAGES = 5,
|
|
192
|
+
START_SHARE_SCREEN = 6,
|
|
193
|
+
STOP_SHARE_SCREEN = 7,
|
|
194
|
+
TOGGLE_LAYOUT = 8,
|
|
195
|
+
TOGGLE_LAYOUT_SIZE = 9,
|
|
196
|
+
LAYOUT_CHANGED = 10,
|
|
197
|
+
LAYOUT_SIZE_CHANGED = 11,
|
|
198
|
+
SET_MAIN_SPEAKER = 12,
|
|
199
|
+
OPEN_DEVICE_SETTING = 13,
|
|
200
|
+
OPEN_DEVICE_SETTING_DIALOG = 14,
|
|
201
|
+
EXIT_ROOM = 15,
|
|
202
|
+
PARTICIPANT_ACTION = 16,
|
|
203
|
+
CHAT_UPDATE_TARGET = 17,
|
|
204
|
+
CHAT_RESET_TARGET = 18,
|
|
205
|
+
OPEN_LIVE_STEAMING_DIALOG = 19,
|
|
206
|
+
CLOSE_LIVE_STEAMING_DIALOG = 20,
|
|
207
|
+
STOP_LIVE_STREAMING = 21,
|
|
208
|
+
CLOUD_RECORDING = 22,
|
|
209
|
+
TOGGLE_LAYOUT_BAR_LOCK = 23,
|
|
210
|
+
TOGGLE_LAYOUT_ACTIONBAR_HIDDEN = 24,
|
|
211
|
+
SET_WINDOW_BOUNDS = 25,
|
|
212
|
+
OPEN_CONNECTION_DIALOG = 26,
|
|
213
|
+
CLOSE_CONNECTION_DIALOG = 27,
|
|
214
|
+
CONNECT_AUDIO = 28,
|
|
215
|
+
OPEN_INVITE_DIALOG = 29,
|
|
216
|
+
CLOSE_INVITE_DIALOG = 30,
|
|
217
|
+
ASIDE_WIDTH_CHANGED = 31,
|
|
218
|
+
VIDEO_WINDOW_BOUNDS = 32,
|
|
219
|
+
VIDEO_WINDOW_RESIZE = 33,
|
|
220
|
+
FOLD_LIST_CHANGED = 34,
|
|
221
|
+
MAIN_LIST_CHANGED = 35,
|
|
222
|
+
MAIN_LIST_LENGTH_CHANGED = 36,
|
|
223
|
+
OPEN_WHITEBOARD = 37,
|
|
224
|
+
CLOSE_WHITEBOARD = 38,
|
|
225
|
+
WHITEBOARD_CHANGED = 39,
|
|
226
|
+
SET_USER_PIN_STATE = 40,
|
|
227
|
+
VIDEO_WINDOW_PIN_ACTION = 41,
|
|
228
|
+
SPOTLIGHT_STREAM_CHANGED = 42,
|
|
229
|
+
CUSTOM_SETTINGS_CHANGED = 43,
|
|
230
|
+
CAROUSEL_COLLAPSED = 44,
|
|
231
|
+
STOP_SCREEN_CAPTURE = 45,
|
|
232
|
+
ENGINE_RECONNECTED = 46,
|
|
233
|
+
SET_CURRENT_SHARE_SCREEN = 47,
|
|
234
|
+
WAITING_ROOM_CREATED = 48,
|
|
235
|
+
TOGGLE_PARTICIPANT_TAB = 49,
|
|
236
|
+
CURRENT_PARTITIPANT_TAB = 50,
|
|
237
|
+
RECEIVE_NEW_CHAT_MESSAGES_FOR_RED = 51,
|
|
238
|
+
CHAT_ROOM_CLOSED = 52,
|
|
239
|
+
CHAT_ROOM_TAB_CHANGE = 53,
|
|
240
|
+
CHAT_VISIBLE = 54,
|
|
241
|
+
WAITING_ROOM_DESTROYED = 55,
|
|
242
|
+
MOVE_TO_MAIN_ROOM_ALL_MEMBER = 56,
|
|
243
|
+
CLOSE_WAITING_ROOM_DIALOG = 57,
|
|
244
|
+
SET_REMOTE_USERS = 58,
|
|
245
|
+
SET_HAS_ASSIGN_HOST_BEFORE_LEAVING_PERMISSION = 59,
|
|
246
|
+
SET_IS_PSTN_USER = 60,
|
|
247
|
+
SET_HAS_END_ROOM_PERMISSION = 61,
|
|
248
|
+
WATERMARK_INFO_UPDATE = 62,
|
|
249
|
+
CHANGE_PARTICIPANT_TAB = 63,
|
|
250
|
+
SET_CHAT_SLOT_TYPE = 64,
|
|
251
|
+
REFRESH_WINDOW_DATA_SPOTLIGHT_ENABLED = 65
|
|
252
|
+
}
|
|
253
|
+
export declare enum DialogKey {
|
|
254
|
+
DEVICE_SETTINGS = "device-settings",
|
|
255
|
+
CHAT = "chat",
|
|
256
|
+
PARTICIPANT = "participant",
|
|
257
|
+
CONFIRM = "confirm",
|
|
258
|
+
SHARE_SCREEN = "share-screen-selection",
|
|
259
|
+
CONTROL_BAR = "control-bar",
|
|
260
|
+
LIVE_STREAMING = "live-streaming",
|
|
261
|
+
VIDEO_WINDOW = "video-window",
|
|
262
|
+
CONNECTION_GATEWAY = "connection-gateway",
|
|
263
|
+
INVITE = "invite",
|
|
264
|
+
TOOLBAR = "toolbar",
|
|
265
|
+
WHITEBOARD = "whiteboard",
|
|
266
|
+
PROGRESS_DIALOG = "progress-dialog",
|
|
267
|
+
WAITING_ROOM = "waiting-room"
|
|
268
|
+
}
|
|
269
|
+
export declare enum HighlightElement {
|
|
270
|
+
VIDEO_BASIC = "fcr_VIDEO_BASIC_highlighter",
|
|
271
|
+
VIDEO_MAX_PERSON = "fcr_VIDEO_MAX_PERSON_highlighter",
|
|
272
|
+
AUDIO_SPEAKER = "fcr_AUDIO_SPEAKER_highlighter",
|
|
273
|
+
AUDIO_MICROPHONE = "fcr_AUDIO_MICROPHONE_highlighter",
|
|
274
|
+
AUDIO_NOISE_REDUCE = "fcr_AUDIO_NOISE_REDUCE_highlighter",
|
|
275
|
+
AUDIO_PRO_AUDIO = "fcr_AUDIO_PRO_AUDIO_highlighter",
|
|
276
|
+
CPU_STATE = "fcr_CPU_STATE_highlighter",
|
|
277
|
+
MEMORY_STATE = "fcr_MEMORY_STATE_highlighter",
|
|
278
|
+
NETWORK_STATE = "fcr_NETWORK_STATE_highlighter",
|
|
279
|
+
TRANSLATE_SOURCE = "fcr_TRANSLATE_SOURCE_highlighter",
|
|
280
|
+
TRANSLATE_TARGET = "fcr_TRANSLATE_TARGET_highlighter",
|
|
281
|
+
TRANSLATE_INTERPRETER = "fcr_TRANSLATE_INTERPRETER_highlighter"
|
|
282
|
+
}
|
|
283
|
+
export declare enum RoomType {
|
|
284
|
+
MAIN_ROOM = "MAIN_ROOM",
|
|
285
|
+
WAITING_ROOM = "WAITING_ROOM"
|
|
286
|
+
}
|