@zegocloud/zego-uikit-prebuilt 2.14.3-beta → 2.15.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/index.d.ts +15 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- package/zego-uikit-prebuilt.js.LICENSE.txt +12 -0
package/index.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
declare type ZegoCloudRTCCore = {};
|
|
3
2
|
declare type ZegoExpressEngine = {};
|
|
4
3
|
declare interface ZegoUser {
|
|
@@ -217,6 +216,8 @@ declare interface ZegoCloudRoomConfig {
|
|
|
217
216
|
// Overall video screen configuration
|
|
218
217
|
videoScreenConfig?: {
|
|
219
218
|
objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
|
|
219
|
+
localMirror?: boolean // 本端视频画面是否镜像,默认 true
|
|
220
|
+
pullStreamMirror?: boolean // 拉流端视频画面是否镜像,默认 false
|
|
220
221
|
}
|
|
221
222
|
// Send Message Response
|
|
222
223
|
onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string }) => void
|
|
@@ -230,6 +231,15 @@ declare interface ZegoCloudRoomConfig {
|
|
|
230
231
|
memberViewConfig?: {
|
|
231
232
|
operationListCustomButton?: () => Element
|
|
232
233
|
}
|
|
234
|
+
// 2.14.0
|
|
235
|
+
// Message sending channel configuration
|
|
236
|
+
sendMessageChannel?: "RTC" | "ZIM"
|
|
237
|
+
// 2.15.0
|
|
238
|
+
// 背景虚化及虚拟背景开关按钮
|
|
239
|
+
showBackgroundProcessButton?: boolean
|
|
240
|
+
onLocalStreamCreated?: (stream) => void
|
|
241
|
+
// 2.16.0
|
|
242
|
+
onStreamUpdate?: (streamId: string) => void
|
|
233
243
|
}
|
|
234
244
|
|
|
235
245
|
export enum ZegoUserState {
|
|
@@ -403,6 +413,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
403
413
|
userName?: string
|
|
404
414
|
): string;
|
|
405
415
|
static create(kitToken: string, createConfig?: ZegoUIKitCreateConfig): ZegoUIKitPrebuilt;
|
|
416
|
+
static getVersion(): string;
|
|
406
417
|
addPlugins(plugins?: { ZegoSuperBoardManager?: any; ZIM?: any }): void;
|
|
407
418
|
joinRoom(roomConfig?: ZegoCloudRoomConfig): void;
|
|
408
419
|
destroy(): void;
|
|
@@ -430,4 +441,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
430
441
|
rotateToLandscape(): void
|
|
431
442
|
rotateToPortrait(): void
|
|
432
443
|
renewToken(): boolean
|
|
444
|
+
// 2.15.0
|
|
445
|
+
closeBackgroundProcess(): void
|
|
446
|
+
openBackgroundProcess(): void
|
|
433
447
|
}
|