@zegocloud/zego-uikit-prebuilt 2.14.2 → 2.15.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/assets/web.data +0 -0
- package/assets/zego-wasm-simd.wasm +0 -0
- package/assets/zego-wasm.wasm +0 -0
- package/index.d.ts +12 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- package/zego-uikit-prebuilt.js.LICENSE.txt +12 -0
package/assets/web.data
ADDED
|
Binary file
|
|
Binary file
|
|
Binary file
|
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,7 @@ declare interface ZegoCloudRoomConfig {
|
|
|
217
216
|
// Overall video screen configuration
|
|
218
217
|
videoScreenConfig?: {
|
|
219
218
|
objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
|
|
219
|
+
mirror?: boolean // 视频画面是否镜像,默认 false
|
|
220
220
|
}
|
|
221
221
|
// Send Message Response
|
|
222
222
|
onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string }) => void
|
|
@@ -230,6 +230,13 @@ declare interface ZegoCloudRoomConfig {
|
|
|
230
230
|
memberViewConfig?: {
|
|
231
231
|
operationListCustomButton?: () => Element
|
|
232
232
|
}
|
|
233
|
+
// 2.14.0
|
|
234
|
+
// Message sending channel configuration
|
|
235
|
+
sendMessageChannel?: "RTC" | "ZIM"
|
|
236
|
+
// 2.15.0
|
|
237
|
+
// 背景虚化及虚拟背景开关按钮
|
|
238
|
+
showBackgroundProcessButton?: boolean
|
|
239
|
+
onLocalStreamCreated?: (stream) => void
|
|
233
240
|
}
|
|
234
241
|
|
|
235
242
|
export enum ZegoUserState {
|
|
@@ -403,6 +410,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
403
410
|
userName?: string
|
|
404
411
|
): string;
|
|
405
412
|
static create(kitToken: string, createConfig?: ZegoUIKitCreateConfig): ZegoUIKitPrebuilt;
|
|
413
|
+
static getVersion(): string;
|
|
406
414
|
addPlugins(plugins?: { ZegoSuperBoardManager?: any; ZIM?: any }): void;
|
|
407
415
|
joinRoom(roomConfig?: ZegoCloudRoomConfig): void;
|
|
408
416
|
destroy(): void;
|
|
@@ -430,4 +438,7 @@ export declare class ZegoUIKitPrebuilt {
|
|
|
430
438
|
rotateToLandscape(): void
|
|
431
439
|
rotateToPortrait(): void
|
|
432
440
|
renewToken(): boolean
|
|
441
|
+
// 2.15.0
|
|
442
|
+
closeBackgroundProcess(): void
|
|
443
|
+
openBackgroundProcess(): void
|
|
433
444
|
}
|