fcr-ui-scene 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/base.d.ts +1 -0
- package/lib/common/event-store.d.ts +1 -0
- package/lib/electron/app.d.ts +1 -0
- package/lib/electron/app.js +140 -0
- package/lib/electron/default-options.d.ts +2 -0
- package/lib/electron/default-options.js +25 -0
- package/lib/electron/env.d.ts +5 -0
- package/lib/electron/env.js +13 -0
- package/lib/electron/index.d.ts +2 -0
- package/lib/electron/index.js +20 -0
- package/lib/electron/injections.d.ts +45 -0
- package/lib/electron/injections.js +689 -0
- package/lib/electron/main.d.ts +2 -0
- package/lib/electron/main.js +63 -0
- package/lib/electron/plugins/screenshot.d.ts +2 -0
- package/lib/electron/plugins/screenshot.js +49 -0
- package/lib/electron/preload.js +35 -0
- package/lib/electron/tools.d.ts +5 -0
- package/lib/electron/tools.js +57 -0
- package/lib/electron/window.d.ts +12 -0
- package/lib/electron/window.js +112 -0
- package/lib/fragments/control-bar/index.js +11 -1
- package/lib/fragments/share-screen-selection/selection-store.d.ts +1 -0
- package/lib/modules/action-bar/leave/assign-host.d.ts +1 -0
- package/lib/modules/action-bar/leave/leave-meeting.d.ts +1 -0
- package/lib/modules/action-bar/more/poppover-content.d.ts +1 -0
- package/lib/modules/chat/chat-select/index.d.ts +1 -0
- package/lib/modules/chat/demo-wrapper.d.ts +1 -0
- package/lib/modules/device-pretest/audio-preview/speaker-control.d.ts +1 -0
- package/lib/modules/device-pretest/index.d.ts +1 -0
- package/lib/modules/device-pretest/settings/video-effect.d.ts +1 -0
- package/lib/modules/invite/voip-invite.d.ts +1 -0
- package/lib/modules/layout/components/Aside.d.ts +1 -0
- package/lib/modules/layout/member-window/index.d.ts +1 -0
- package/lib/modules/layout/store.d.ts +1 -0
- package/lib/modules/whiteboard/index.d.ts +1 -0
- package/lib/plugins/browser-runtime-plugin.js +0 -3
- package/lib/runtime.d.ts +86 -0
- package/package.json +4 -3
- package/installer/icons/favicon.ico +0 -0
- package/installer/icons/favicon.png +0 -0
- package/installer/mac/entitlements.mac.plist +0 -16
- package/lib/common/device-streams-store.d.ts +0 -34
- package/lib/common/device-streams-store.js +0 -403
- package/lib/fragments/participant/context.d.ts +0 -3
- package/lib/fragments/participant/context.js +0 -9
- package/lib/fragments/participant/index.css +0 -20
- package/lib/fragments/participant/index.d.ts +0 -9
- package/lib/fragments/participant/index.js +0 -90
- package/lib/fragments/participant/room-control-drop-menu/index.css +0 -19
- package/lib/fragments/participant/room-control-drop-menu/index.d.ts +0 -2
- package/lib/fragments/participant/room-control-drop-menu/index.js +0 -134
- package/lib/fragments/participant/store.d.ts +0 -34
- package/lib/fragments/participant/store.js +0 -326
- package/lib/fragments/participant/view.d.ts +0 -2
- package/lib/fragments/participant/view.js +0 -86
- package/lib/fragments/state-bar/index.d.ts +0 -9
- package/lib/fragments/state-bar/index.js +0 -68
- package/lib/fragments/type.d.ts +0 -2
- package/lib/fragments/type.js +0 -6
- package/lib/modules/connection-gateway/components/computer/menu.d.ts +0 -0
- package/lib/modules/connection-gateway/components/computer/menu.js +0 -1
- package/lib/modules/device-settings/audio-settings/audio-settings.d.ts +0 -4
- package/lib/modules/device-settings/audio-settings/audio-settings.js +0 -297
- package/lib/modules/device-settings/audio-settings/index.css +0 -139
- package/lib/modules/device-settings/audio-settings/microphone-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/microphone-detection.js +0 -68
- package/lib/modules/device-settings/audio-settings/speaker-detection.d.ts +0 -2
- package/lib/modules/device-settings/audio-settings/speaker-detection.js +0 -72
- package/lib/modules/device-settings/common/advance-link.d.ts +0 -3
- package/lib/modules/device-settings/common/advance-link.js +0 -27
- package/lib/modules/device-settings/common/index.css +0 -26
- package/lib/modules/device-settings/common/useNamespace.d.ts +0 -15
- package/lib/modules/device-settings/common/useNamespace.js +0 -66
- package/lib/modules/device-settings/context.d.ts +0 -3
- package/lib/modules/device-settings/context.js +0 -9
- package/lib/modules/device-settings/dialog-wrapper.d.ts +0 -2
- package/lib/modules/device-settings/dialog-wrapper.js +0 -110
- package/lib/modules/device-settings/general-settings/general-settings.d.ts +0 -4
- package/lib/modules/device-settings/general-settings/general-settings.js +0 -66
- package/lib/modules/device-settings/general-settings/index.css +0 -26
- package/lib/modules/device-settings/index.css +0 -109
- package/lib/modules/device-settings/index.d.ts +0 -21
- package/lib/modules/device-settings/index.dev.js +0 -112
- package/lib/modules/device-settings/index.js +0 -84
- package/lib/modules/device-settings/state/index.css +0 -211
- package/lib/modules/device-settings/state/index.d.ts +0 -4
- package/lib/modules/device-settings/state/index.js +0 -330
- package/lib/modules/device-settings/storage-settings/index.css +0 -91
- package/lib/modules/device-settings/storage-settings/storage-settings.d.ts +0 -3
- package/lib/modules/device-settings/storage-settings/storage-settings.js +0 -84
- package/lib/modules/device-settings/store.d.ts +0 -205
- package/lib/modules/device-settings/store.js +0 -1035
- package/lib/modules/device-settings/video-settings/camera-select.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/camera-select.js +0 -51
- package/lib/modules/device-settings/video-settings/index.css +0 -327
- package/lib/modules/device-settings/video-settings/local-video-player.d.ts +0 -3
- package/lib/modules/device-settings/video-settings/local-video-player.js +0 -37
- package/lib/modules/device-settings/video-settings/mirror-toggle.d.ts +0 -2
- package/lib/modules/device-settings/video-settings/mirror-toggle.js +0 -62
- package/lib/modules/device-settings/video-settings/video-settings-basic.d.ts +0 -9
- package/lib/modules/device-settings/video-settings/video-settings-basic.js +0 -177
- package/lib/modules/device-settings/video-settings/video-settings.d.ts +0 -6
- package/lib/modules/device-settings/video-settings/video-settings.js +0 -185
- package/lib/modules/device-settings/view.d.ts +0 -10
- package/lib/modules/device-settings/view.js +0 -193
- package/lib/modules/layout/components/UserWindow.d.ts +0 -8
- package/lib/modules/layout/components/UserWindow.js +0 -513
- package/lib/modules/layout/hooks.d.ts +0 -14
- package/lib/modules/layout/hooks.js +0 -48
- package/lib/modules/share-screen/context.d.ts +0 -3
- package/lib/modules/share-screen/context.js +0 -9
- package/lib/modules/whiteboard/i18n/config.d.ts +0 -1
- package/lib/modules/whiteboard/i18n/config.js +0 -15
- package/lib/modules/whiteboard/i18n/en/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/en/index.js +0 -38
- package/lib/modules/whiteboard/i18n/zh/index.d.ts +0 -32
- package/lib/modules/whiteboard/i18n/zh/index.js +0 -38
- /package/lib/{modules/device-settings/index.dev.d.ts → electron/preload.d.ts} +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
require("core-js/modules/es.object.define-property.js");
|
|
4
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
5
|
-
Object.defineProperty(exports, "__esModule", {
|
|
6
|
-
value: true
|
|
7
|
-
});
|
|
8
|
-
exports["default"] = exports.StorageSettings = void 0;
|
|
9
|
-
var _regenerator = _interopRequireDefault(require("@babel/runtime/regenerator"));
|
|
10
|
-
var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime/helpers/asyncToGenerator"));
|
|
11
|
-
var _i18n = require("agora-ui-foundation/lib/i18n");
|
|
12
|
-
var _mobxReact = require("mobx-react");
|
|
13
|
-
var _useNamespace = require("../common/useNamespace");
|
|
14
|
-
var _react = require("react");
|
|
15
|
-
var _context2 = require("../context");
|
|
16
|
-
require("./index.css");
|
|
17
|
-
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
var StorageSettings = exports.StorageSettings = (0, _mobxReact.observer)(function () {
|
|
19
|
-
var ns = (0, _useNamespace.useNamespace)('device-settings-storage');
|
|
20
|
-
var t = (0, _i18n.useI18n)();
|
|
21
|
-
var _useContext = (0, _react.useContext)(_context2.StoreContext),
|
|
22
|
-
recordingPath = _useContext.setting.recordingPath,
|
|
23
|
-
setSetting = _useContext.setSetting;
|
|
24
|
-
var editRecordingPath = (0, _react.useCallback)( /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
|
|
25
|
-
var path;
|
|
26
|
-
return _regenerator["default"].wrap(function _callee$(_context) {
|
|
27
|
-
while (1) switch (_context.prev = _context.next) {
|
|
28
|
-
case 0:
|
|
29
|
-
_context.next = 2;
|
|
30
|
-
return window.runtime.openDirectory();
|
|
31
|
-
case 2:
|
|
32
|
-
path = _context.sent;
|
|
33
|
-
if (path) {
|
|
34
|
-
setSetting({
|
|
35
|
-
recordingPath: path
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
case 4:
|
|
39
|
-
case "end":
|
|
40
|
-
return _context.stop();
|
|
41
|
-
}
|
|
42
|
-
}, _callee);
|
|
43
|
-
})), [setSetting]);
|
|
44
|
-
var openRecordingPath = (0, _react.useCallback)(function () {
|
|
45
|
-
window.runtime.showItemInFolder(recordingPath);
|
|
46
|
-
}, [recordingPath]);
|
|
47
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
48
|
-
className: ns.b(),
|
|
49
|
-
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
50
|
-
className: ns.e('block'),
|
|
51
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
52
|
-
className: ns.e('title'),
|
|
53
|
-
children: "\u672C\u5730\u5F55\u5236\u4FDD\u5B58\u5728"
|
|
54
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
55
|
-
className: ns.e('row'),
|
|
56
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
57
|
-
className: ns.e('input-wrapper'),
|
|
58
|
-
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
|
|
59
|
-
className: ns.e('input'),
|
|
60
|
-
value: recordingPath,
|
|
61
|
-
placeholder: "\u672A\u8BBE\u7F6E",
|
|
62
|
-
readOnly: true
|
|
63
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
64
|
-
className: ns.e('input-btn'),
|
|
65
|
-
onClick: editRecordingPath,
|
|
66
|
-
children: "\u66F4\u6539"
|
|
67
|
-
})]
|
|
68
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
|
|
69
|
-
className: ns.e('action-btn'),
|
|
70
|
-
disabled: !recordingPath,
|
|
71
|
-
onClick: openRecordingPath,
|
|
72
|
-
children: "\u6253\u5F00"
|
|
73
|
-
})]
|
|
74
|
-
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
|
|
75
|
-
className: ns.e('footer'),
|
|
76
|
-
children: ["\u5269\u4F59 ", /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
77
|
-
className: "highlight",
|
|
78
|
-
children: "16.9"
|
|
79
|
-
}), " GB"]
|
|
80
|
-
})]
|
|
81
|
-
})
|
|
82
|
-
});
|
|
83
|
-
});
|
|
84
|
-
var _default = exports["default"] = StorageSettings;
|
|
@@ -1,205 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { FcrDesktopMediaControl, FcrMainRoomControl, FcrMonitorControl, FcrStreamControl } from 'agora-edu-core';
|
|
3
|
-
import { FcrBeautyOptions } from 'agora-edu-core/lib/media-control/type';
|
|
4
|
-
import { FcrAiDenoiseLevel, FcrPerformanceInfo } from 'agora-edu-core/lib/type';
|
|
5
|
-
import { AgoraRtcNetworkStats } from 'agora-rte-sdk';
|
|
6
|
-
import { FcrDeviceStore } from '../../common/device-store';
|
|
7
|
-
import { FcrUIEventStore } from '../../common/event-store';
|
|
8
|
-
import { HighlightElement } from '../../utilities/constant';
|
|
9
|
-
import { DEFAULT_BEAUTY_VALUE } from 'agora-ui-foundation/lib/components/local-video-player';
|
|
10
|
-
import { FcrUISceneConfig } from '../../type';
|
|
11
|
-
import { VirtualBackground } from '../device-pretest/assets/virtual-backdound-resources';
|
|
12
|
-
export interface DeviceItem {
|
|
13
|
-
text: string;
|
|
14
|
-
value: string;
|
|
15
|
-
}
|
|
16
|
-
export declare enum DeviceSettingTab {
|
|
17
|
-
GENERAL = "general",
|
|
18
|
-
AUDIO = "audio",
|
|
19
|
-
VIDEO = "video",
|
|
20
|
-
STORAGE = "storage",
|
|
21
|
-
STATE = "state"
|
|
22
|
-
}
|
|
23
|
-
export interface DeviceSettingDialogConfig {
|
|
24
|
-
activeTab: DeviceSettingTab;
|
|
25
|
-
highlightSelector: HighlightElement | undefined;
|
|
26
|
-
}
|
|
27
|
-
export interface CustomSetting {
|
|
28
|
-
shouldTurnOffVideo: boolean;
|
|
29
|
-
shouldDisplayPreviewDialog: boolean;
|
|
30
|
-
shouldHideNonVideoParticipants: boolean;
|
|
31
|
-
displayedMaxAttendees: number;
|
|
32
|
-
autoAdjustmentSpeakerVolume: boolean;
|
|
33
|
-
autoAdjustmentMicrophoneVolume: boolean;
|
|
34
|
-
noiseReduce: FcrAiDenoiseLevel;
|
|
35
|
-
showTurnOnAcoustic: boolean;
|
|
36
|
-
recordingPath: string;
|
|
37
|
-
videoHD: boolean;
|
|
38
|
-
videoLowLight: boolean;
|
|
39
|
-
hardwareForReception: boolean;
|
|
40
|
-
videoNoise: boolean;
|
|
41
|
-
audioHiFi: boolean;
|
|
42
|
-
audioEchoCancellation: boolean;
|
|
43
|
-
audioStereo: boolean;
|
|
44
|
-
audioVoiceChanger: boolean;
|
|
45
|
-
spotlightEnabled: boolean;
|
|
46
|
-
}
|
|
47
|
-
interface Setting extends CustomSetting {
|
|
48
|
-
cameraDeviceId: string | undefined;
|
|
49
|
-
isLocalMirrorEnabled: boolean;
|
|
50
|
-
speakerDeviceId: string | undefined;
|
|
51
|
-
speakerVolume: number;
|
|
52
|
-
microphoneDeviceId: string | undefined;
|
|
53
|
-
microphoneVolume: number;
|
|
54
|
-
}
|
|
55
|
-
export interface StoreConfig {
|
|
56
|
-
userName: string;
|
|
57
|
-
}
|
|
58
|
-
export { DEFAULT_BEAUTY_VALUE };
|
|
59
|
-
export type BeautyKey = 'none' | 'smoothnessLevel' | 'lighteningLevel' | 'lighteningLevel';
|
|
60
|
-
export default class DeviceSettingsStore {
|
|
61
|
-
private _disposers;
|
|
62
|
-
accessor isWifiConnected: boolean;
|
|
63
|
-
accessor dialogConfig: DeviceSettingDialogConfig;
|
|
64
|
-
accessor networkState: AgoraRtcNetworkStats;
|
|
65
|
-
accessor performanceState: FcrPerformanceInfo & {
|
|
66
|
-
cpuOtherAppUsage: number;
|
|
67
|
-
memoryOtherAppUsageRatio: number;
|
|
68
|
-
memoryOtherAppUsageInKbytes: number;
|
|
69
|
-
};
|
|
70
|
-
accessor localAudioStreamMap: Map<string, import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcLocalAudioStats>;
|
|
71
|
-
accessor remoteAudioStreamMap: Map<string, import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcRemoteAudioStats>;
|
|
72
|
-
accessor localVideoStreamMap: Map<string, import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcLocalTrackStats & {
|
|
73
|
-
sendFrameRate: number;
|
|
74
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
75
|
-
frameRate: number;
|
|
76
|
-
bitrate: number;
|
|
77
|
-
} & {
|
|
78
|
-
isScreenStream: boolean;
|
|
79
|
-
}>;
|
|
80
|
-
accessor remoteVideoStreamMap: Map<string, import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcRemoteTrackStats & {
|
|
81
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
82
|
-
frameRate: number;
|
|
83
|
-
} & {
|
|
84
|
-
isScreenStream: boolean;
|
|
85
|
-
}>;
|
|
86
|
-
accessor systemMemorySize: number;
|
|
87
|
-
accessor systemCpuDesc: string;
|
|
88
|
-
accessor setting: CustomSetting;
|
|
89
|
-
accessor config: FcrUISceneConfig | undefined;
|
|
90
|
-
accessor getSystemInfoTimer: NodeJS.Timeout | null;
|
|
91
|
-
get maxVideoSendInfo(): (import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcLocalTrackStats & {
|
|
92
|
-
sendFrameRate: number;
|
|
93
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
94
|
-
frameRate: number;
|
|
95
|
-
bitrate: number;
|
|
96
|
-
} & {
|
|
97
|
-
isScreenStream: boolean;
|
|
98
|
-
}) | null;
|
|
99
|
-
get maxVideoReceiveInfo(): (import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcRemoteTrackStats & {
|
|
100
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
101
|
-
frameRate: number;
|
|
102
|
-
} & {
|
|
103
|
-
isScreenStream: boolean;
|
|
104
|
-
}) | null;
|
|
105
|
-
get sendScreenShareInfo(): (import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcLocalTrackStats & {
|
|
106
|
-
sendFrameRate: number;
|
|
107
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
108
|
-
frameRate: number;
|
|
109
|
-
bitrate: number;
|
|
110
|
-
} & {
|
|
111
|
-
isScreenStream: boolean;
|
|
112
|
-
}) | null;
|
|
113
|
-
get receiveScreenShareInfo(): (import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcRemoteTrackStats & {
|
|
114
|
-
dimensions: import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcDimensions;
|
|
115
|
-
frameRate: number;
|
|
116
|
-
} & {
|
|
117
|
-
isScreenStream: boolean;
|
|
118
|
-
}) | null;
|
|
119
|
-
get microphoneVolumeDb(): string;
|
|
120
|
-
get speakerVolumeDb(): string;
|
|
121
|
-
get speakerVolumeLevel(): number;
|
|
122
|
-
get speakerVolume(): number;
|
|
123
|
-
get microphoneVolumeLevel(): number;
|
|
124
|
-
get microphoneVolume(): number;
|
|
125
|
-
get isLocalMirrorEnabled(): boolean;
|
|
126
|
-
get isLocalEditBeautyOptions(): boolean;
|
|
127
|
-
get currentBeautyKey(): import("../../common/device-store").BeautyKey;
|
|
128
|
-
get beautyOptions(): import("agora-rte-sdk/lib/core/rtc/type").AgoraRtcBeautyOptions;
|
|
129
|
-
get cameraDeviceId(): string | undefined;
|
|
130
|
-
get cameraEnabled(): boolean;
|
|
131
|
-
get showForceOpenEffectDialog(): boolean;
|
|
132
|
-
get currentVirtualBackgroundName(): string;
|
|
133
|
-
get cameraDeviceList(): DeviceItem[];
|
|
134
|
-
get microphoneDeviceId(): string | undefined;
|
|
135
|
-
get speakerDeviceId(): string | undefined;
|
|
136
|
-
get speakerDeviceList(): DeviceItem[];
|
|
137
|
-
get microphoneDeviceList(): DeviceItem[];
|
|
138
|
-
get enableBeauty(): boolean;
|
|
139
|
-
protected logger: import("agora-foundation/lib/logger").Logger;
|
|
140
|
-
private _currentDialogId;
|
|
141
|
-
private _mediaControl;
|
|
142
|
-
private _monitorControl;
|
|
143
|
-
private _streamControl;
|
|
144
|
-
private _roomControl;
|
|
145
|
-
private _uiEventStore;
|
|
146
|
-
private _deviceStore;
|
|
147
|
-
private _videoView4Setting?;
|
|
148
|
-
constructor({ mediaControl, config, uiEventStore, deviceStore, monitorControl, streamControl, roomControl, }: {
|
|
149
|
-
mediaControl: FcrDesktopMediaControl;
|
|
150
|
-
config: FcrUISceneConfig;
|
|
151
|
-
uiEventStore: FcrUIEventStore;
|
|
152
|
-
monitorControl: FcrMonitorControl;
|
|
153
|
-
streamControl: FcrStreamControl;
|
|
154
|
-
roomControl: FcrMainRoomControl;
|
|
155
|
-
deviceStore: FcrDeviceStore;
|
|
156
|
-
});
|
|
157
|
-
enableVirtualBackground(enable: boolean, source?: VirtualBackground): void;
|
|
158
|
-
setEditBeautyKey(key: BeautyKey): void;
|
|
159
|
-
enableBeautyEffect(enable: boolean): void;
|
|
160
|
-
private _initReactions;
|
|
161
|
-
private _disposeReactions;
|
|
162
|
-
setCameraDevice(id: string): void;
|
|
163
|
-
setMicrophoneDevice(deviceId: string): void;
|
|
164
|
-
stopSpeakerTest(): void;
|
|
165
|
-
startSpeakerTest(): void;
|
|
166
|
-
setSpeakerDevice(deviceId: string): void;
|
|
167
|
-
setSpeakerVolume(value: number): void;
|
|
168
|
-
setMicrophoneVolume(value: number): void;
|
|
169
|
-
setVideoOrientation(): void;
|
|
170
|
-
setBeautyOptions(beautyOption: Partial<FcrBeautyOptions>): void;
|
|
171
|
-
toggleLocalMirrorPreview(isMirror: boolean): void;
|
|
172
|
-
startVideo(isMirror: boolean, view?: HTMLDivElement | undefined): void;
|
|
173
|
-
stopVideo(): void;
|
|
174
|
-
handleForceOpenVideoEffect(): void;
|
|
175
|
-
handleCancelForceOpenVideoEffect(): void;
|
|
176
|
-
toggleLocalMirror(enable: boolean): void;
|
|
177
|
-
_syncSystemInfo(): Promise<void>;
|
|
178
|
-
getSetting(): Setting;
|
|
179
|
-
private _enableVideoHd;
|
|
180
|
-
private _enableLowlightEnhancement;
|
|
181
|
-
private _enableVideoDenoiser;
|
|
182
|
-
private _enableHardwareForReception;
|
|
183
|
-
private _enableAudioHiFiMode;
|
|
184
|
-
private _enableAudioEchoCancellation;
|
|
185
|
-
private _enableAudioStereo;
|
|
186
|
-
private _setNoiseLevel;
|
|
187
|
-
startMicrophoneTest(): void;
|
|
188
|
-
stopMicrophoneTest(): void;
|
|
189
|
-
release(): void;
|
|
190
|
-
setDialogConfig(dialogConfig: Partial<DeviceSettingDialogConfig>): void;
|
|
191
|
-
setSetting(newSetting: Partial<CustomSetting>): void;
|
|
192
|
-
private _onEvent;
|
|
193
|
-
private _onNetworkStatsUpdated;
|
|
194
|
-
calculateSystemInfo(): Promise<void>;
|
|
195
|
-
getSystemInformation(): void;
|
|
196
|
-
clearGetSystemInfoInterval(): void;
|
|
197
|
-
private _onLocalAudioStatsUpdated;
|
|
198
|
-
private _onRemoteAudioStatsUpdated;
|
|
199
|
-
private _onLocalVideoStatsUpdated;
|
|
200
|
-
private _onRemoteVideoStatsUpdated;
|
|
201
|
-
private _onStreamsUpdated;
|
|
202
|
-
private _onStreamsRemoved;
|
|
203
|
-
private _onPerformanceUpdated;
|
|
204
|
-
closeDialog(): void;
|
|
205
|
-
}
|