@zegocloud/zego-uikit-prebuilt 2.13.6-beta → 2.14.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/index.d.ts +4 -10
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- package/zego-uikit-prebuilt.js.LICENSE.txt +11 -0
package/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import { ZegoUIKitCreateConfig } from "../src/sdk/model";
|
|
2
|
-
|
|
3
1
|
declare type ZegoCloudRTCCore = {};
|
|
4
2
|
declare type ZegoExpressEngine = {};
|
|
5
3
|
declare interface ZegoUser {
|
|
@@ -211,13 +209,9 @@ declare interface ZegoCloudRoomConfig {
|
|
|
211
209
|
showWaitingCallAcceptAudioVideoView?: boolean;
|
|
212
210
|
// Configure the call invitation list during a call
|
|
213
211
|
callingInvitationListConfig?: CallingInvitationListConfig;
|
|
214
|
-
// 2.13.
|
|
215
|
-
//
|
|
216
|
-
|
|
217
|
-
objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
|
|
218
|
-
}
|
|
219
|
-
// Send Message Response
|
|
220
|
-
onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string }) => void
|
|
212
|
+
// 2.13.0
|
|
213
|
+
// Custom view in the room, located above the video
|
|
214
|
+
requireRoomForegroundView?: () => HTMLElement;
|
|
221
215
|
}
|
|
222
216
|
|
|
223
217
|
export enum RightPanelExpandedType {
|
|
@@ -373,7 +367,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
373
367
|
userID: string,
|
|
374
368
|
userName?: string
|
|
375
369
|
): string;
|
|
376
|
-
static create(kitToken: string,
|
|
370
|
+
static create(kitToken: string, cloudProxyConfig?: { proxyList: { hostName: string, port?: number }[] }): ZegoUIKitPrebuilt;
|
|
377
371
|
addPlugins(plugins?: { ZegoSuperBoardManager?: any; ZIM?: any }): void;
|
|
378
372
|
joinRoom(roomConfig?: ZegoCloudRoomConfig): void;
|
|
379
373
|
destroy(): void;
|