@zegocloud/zego-uikit-prebuilt 2.15.0 → 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 +4 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
- 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
CHANGED
|
@@ -216,7 +216,8 @@ declare interface ZegoCloudRoomConfig {
|
|
|
216
216
|
// Overall video screen configuration
|
|
217
217
|
videoScreenConfig?: {
|
|
218
218
|
objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
|
|
219
|
-
|
|
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
|
|
@@ -237,6 +238,8 @@ declare interface ZegoCloudRoomConfig {
|
|
|
237
238
|
// 背景虚化及虚拟背景开关按钮
|
|
238
239
|
showBackgroundProcessButton?: boolean
|
|
239
240
|
onLocalStreamCreated?: (stream) => void
|
|
241
|
+
// 2.16.0
|
|
242
|
+
onStreamUpdate?: (streamId: string) => void
|
|
240
243
|
}
|
|
241
244
|
|
|
242
245
|
export enum ZegoUserState {
|