@xylink/xy-rtc-sdk 4.0.1 → 4.0.2-beta.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/{README.MD → README.md} +1 -1
- package/action/ability.d.ts +151 -0
- package/action/api.d.ts +252 -0
- package/action/auth.d.ts +134 -0
- package/action/base.d.ts +13 -0
- package/action/config.d.ts +63 -0
- package/action/control.d.ts +101 -0
- package/action/enterprise.d.ts +66 -0
- package/{lib/tools/httpClient.d.ts → action/http.d.ts} +19 -11
- package/action/index.d.ts +92 -0
- package/action/index.type.d.ts +30 -0
- package/action/log.d.ts +17 -0
- package/action/meeting.d.ts +107 -0
- package/{lib/enum → enum}/client.d.ts +1 -6
- package/{lib/enum → enum}/constraints.d.ts +1 -6
- package/{lib/enum → enum}/device.d.ts +6 -0
- package/{lib/enum/errorCode.d.ts → enum/errorCode/common.d.ts} +1 -22
- package/enum/errorCode/index.d.ts +6 -0
- package/enum/errorCode/server.d.ts +10 -0
- package/enum/errorCode/signal.d.ts +15 -0
- package/{lib/enum → enum}/index.d.ts +11 -8
- package/enum/meeting.d.ts +15 -0
- package/{lib/enum → enum}/polling.d.ts +1 -0
- package/feature/artboard/index.d.ts +139 -0
- package/feature/artboard/index.type.d.ts +264 -0
- package/{lib/feature → feature}/customMessage/index.d.ts +3 -8
- package/{lib/feature → feature}/edu/index.d.ts +2 -1
- package/{lib/feature → feature}/edu/index.type.d.ts +1 -0
- package/feature/im/index.d.ts +89 -0
- package/feature/im/index.type.d.ts +30 -0
- package/feature/index.d.ts +29 -0
- package/feature/query/index.d.ts +36 -0
- package/feature/query/index.type.d.ts +61 -0
- package/{lib/feature → feature}/speaker/index.d.ts +5 -10
- package/{lib/feature → feature}/speaker/index.type.d.ts +1 -0
- package/{lib/index.d.ts → index.d.ts} +19 -21
- package/{lib/interface → interface}/clientInterface.type.d.ts +24 -11
- package/{lib/interface → interface}/contentTrackInterface.type.d.ts +1 -6
- package/{lib/interface → interface}/event.type.d.ts +60 -1
- package/{lib/interface → interface}/videoAudioTrackInterface.type.d.ts +2 -7
- package/{lib/main → main}/ability/const.d.ts +1 -0
- package/{lib/main → main}/ability/index.d.ts +5 -10
- package/main/auth/index.d.ts +160 -0
- package/main/auth/index.type.d.ts +63 -0
- package/main/client/clientBase.d.ts +60 -0
- package/main/client/clientState.d.ts +36 -0
- package/{lib/main/client.d.ts → main/client/index.d.ts} +253 -79
- package/main/client/index.type.d.ts +42 -0
- package/{lib/main → main}/device/index.d.ts +5 -15
- package/{lib/tools → main/helper}/i18n.d.ts +2 -1
- package/{lib/main → main}/helper/index.d.ts +9 -7
- package/{lib/main → main}/layout/index.d.ts +7 -16
- package/{lib/main → main}/layout/index.type.d.ts +10 -9
- package/{lib/main → main}/layout/polling.d.ts +3 -11
- package/{lib/main → main}/layout/state.d.ts +4 -10
- package/{lib/tools → main/layout}/template/index.d.ts +25 -7
- package/{lib/main/layout/template.d.ts → main/layout/template/manager.d.ts} +2 -1
- package/main/layout/template/mobile.d.ts +4 -0
- package/main/layout/template/polling.d.ts +3 -0
- package/{lib/main → main}/media/index.d.ts +13 -11
- package/{lib/main → main}/media/index.type.d.ts +1 -0
- package/{lib/main → main}/meeting/control.d.ts +20 -1
- package/{lib/main → main}/meeting/control.type.d.ts +1 -0
- package/{lib/main → main}/meeting/index.d.ts +39 -32
- package/main/meeting/index.type.d.ts +43 -0
- package/{lib/main → main}/meeting/verify.d.ts +2 -7
- package/{lib/main/peer.d.ts → main/peer/index.d.ts} +30 -25
- package/main/peer/index.type.d.ts +10 -0
- package/{lib/main → main}/plugin/index.d.ts +2 -7
- package/{lib/main → main}/quality/index.d.ts +1 -6
- package/{lib/main → main}/quality/quality.worker.d.ts +1 -4
- package/{lib/main → main}/quality/report.d.ts +2 -1
- package/{lib/main → main}/render/index.d.ts +4 -9
- package/{lib/main → main}/render/index.type.d.ts +2 -7
- package/{lib/main → main}/render/videoManager.d.ts +2 -7
- package/{lib/main → main}/roster/index.d.ts +9 -9
- package/{lib/main → main}/server/index.d.ts +73 -4
- package/main/server/index.type.d.ts +53 -0
- package/{lib/main → main}/signal/index.d.ts +2 -1
- package/{lib/main → main}/socket/index.d.ts +6 -12
- package/{lib/main → main}/stream/index.d.ts +17 -21
- package/{lib/main → main}/track/baseTrack.d.ts +6 -14
- package/{lib/main → main}/track/contentTrack.d.ts +4 -12
- package/main/track/customContentTrack.d.ts +10 -0
- package/main/track/customVideoAudioTrack.d.ts +10 -0
- package/{lib/main → main}/track/helper.d.ts +1 -1
- package/{lib/main → main}/track/videoAudioCapture.d.ts +2 -10
- package/{lib/main → main}/track/videoAudioTrack.d.ts +13 -15
- package/{lib/main → main}/vom/index.d.ts +2 -7
- package/package.json +26 -111
- package/{lib/tools/analyser.d.ts → tools/analyser/index.d.ts} +2 -9
- package/{lib/tools/analyserManager.d.ts → tools/analyser/manager.d.ts} +4 -13
- package/{lib/tools → tools}/config.d.ts +3 -10
- package/tools/data/list.d.ts +87 -0
- package/tools/data/map.d.ts +17 -0
- package/{lib/tools/detectBrowser/index.d.ts → tools/detector/browser.d.ts} +3 -3
- package/{lib/tools/detectTool → tools/detector}/index.d.ts +3 -7
- package/{lib/tools/detectStream/index.d.ts → tools/detector/stream.d.ts} +2 -9
- package/{lib/tools → tools}/emitter.d.ts +9 -3
- package/tools/frame/index.d.ts +36 -0
- package/tools/frame/index.type.d.ts +1 -0
- package/tools/index.d.ts +72 -0
- package/{lib/tools/dbManager.d.ts → tools/log/db.d.ts} +8 -14
- package/{lib/tools → tools}/log/logger.d.ts +6 -9
- package/tools/log/logger.worker.d.ts +10 -0
- package/{lib/tools → tools}/log/loggerManager.d.ts +3 -3
- package/tools/log/utils.d.ts +6 -0
- package/{lib/tools → tools}/pressure/index.d.ts +2 -9
- package/{lib/tools/promiseQueue.d.ts → tools/queue/async.d.ts} +3 -9
- package/tools/queue/queue.type.d.ts +10 -0
- package/{lib/tools/queue.d.ts → tools/queue/sync.d.ts} +3 -9
- package/{lib/tools → tools}/resize.d.ts +3 -4
- package/{lib/tools/snapshot.d.ts → tools/snapshot/index.d.ts} +3 -11
- package/tools/snapshot/index.type.d.ts +38 -0
- package/{lib/tools → tools/socket}/socket.d.ts +6 -10
- package/tools/socket/socketManager.d.ts +32 -0
- package/tools/store.d.ts +47 -0
- package/tools/utils.d.ts +162 -0
- package/{lib/tools → tools}/verify.d.ts +1 -1
- package/tools/window.d.ts +31 -0
- package/{lib/type → type}/ability.d.ts +3 -1
- package/{lib/type → type}/analyser.d.ts +1 -8
- package/{lib/type → type}/auth.d.ts +34 -0
- package/{lib/type → type}/base.d.ts +43 -11
- package/{lib/type → type}/capture.d.ts +1 -0
- package/{lib/type → type}/client.d.ts +65 -70
- package/{lib/type → type}/index.d.ts +5 -3
- package/{lib/type → type}/layout.d.ts +15 -1
- package/{lib/type → type}/logger.d.ts +1 -6
- package/{lib/type → type}/meeting.d.ts +105 -15
- package/{lib/type → type}/quality.d.ts +2 -7
- package/{lib/type → type}/stream.d.ts +4 -5
- package/{lib/type → type}/track.d.ts +1 -9
- package/xyrtc.js +23212 -0
- package/lib/action/index.d.ts +0 -415
- package/lib/enum/meeting.d.ts +0 -4
- package/lib/feature/index.d.ts +0 -3
- package/lib/main/auth/index.d.ts +0 -101
- package/lib/main/clientBase.d.ts +0 -40
- package/lib/main/clientState.d.ts +0 -56
- package/lib/main/server/index.type.d.ts +0 -21
- package/lib/main/track/customContentTrack.d.ts +0 -18
- package/lib/main/track/customVideoAudioTrack.d.ts +0 -18
- package/lib/tools/enum.d.ts +0 -6
- package/lib/tools/index.d.ts +0 -8
- package/lib/tools/log/logger.worker.d.ts +0 -13
- package/lib/tools/regex.d.ts +0 -4
- package/lib/tools/store.d.ts +0 -15
- package/lib/tools/template/mobile.d.ts +0 -9
- package/lib/tools/template/polling.d.ts +0 -8
- package/lib/tools/utils.d.ts +0 -97
- package/lib/xyrtc.cjs.js +0 -1
- package/lib/xyrtc.umd.js +0 -1
- /package/{lib/enum → enum}/analyser.d.ts +0 -0
- /package/{lib/enum → enum}/i18n.d.ts +0 -0
- /package/{lib/interface → interface}/baseModule.type.d.ts +0 -0
- /package/{lib/main → main}/device/index.type.d.ts +0 -0
- /package/{lib/main → main}/helper/index.type.d.ts +0 -0
- /package/{lib/main → main}/meeting/verify.type.d.ts +0 -0
- /package/{lib/main → main}/render/videoManager.type.d.ts +0 -0
- /package/{lib/main → main}/vom/index.type.d.ts +0 -0
- /package/{lib/tools/detectTool → tools/detector}/index.type.d.ts +0 -0
- /package/{lib/tools/detectStream/index.type.d.ts → tools/detector/stream.type.d.ts} +0 -0
- /package/{lib/tools → tools}/pressure/index.type.d.ts +0 -0
- /package/{lib/type → type}/action.d.ts +0 -0
- /package/{lib/type → type}/peer.d.ts +0 -0
- /package/{lib/type → type}/polling.d.ts +0 -0
- /package/{lib/type → type}/socket.d.ts +0 -0
|
@@ -1,61 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
1
|
+
import { XY_WHITEBOARD_DATA } from '../../feature/artboard/index.type';
|
|
2
|
+
import { CheckCaptchaImageParams, LoginOtherParams } from '../auth/index.type';
|
|
3
|
+
import { XYMemberDepartment } from '../../feature/query/index.type';
|
|
4
|
+
import { XYIMClient } from '../../feature/im';
|
|
5
|
+
import { XYDevicePressure } from '../../tools/pressure';
|
|
6
|
+
import { default as RosterManager } from '../roster';
|
|
7
|
+
import { XYEDU } from '../../feature/edu';
|
|
8
|
+
import { XYServerInfo } from '../server/index.type';
|
|
9
|
+
import { default as ServerManager } from '../server';
|
|
10
|
+
import { XYSignal } from '../signal';
|
|
11
|
+
import { XYMediaManager } from '../media';
|
|
12
|
+
import { SocketManager } from '../../tools/socket/socketManager';
|
|
13
|
+
import { XYClientSocket } from '../socket';
|
|
14
|
+
import { XYRender } from '../render';
|
|
15
|
+
import { XYMeetingControl } from '../meeting/control';
|
|
16
|
+
import { XYPlugin } from '../plugin';
|
|
17
|
+
import { VOM } from '../vom';
|
|
18
|
+
import { XYRTCClientState } from './clientState';
|
|
17
19
|
import { XYRTCClientBase } from './clientBase';
|
|
18
|
-
import
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
|
|
30
|
-
import { XYDevicePressure } from '../tools/pressure';
|
|
20
|
+
import { default as Auth } from '../auth/index';
|
|
21
|
+
import { default as Action } from '../../action/index';
|
|
22
|
+
import { default as ContentTrack } from '../track/contentTrack';
|
|
23
|
+
import { default as VideoAudioTrack } from '../track/videoAudioTrack';
|
|
24
|
+
import { default as Meeting } from '../meeting';
|
|
25
|
+
import { default as LayoutManager } from '../layout';
|
|
26
|
+
import { default as Logger } from '../../tools/log/logger';
|
|
27
|
+
import { default as Stream } from '../stream';
|
|
28
|
+
import { default as Peer } from '../peer/index';
|
|
29
|
+
import { SnapshotParams } from '../../tools/index';
|
|
30
|
+
import { IClientConfig, ICall, IMakeCall, IInvite, IRoster, ILoginExtAccount, IVideoAudioType, IMode, IReqInfo, TCommand, ContentMode, Key, IRecordPermission, TLocalLanguage, IFeatureConfig, IConfMgmtUrl, IVideoControlResult, ICustomMessageConfig, OperateType, PushType, LayoutMode, ILoginWidthAuthCode, LoginXYAccountParams, LoginExtTokenParams, IReturnResult, InviteInfo, LayoutOrientationType, AnalyserConfig, IFeatureConfigValue, IFeatureConfigKey, MEETING_DIRECTION, LocalViewParams, AbilityResult, IExportUserInfo, IVideoProfile, ReconnectEntry, LoginTokenInfo, LayoutConfig, IStateParams, IScreenInfo, IInternals, XYClientIF, IGetConferenceParams, XYCheckNumberParams, LoginThirdAuthTokenParams, LoginVerifyCodeParams, XYWebRxAudioStatus, ClientInfoConfig } from '../../type/index';
|
|
31
|
+
|
|
31
32
|
export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
32
33
|
logger: Logger;
|
|
33
34
|
private action;
|
|
34
35
|
private layoutManager;
|
|
35
36
|
private rosterManager;
|
|
36
37
|
private serverManager;
|
|
38
|
+
private imClient;
|
|
37
39
|
private auth;
|
|
38
40
|
private stream;
|
|
39
|
-
protected
|
|
41
|
+
protected stateManager: XYRTCClientState;
|
|
40
42
|
private meeting;
|
|
41
43
|
private verify;
|
|
42
44
|
invite: IInvite;
|
|
43
|
-
disconnected: boolean;
|
|
44
|
-
pushType: IPushType;
|
|
45
|
-
debug: boolean;
|
|
46
|
-
config: IClientConfig;
|
|
47
|
-
private autoMode;
|
|
48
45
|
private peer;
|
|
49
46
|
private callInfo;
|
|
50
|
-
private clientStatus;
|
|
51
|
-
private peerConnectionStatus;
|
|
52
47
|
private contentMode;
|
|
53
48
|
private isSubscribeBulkRoster;
|
|
54
49
|
private qualityReport;
|
|
55
50
|
private isSubscribeTranslation;
|
|
56
51
|
private featureConfig;
|
|
57
52
|
private operateQueue;
|
|
58
|
-
private facingMode;
|
|
59
53
|
private audioStatus;
|
|
60
54
|
private videoStatus;
|
|
61
55
|
private ability;
|
|
@@ -66,63 +60,71 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
66
60
|
protected plugin: XYPlugin | null;
|
|
67
61
|
protected render: XYRender;
|
|
68
62
|
protected meetingControl: XYMeetingControl;
|
|
69
|
-
protected
|
|
63
|
+
protected clientSocket: XYClientSocket;
|
|
70
64
|
protected mediaManager: XYMediaManager;
|
|
71
65
|
protected edu: XYEDU;
|
|
72
66
|
protected signal: XYSignal;
|
|
73
67
|
protected devicePressure?: XYDevicePressure;
|
|
68
|
+
private queryService;
|
|
69
|
+
private artboard;
|
|
70
|
+
private socketManager;
|
|
74
71
|
private onDocumentChange;
|
|
75
72
|
constructor(config: IClientConfig, logger: Logger);
|
|
76
73
|
static instance: XYRTCClient;
|
|
77
74
|
static getClientInstance(config: IClientConfig, logger: Logger): XYRTCClient;
|
|
78
|
-
getLoginInfo(): import(
|
|
75
|
+
getLoginInfo(): import('../../type/index').ILoginInfo;
|
|
79
76
|
getFeatureConfig(): IFeatureConfig;
|
|
80
77
|
getCallInfo(): ICall;
|
|
81
78
|
getClientConfig(): IClientConfig;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
getAudioStreamConfig(): import("../type/index").IStreamConfig | undefined;
|
|
79
|
+
getVideoManagerMap(): import('../../type/index').XYVideoRendererMap;
|
|
80
|
+
getAudioManagers(): import('../../type/index').IAudioRenders;
|
|
81
|
+
getPreviewStreams(): import('../../type/index').IGetMediaStreams;
|
|
82
|
+
getAudioStreamConfig(): import('../../type/index').IStreamConfig | undefined;
|
|
87
83
|
getStreamInstance(): Stream;
|
|
88
84
|
getInviteInfo(): IInvite;
|
|
89
85
|
getLocalHide(): boolean | undefined;
|
|
90
|
-
getPeerConnectionStatus(): boolean;
|
|
91
86
|
getAudioStatus(): OperateType;
|
|
92
87
|
getVideoStatus(): OperateType;
|
|
93
88
|
getMakeCallParams(): IMakeCall;
|
|
94
89
|
getLayoutManager(): LayoutManager;
|
|
95
90
|
getRosterManager(): RosterManager;
|
|
96
|
-
getAnalyserManager(): import(
|
|
91
|
+
getAnalyserManager(): import('../../tools/index').AnalyserManager;
|
|
97
92
|
getUserInfo(): IExportUserInfo | null;
|
|
98
93
|
getVOM(): VOM;
|
|
99
|
-
getErrorCode(): import(
|
|
100
|
-
getI18nCode(): import(
|
|
94
|
+
getErrorCode(): import('../../type/index').ICodeList;
|
|
95
|
+
getI18nCode(): import('../../type/index').ICodeList;
|
|
101
96
|
getAuthManager(): Auth;
|
|
102
97
|
getAction(): Action;
|
|
103
98
|
getRender(): XYRender;
|
|
104
99
|
getServerManager(): ServerManager;
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
getSocketManager(): XYSocketManager;
|
|
100
|
+
getClientSocket(): XYClientSocket;
|
|
101
|
+
getSocketManager(): SocketManager;
|
|
108
102
|
getMediaManager(): XYMediaManager;
|
|
109
103
|
getMeeting(): Meeting;
|
|
110
104
|
getPeer(): Peer | null;
|
|
111
|
-
|
|
105
|
+
getState(): XYRTCClientState;
|
|
106
|
+
getIsAutoLayoutMode(): boolean;
|
|
112
107
|
getMeetingControl(): XYMeetingControl;
|
|
108
|
+
getImClient(): XYIMClient | null;
|
|
109
|
+
/**
|
|
110
|
+
* 获取服务器地址
|
|
111
|
+
*
|
|
112
|
+
* @returns { XYServerUrlInfo } - 服务器地址配置
|
|
113
|
+
*/
|
|
114
|
+
getServerAddress(): import('../../type/index').XYServerUrlInfo;
|
|
113
115
|
/**
|
|
114
116
|
* 获取缓存的媒体网关下发speakers消息内容
|
|
115
117
|
*
|
|
116
118
|
* @returns { SpeakersInfoObj[] } - speakers消息内容
|
|
117
119
|
*/
|
|
118
|
-
getRemoteSpeakerList(): import(
|
|
120
|
+
getRemoteSpeakerList(): import('../../type/index').SpeakersInfoItem[];
|
|
119
121
|
/**
|
|
120
122
|
* 获取缓存的媒体网关下发speakers消息内容
|
|
121
123
|
*
|
|
122
124
|
* @returns { SpeakersInfoObj[] } - speakers消息内容
|
|
123
125
|
*/
|
|
124
126
|
getRemoteSpeakerMap(): {
|
|
125
|
-
[key: string]: import(
|
|
127
|
+
[key: string]: import('../../type/index').SpeakersInfoItem;
|
|
126
128
|
};
|
|
127
129
|
getLayoutMap(): Map<any, any>;
|
|
128
130
|
/**
|
|
@@ -142,7 +144,7 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
142
144
|
*
|
|
143
145
|
* @returns { FacingMode } - 摄像头方向
|
|
144
146
|
*/
|
|
145
|
-
getFacingMode(): FacingMode;
|
|
147
|
+
getFacingMode(): import('../../type/index').FacingMode | undefined;
|
|
146
148
|
/**
|
|
147
149
|
* 获取ws重连次数
|
|
148
150
|
*/
|
|
@@ -150,17 +152,24 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
150
152
|
/**
|
|
151
153
|
* 获取Layout头像配置类型
|
|
152
154
|
*/
|
|
153
|
-
getLayoutAvatarType(): import(
|
|
155
|
+
getLayoutAvatarType(): import('../../type/index').LayoutAvatarType;
|
|
154
156
|
/**
|
|
155
157
|
* 企业媒体相关配置信息
|
|
156
158
|
*
|
|
157
159
|
* @returns { IMediaConfig }
|
|
158
160
|
*/
|
|
159
|
-
getEnterpriseMediaConfig(): import(
|
|
161
|
+
getEnterpriseMediaConfig(): import('../../type/index').IMediaConfig;
|
|
160
162
|
/**
|
|
161
163
|
* 会控消息
|
|
162
164
|
*/
|
|
163
|
-
getMeetingControlInfo(): import(
|
|
165
|
+
getMeetingControlInfo(): import('../../type/index').IMeetingControl | null;
|
|
166
|
+
/**
|
|
167
|
+
* 设置Client相关信息
|
|
168
|
+
*
|
|
169
|
+
* @since 4.0.2
|
|
170
|
+
* @param { ClientInfoConfig } info - Client相关信息
|
|
171
|
+
*/
|
|
172
|
+
setClientInfo(info: ClientInfoConfig): void;
|
|
164
173
|
/**
|
|
165
174
|
* 设置呼叫的会议室信息
|
|
166
175
|
*
|
|
@@ -183,13 +192,12 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
183
192
|
* @property { string } wssServer - 可选,websocket服务器地址
|
|
184
193
|
* @property { string } logServer - 可选,日志服务器地址
|
|
185
194
|
*/
|
|
186
|
-
setServerAddress(serverInfo: XYServerInfo): void
|
|
195
|
+
setServerAddress(serverInfo: XYServerInfo): Promise<void>;
|
|
187
196
|
/**
|
|
188
197
|
* 创建摄像头和麦克风轨道实例
|
|
189
198
|
* 使用场景:1、多人音视频通话,执行创建麦克风和摄像头流,管控设备操作;2、接入AI视频流插件时使用;3、实现会前设置、会前画面预览时可单独多次创建此实例
|
|
190
199
|
* 调用时机:makeCall发起呼叫成功后调用
|
|
191
|
-
*
|
|
192
|
-
*
|
|
200
|
+
* 相关内容:VideoAudioTrack类;使用capture方法采集视频流
|
|
193
201
|
* @since 4.0.0
|
|
194
202
|
*/
|
|
195
203
|
createVideoAudioTrack(): Promise<VideoAudioTrack>;
|
|
@@ -238,7 +246,7 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
238
246
|
* @param { AnalyserConfig } config - Analyser分析器构造器配置
|
|
239
247
|
* @return { AudioAnalyser || null } - Analyser分析器
|
|
240
248
|
*/
|
|
241
|
-
getAudioAnalyser(id?: string, config?: AnalyserConfig): IReturnResult | import(
|
|
249
|
+
getAudioAnalyser(id?: string, config?: AnalyserConfig): IReturnResult | import('../../tools/index').AudioAnalyser | null;
|
|
242
250
|
/**
|
|
243
251
|
* 销毁音频分析器,释放资源
|
|
244
252
|
* 调用时机:业务组件销毁或者讲话人麦克风静音时
|
|
@@ -272,9 +280,10 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
272
280
|
* @deprecated 已废弃 但不影响历史调用,建议使用新登录方式:loginXYAccount
|
|
273
281
|
* @param { string } userName - 必填,小鱼用户账号
|
|
274
282
|
* @param { string } password - 必填,小鱼用户账号密码
|
|
283
|
+
* @param { LoginOtherParams } params - 可选,其余配置参数
|
|
275
284
|
* @returns { Promise<IReturnResult> } - 登录结果
|
|
276
285
|
*/
|
|
277
|
-
loginXYlinkAccount(userName: string, password: string): Promise<IReturnResult>;
|
|
286
|
+
loginXYlinkAccount(userName: string, password: string, params?: LoginOtherParams): Promise<IReturnResult>;
|
|
278
287
|
/**
|
|
279
288
|
* 三方账号登录/授权码登录
|
|
280
289
|
* 调用时机:初始化SDK后,登录时调用
|
|
@@ -325,9 +334,57 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
325
334
|
*/
|
|
326
335
|
loginWithAuthCode(params: ILoginWidthAuthCode): Promise<IReturnResult>;
|
|
327
336
|
/**
|
|
328
|
-
*
|
|
337
|
+
* 三方账号统一认证登录-单点登录
|
|
338
|
+
* 调用时机:初始化SDK后,登录时调用
|
|
339
|
+
*
|
|
340
|
+
* @param { LoginThirdAuthTokenParams } params - 单点登录配置参数
|
|
341
|
+
* @property { string } params.token - 单点登录Token信息
|
|
342
|
+
* @property { string } params.thirdPlatform - 单点登录平台名
|
|
343
|
+
* @property { string } params.path - 单点登录接口地址
|
|
329
344
|
*/
|
|
330
|
-
|
|
345
|
+
loginThirdAuthToken(params: LoginThirdAuthTokenParams): Promise<IReturnResult>;
|
|
346
|
+
/**
|
|
347
|
+
* 手机验证码登录
|
|
348
|
+
* 调用时机:初始化SDK后,登录时调用
|
|
349
|
+
*
|
|
350
|
+
* @param { LoginVerifyCodeParams } params - 登录参数
|
|
351
|
+
* @property { string } params.account - 账号
|
|
352
|
+
* @property { string } params.verificationCode - 短信验证码
|
|
353
|
+
* @returns { Promise<IReturnResult> } - 登录结果
|
|
354
|
+
*/
|
|
355
|
+
loginXYLinkByVerifyCode(params: LoginVerifyCodeParams): Promise<IReturnResult>;
|
|
356
|
+
/**
|
|
357
|
+
* 获取图片验证码
|
|
358
|
+
*
|
|
359
|
+
* @returns { Promise<IReturnResult> } - 图片验证码结果
|
|
360
|
+
*/
|
|
361
|
+
getCaptchaImage(): Promise<IReturnResult>;
|
|
362
|
+
/**
|
|
363
|
+
* 校验图片验证码
|
|
364
|
+
*
|
|
365
|
+
* @param { CheckCaptchaImageParams } params - 参数
|
|
366
|
+
* @returns { Promise<{success: boolean}> } - 校验结果
|
|
367
|
+
*/
|
|
368
|
+
checkCaptchaImage(data: CheckCaptchaImageParams): Promise<{
|
|
369
|
+
success: boolean;
|
|
370
|
+
}>;
|
|
371
|
+
/**
|
|
372
|
+
* 获取短信验证码
|
|
373
|
+
*
|
|
374
|
+
* @param { string } phone - 手机号
|
|
375
|
+
* @returns { Promise<IReturnResult> } - 结果
|
|
376
|
+
*/
|
|
377
|
+
getVerificationCode(phone: string): Promise<IReturnResult>;
|
|
378
|
+
/**
|
|
379
|
+
* 退出登录
|
|
380
|
+
* 使用场景:已登录情况下,需要退出当前账号,调用此方法退出登录操作;
|
|
381
|
+
* 调用时机:登录后
|
|
382
|
+
* 相关事件:监听login-state事件消息,获取最终登录和登出状态;
|
|
383
|
+
* 注意事项:登录完成后,可以多次发起makeCall呼叫会议操作,无需重复登录;
|
|
384
|
+
*
|
|
385
|
+
* @since 4.0.2
|
|
386
|
+
*/
|
|
387
|
+
logout(): Promise<void>;
|
|
331
388
|
/**
|
|
332
389
|
* 设置分享content类型
|
|
333
390
|
*
|
|
@@ -398,6 +455,14 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
398
455
|
* @param { object } data - 媒体消息
|
|
399
456
|
*/
|
|
400
457
|
private onPassThroughMessage;
|
|
458
|
+
/**
|
|
459
|
+
* 获取参会者组织架构和职务信息
|
|
460
|
+
* 使用场景:参会者列表中获取参会者组织架构和职务
|
|
461
|
+
*
|
|
462
|
+
* @param { string[] } endpointIds - 需要查询的endpointId列表数据
|
|
463
|
+
* @returns { Promise<XYMemberDepartment> } - 部门和职位数据
|
|
464
|
+
*/
|
|
465
|
+
getDepAndTitle(endpointIds: string[]): Promise<XYMemberDepartment>;
|
|
401
466
|
/**
|
|
402
467
|
* 获取当前会议会控H5地址
|
|
403
468
|
* 使用场景:会议中使用主持会议功能
|
|
@@ -514,7 +579,7 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
514
579
|
*
|
|
515
580
|
* @returns { Promise<SnapshotResult> } - 截图信息
|
|
516
581
|
*/
|
|
517
|
-
getSnapshot(params: SnapshotParams): Promise<import(
|
|
582
|
+
getSnapshot(params: SnapshotParams): Promise<import('../../tools/index').SnapshotResult>;
|
|
518
583
|
/**
|
|
519
584
|
* 设置本地画面渲染参数
|
|
520
585
|
* 使用场景:入会前预览本地画面、会中切换本地画面镜像显示
|
|
@@ -536,6 +601,18 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
536
601
|
* @property { number? } config.localSharedMaxViewCount - 本地共享时显示的最大画面数量,默认4画面,最大8画面
|
|
537
602
|
*/
|
|
538
603
|
setLayoutConfig(config: LayoutConfig): void;
|
|
604
|
+
/**
|
|
605
|
+
* 设置布局模式,支持自动布局和自定义布局两种类型
|
|
606
|
+
*
|
|
607
|
+
* 使用场景:无销毁XYRTCClient进行多次加入会议时,需要在会前切换布局方式,可调用此方法
|
|
608
|
+
* 调用时机:加入会议前调用
|
|
609
|
+
* 相关内容:拉流和布局
|
|
610
|
+
* 注意事项:如果每次呼叫都走完整的创建XYRTCClient流程,则直接配置layout即可
|
|
611
|
+
*
|
|
612
|
+
* @since 4.0.2
|
|
613
|
+
* @param { LayoutMode } mode - 布局模式
|
|
614
|
+
*/
|
|
615
|
+
setLayoutMode(mode: LayoutMode): void;
|
|
539
616
|
/**
|
|
540
617
|
* 功能操作上报记录
|
|
541
618
|
*
|
|
@@ -749,11 +826,7 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
749
826
|
* @param { IGetConferenceParams } param - 会议室参数
|
|
750
827
|
* @returns { Promise<IConference> } 云会议室信息
|
|
751
828
|
*/
|
|
752
|
-
getConference(params: IGetConferenceParams): Promise<import(
|
|
753
|
-
/**
|
|
754
|
-
* 获取错误码/i18n等json链接
|
|
755
|
-
*/
|
|
756
|
-
private getServerConfig;
|
|
829
|
+
getConference(params: IGetConferenceParams): Promise<import('../../type/index').IConference>;
|
|
757
830
|
/**
|
|
758
831
|
* 添加音视频开启/关闭 同步任务
|
|
759
832
|
*
|
|
@@ -889,7 +962,10 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
889
962
|
* 关联内容:拉流和布局
|
|
890
963
|
* 相关事件:conf-change-info、layout
|
|
891
964
|
* 使用限制:暂时可以查看最多 120 个参会者画面数据
|
|
892
|
-
*
|
|
965
|
+
* 注意事项:
|
|
966
|
+
* 1、从请流到展示画面,存在一定的延迟,需要考虑处理视频请求中状态
|
|
967
|
+
* 2、如果是指定终端模式请流,则pageIndex固定是0
|
|
968
|
+
* 3、如果自动请流机制,无需填写calluri字段,则pageIndex从1开始
|
|
893
969
|
*
|
|
894
970
|
* @param { ICustomLayout[] } reqList - 必填,请流列表数据
|
|
895
971
|
* @param { number } maxViewCountPerPage - 必填,每页最大显示条数,最多 9 条
|
|
@@ -960,11 +1036,13 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
960
1036
|
*/
|
|
961
1037
|
sendInternals(internals: IInternals): void;
|
|
962
1038
|
/**
|
|
963
|
-
*
|
|
1039
|
+
* 取消指定事件的监听
|
|
964
1040
|
*
|
|
965
|
-
* @param { string } key -
|
|
1041
|
+
* @param { string } key - 事件的唯一标识符(监听器的key值)
|
|
1042
|
+
* @since 4.0.2 新增
|
|
1043
|
+
* @param { Function } listener - 可选的事件回调函数,如果提供,则仅取消该特定回调的监听;如果未提供,则取消该事件的所有监听器
|
|
966
1044
|
*/
|
|
967
|
-
off(key: string): void;
|
|
1045
|
+
off(key: string, listener?: Function): void;
|
|
968
1046
|
/**
|
|
969
1047
|
* 屏幕 Resize
|
|
970
1048
|
*/
|
|
@@ -990,7 +1068,6 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
990
1068
|
* 获取用户、会议室基本信息、上报终端能力
|
|
991
1069
|
*
|
|
992
1070
|
* @param { ICall } params - 呼叫参数
|
|
993
|
-
* @param { string } token - 登录token
|
|
994
1071
|
*/
|
|
995
1072
|
private getBasicInfo;
|
|
996
1073
|
/**
|
|
@@ -1130,6 +1207,89 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
1130
1207
|
* @since 4.0.0
|
|
1131
1208
|
*/
|
|
1132
1209
|
endAllMeeting(): Promise<IReturnResult>;
|
|
1210
|
+
/**
|
|
1211
|
+
* 创建IM聊天模块
|
|
1212
|
+
*/
|
|
1213
|
+
createIMWidget(): XYIMClient;
|
|
1214
|
+
/**
|
|
1215
|
+
* 校验入会名称
|
|
1216
|
+
*
|
|
1217
|
+
* @param { string } displayName - 入会名称
|
|
1218
|
+
* @returns
|
|
1219
|
+
*/
|
|
1220
|
+
checkSensitiveWord(displayName: string): Promise<import('../meeting/index.type').XYSensitiveWords | null>;
|
|
1221
|
+
/**
|
|
1222
|
+
* 获取个人云会议室信息
|
|
1223
|
+
*/
|
|
1224
|
+
getCloudMeetingRooms(): Promise<any>;
|
|
1225
|
+
/**
|
|
1226
|
+
* 获取企业信息,包含企业信息配置title/icon、企业名称等
|
|
1227
|
+
*
|
|
1228
|
+
* @returns { Promise<XYEnterpriseInfo> } - 企业信息
|
|
1229
|
+
*/
|
|
1230
|
+
getEnterpriseInfo(): Promise<import('../meeting/index.type').XYEnterpriseInfo>;
|
|
1231
|
+
/**
|
|
1232
|
+
* 获取管理平台角色相关权限,包含录制权限
|
|
1233
|
+
*
|
|
1234
|
+
* @returns { Promise<XYUicustomization> } - 权限信息
|
|
1235
|
+
*/
|
|
1236
|
+
getUicustomization(): Promise<import('../meeting/index.type').XYUicustomization>;
|
|
1237
|
+
/**
|
|
1238
|
+
* 开始白板分享
|
|
1239
|
+
*
|
|
1240
|
+
* @since 4.0.1
|
|
1241
|
+
*/
|
|
1242
|
+
startWhiteboard(): Promise<void>;
|
|
1243
|
+
/**
|
|
1244
|
+
* 结束白板分享
|
|
1245
|
+
*
|
|
1246
|
+
* @since 4.0.1
|
|
1247
|
+
*/
|
|
1248
|
+
stopWhiteboard(): Promise<void>;
|
|
1249
|
+
/**
|
|
1250
|
+
* 发送画板数据
|
|
1251
|
+
*
|
|
1252
|
+
* @since 4.0.1
|
|
1253
|
+
*/
|
|
1254
|
+
sendWhiteboardData(data: XY_WHITEBOARD_DATA): Promise<void>;
|
|
1255
|
+
/**
|
|
1256
|
+
* 开始批注分享
|
|
1257
|
+
*
|
|
1258
|
+
* @since 4.0.1
|
|
1259
|
+
*/
|
|
1260
|
+
startAnnotation(): Promise<void>;
|
|
1261
|
+
/**
|
|
1262
|
+
* 结束批注分享
|
|
1263
|
+
*
|
|
1264
|
+
* @since 4.0.1
|
|
1265
|
+
*/
|
|
1266
|
+
stopAnnotation(): Promise<void>;
|
|
1267
|
+
/**
|
|
1268
|
+
* 发送批注数据
|
|
1269
|
+
*
|
|
1270
|
+
* @since 4.0.1
|
|
1271
|
+
*/
|
|
1272
|
+
sendAnnotationData(data: string): Promise<void>;
|
|
1273
|
+
/**
|
|
1274
|
+
* 设置是否接收会议中的远端音频
|
|
1275
|
+
*
|
|
1276
|
+
* 使用场景:用于在会议中根据需求动态设置是否接收远端参会者的声音、共享内容的声音
|
|
1277
|
+
* 调用时机:入会成功后
|
|
1278
|
+
*
|
|
1279
|
+
* @since 4.0.2
|
|
1280
|
+
* @param { XYWebRxAudioStatus } params - 设置是否接收会议中的远端音频
|
|
1281
|
+
* @property { boolean } params.contentAudioMute - 可选,是否禁止接收共享内容的声音,默认false
|
|
1282
|
+
* @property { boolean } params.peopleAudioMute - 可选,是否禁止接收远端参会者的声音,默认false
|
|
1283
|
+
*/
|
|
1284
|
+
setWebRxAudioStatus(params: XYWebRxAudioStatus): void;
|
|
1285
|
+
/**
|
|
1286
|
+
* 获取能力集
|
|
1287
|
+
* 使用场景:当服务器配置发生变化时,需要获取最新能力集
|
|
1288
|
+
* 调用时机:服务器配置变更后调用
|
|
1289
|
+
*
|
|
1290
|
+
* @since 4.0.2
|
|
1291
|
+
*/
|
|
1292
|
+
refreshAbility(): Promise<void>;
|
|
1133
1293
|
/**
|
|
1134
1294
|
* 校验clientId/clientSecret
|
|
1135
1295
|
*/
|
|
@@ -1140,14 +1300,28 @@ export default class XYRTCClient extends XYRTCClientBase implements XYClientIF {
|
|
|
1140
1300
|
* @param { IReturnResult } msg - 错误消息
|
|
1141
1301
|
*/
|
|
1142
1302
|
emitError(msg: IReturnResult): void;
|
|
1303
|
+
/**
|
|
1304
|
+
* 挂断当前会议,不进行销毁资源
|
|
1305
|
+
* 调用时机:挂断会议,如果需要保持client状态,支持无需重新创建client及登录,即可快速发起新呼叫,可调用此方法
|
|
1306
|
+
* 注意事项:此方法是Promise函数,需要等待执行完成后再执行后续的操作
|
|
1307
|
+
*
|
|
1308
|
+
* @since 4.0.2
|
|
1309
|
+
* @param {string} reason - 可选,挂断原因,默认是"OK"
|
|
1310
|
+
* @param {boolean} blockSendSocket - 可选,是否阻止发送Socket挂断消息,默认是false,不阻止
|
|
1311
|
+
* @returns {Promise<boolean>} 挂断成功返回true,失败则reject错误信息
|
|
1312
|
+
*/
|
|
1313
|
+
hangup(reason?: string, blockSendSocket?: boolean): Promise<boolean>;
|
|
1143
1314
|
/**
|
|
1144
1315
|
* 挂断会议,销毁资源
|
|
1145
|
-
*
|
|
1316
|
+
* 调用时机: 挂断会议,如果不再需要使用client,应调用该接口及时销毁client实例,以释放相关资源;再次使用时,需重新创建client
|
|
1146
1317
|
* 注意事项:此方法是Promise函数,需要等待执行完成后再执行后续的操作,避免资源释放不彻底
|
|
1147
1318
|
*
|
|
1148
1319
|
* @param { string } reason - 可选,挂断原因,默认是"OK"
|
|
1149
1320
|
* @param { boolean } blockSendSocket - 可选,是否阻止发送Socket挂断消息,默认是false,不阻止
|
|
1150
1321
|
*/
|
|
1151
1322
|
destroy(reason?: string, blockSendSocket?: boolean): Promise<boolean>;
|
|
1152
|
-
|
|
1323
|
+
/**
|
|
1324
|
+
* 关闭当前会议,重置数据和销毁相关资源
|
|
1325
|
+
*/
|
|
1326
|
+
close(reason?: string, blockSendSocket?: boolean): Promise<void>;
|
|
1153
1327
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Client状态
|
|
3
|
+
*
|
|
4
|
+
* @property { string } Active - Client处于活跃状态
|
|
5
|
+
* @property { string } Destroy - Client已被销毁
|
|
6
|
+
*/
|
|
7
|
+
export declare enum XYClientState {
|
|
8
|
+
Active = "ACTIVE",
|
|
9
|
+
Destroy = "DESTROY"
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* 会议状态
|
|
13
|
+
*
|
|
14
|
+
* @property { string } Initial - 初始状态
|
|
15
|
+
* @property { string } SignalConnected - WebSocket连接成功,收到信令服务器的入会通知
|
|
16
|
+
* @property { string } MediaConnected - Peer连接成功,表示已完全加入会议,可以开始互动
|
|
17
|
+
* @property { string } Disconnected - 已挂断会议
|
|
18
|
+
* @property { string } SignalDisconnected - 信令挂断会议
|
|
19
|
+
*/
|
|
20
|
+
export declare enum XYMeetingState {
|
|
21
|
+
Initial = "INITIAL",
|
|
22
|
+
SignalConnected = "SIGNAL_CONNECTED",
|
|
23
|
+
MediaConnected = "MEDIA_CONNECTED",
|
|
24
|
+
Disconnected = "DISCONNECTED",
|
|
25
|
+
SignalDisconnected = "SIGNAL_DISCONNECTED"
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 会议断开连接结果
|
|
29
|
+
*
|
|
30
|
+
* @property { string } code - 错误码
|
|
31
|
+
* @property { string } detail - 错误详情描述
|
|
32
|
+
* @property { string } message - 断开连接提示信息
|
|
33
|
+
* @property { boolean } accountExpired - 账号是否失效,会议断开原因导致账号失效,如账号在其他设备登录、被拉黑等
|
|
34
|
+
* @property { string } reason - 断开连接原因
|
|
35
|
+
*/
|
|
36
|
+
export interface XYMeetingDisconnectedResult {
|
|
37
|
+
code?: string;
|
|
38
|
+
detail?: string;
|
|
39
|
+
message?: string;
|
|
40
|
+
accountExpired?: boolean;
|
|
41
|
+
reason?: string;
|
|
42
|
+
}
|
|
@@ -1,24 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* XYLink WebRTC Device & Permission Manager Lib
|
|
3
|
-
*
|
|
4
|
-
* DESIGN NOTES: https://nones.xylink.com/wiki/#/team/AQzvsooq/space/SLqJDsvD/page/TXNaSayk
|
|
5
|
-
*
|
|
6
|
-
* @summary device and permission manager
|
|
7
|
-
* @author Jinghui-Luo<luojinghui424@gamil.com>、ChengFei
|
|
8
|
-
*
|
|
9
|
-
* Created at : 2020-11-26 14:41:51
|
|
10
|
-
* Last modified : 2024-06-20 14:54:13
|
|
11
|
-
*/
|
|
12
|
-
import Logger from '../../tools/log/logger';
|
|
13
|
-
import Emitter from '../../tools/emitter';
|
|
14
1
|
import { IDeviceInfo, IDeviceList, ICurrentPermission, PermissionType, FacingMode, DEVICE_KIND, IDeviceId, ISetSpecDevice, IUsedDeviceParams, ISpecStateParams, XYDeviceEventKey } from '../../type/index';
|
|
2
|
+
import { XYEmitter } from '../../tools/emitter';
|
|
3
|
+
import { default as Logger } from '../../tools/log/logger';
|
|
4
|
+
|
|
15
5
|
/**
|
|
16
6
|
* DeviceManager模块,用于管理枚举设备列表、监听设备变动、处理设备权限等功能
|
|
17
7
|
*
|
|
18
8
|
* @class DeviceManager
|
|
19
|
-
* @extends
|
|
9
|
+
* @extends XYEmitter 事件发送器
|
|
20
10
|
*/
|
|
21
|
-
declare class DeviceManager extends
|
|
11
|
+
declare class DeviceManager extends XYEmitter<XYDeviceEventKey> {
|
|
22
12
|
private navigator;
|
|
23
13
|
logger: Logger;
|
|
24
14
|
isNewLogger: boolean;
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Common Helper Function Lib
|
|
3
|
-
*
|
|
4
|
-
* Created at : 2021-01-09 14:45:46
|
|
5
|
-
* Last modified : 2024-06-20 11:39:20
|
|
6
|
-
*/
|
|
7
|
-
import { IRotationInfoTotalItem, IRotateStyle, XYSupportedCodec, DEVICE_KIND } from '../../type/index';
|
|
8
1
|
import { XYRotationVideoInfo } from './index.type';
|
|
2
|
+
import { IRotationInfoTotalItem, IRotateStyle, XYSupportedCodec, DEVICE_KIND } from '../../type/index';
|
|
3
|
+
|
|
9
4
|
/**
|
|
10
5
|
* 获取真实视频分辨率的宽高、比值
|
|
11
6
|
*
|
|
@@ -116,3 +111,10 @@ export declare const getReallyTrackId: (trackId: string) => string;
|
|
|
116
111
|
* @param { string } deviceId - 指定切换的设备ID,如果指定错误,则使用系统默认设备
|
|
117
112
|
*/
|
|
118
113
|
export declare const setOutputAudioDevice: (element: any, deviceId: string) => Promise<void>;
|
|
114
|
+
/**
|
|
115
|
+
* 转换HideId隐身入会字段
|
|
116
|
+
*
|
|
117
|
+
* @param { string } hideId - HiedId隐藏入会配置
|
|
118
|
+
* @returns { string } hideId
|
|
119
|
+
*/
|
|
120
|
+
export declare const getHideId: (hideId: string | number) => string;
|