@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 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
- export enum ZegoUIKitLanguage {
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zegocloud/zego-uikit-prebuilt",
3
- "version": "2.13.7-beta",
3
+ "version": "2.14.1-beta",
4
4
  "description": "zegocloud prebuilt meeting webrtc sdk",
5
5
  "keywords": [
6
6
  "sdk",