@zegocloud/zego-uikit-prebuilt 2.13.7-beta → 2.14.1-beta
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/index.d.ts +17 -2
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- package/zego-uikit-prebuilt.js.LICENSE.txt +1 -319
package/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ZegoUIKitCreateConfig } from "../src/sdk/model";
|
|
2
1
|
|
|
3
2
|
declare type ZegoCloudRTCCore = {};
|
|
4
3
|
declare type ZegoExpressEngine = {};
|
|
@@ -211,6 +210,9 @@ declare interface ZegoCloudRoomConfig {
|
|
|
211
210
|
showWaitingCallAcceptAudioVideoView?: boolean;
|
|
212
211
|
// Configure the call invitation list during a call
|
|
213
212
|
callingInvitationListConfig?: CallingInvitationListConfig;
|
|
213
|
+
// 2.13.0
|
|
214
|
+
// Custom view in the room, located above the video
|
|
215
|
+
requireRoomForegroundView?: () => HTMLElement;
|
|
214
216
|
// 2.13.1
|
|
215
217
|
// Overall video screen configuration
|
|
216
218
|
videoScreenConfig?: {
|
|
@@ -320,6 +322,8 @@ declare interface ZegoCallInvitationConfig {
|
|
|
320
322
|
// Whether the whole call should end when the call originator leaves the call (causing other participants to leave together), The default value is false.
|
|
321
323
|
// If it is set to false, the call can continue even if the initiator leaves.
|
|
322
324
|
endCallWhenInitiatorLeave?: boolean;
|
|
325
|
+
// onTokenWillExpire 还未进房前需要监听
|
|
326
|
+
onTokenWillExpire?: () => void
|
|
323
327
|
}
|
|
324
328
|
|
|
325
329
|
declare interface ZegoSignalingPluginNotificationConfig {
|
|
@@ -344,10 +348,20 @@ declare enum MessagePriority {
|
|
|
344
348
|
High = 3,
|
|
345
349
|
}
|
|
346
350
|
|
|
347
|
-
|
|
351
|
+
declare enum ZegoUIKitLanguage {
|
|
348
352
|
CHS = "zh-CN", // 中文
|
|
349
353
|
ENGLISH = "en-US", // 英文
|
|
350
354
|
}
|
|
355
|
+
|
|
356
|
+
declare interface ZegoUIKitCreateConfig {
|
|
357
|
+
cloudProxyConfig?: { proxyList: { hostName: string, port?: number }[] },
|
|
358
|
+
AiDenoiseConfig?: { mode: AiDenoiseMode }
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
declare enum AiDenoiseMode {
|
|
362
|
+
AI = 0,
|
|
363
|
+
AIBalanced = 1
|
|
364
|
+
}
|
|
351
365
|
export declare class ZegoUIKitPrebuilt {
|
|
352
366
|
static core: ZegoCloudRTCCore | undefined;
|
|
353
367
|
static _instance: ZegoUIKitPrebuilt;
|
|
@@ -415,4 +429,5 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
415
429
|
// 2.13.0
|
|
416
430
|
rotateToLandscape(): void
|
|
417
431
|
rotateToPortrait(): void
|
|
432
|
+
renewToken(): boolean
|
|
418
433
|
}
|