@zegocloud/zego-uikit-prebuilt 2.15.0 → 2.15.2

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
@@ -162,6 +162,7 @@ declare interface ZegoCloudRoomConfig {
162
162
  rightPanelExpandedType?: RightPanelExpandedType // Controls the type of the information displayed on the right panel, display "None" by default.
163
163
  autoHideFooter?: boolean // Whether to enable the footer auto-hide feature, enabled by default.
164
164
  enableUserSearch?: boolean // Whether to enable the user search feature, false by default.
165
+ videoCodec?: "H264" | "VP8" // video codec
165
166
  // 1.4 Leaving view
166
167
  showLeavingView?: boolean // Whether to display the leaving view. Displayed by default.
167
168
  showLeaveRoomConfirmDialog?: boolean // When leaving the room, whether to display a confirmation pop-up window, the default is true
@@ -216,10 +217,11 @@ declare interface ZegoCloudRoomConfig {
216
217
  // Overall video screen configuration
217
218
  videoScreenConfig?: {
218
219
  objectFit?: "cover" | "contain" | "fill" // 视频画面显示模式,默认 "contain"
219
- mirror?: boolean // 视频画面是否镜像,默认 false
220
+ localMirror?: boolean // 本端视频画面是否镜像,默认 true
221
+ pullStreamMirror?: boolean // 拉流端视频画面是否镜像,默认 false
220
222
  }
221
223
  // Send Message Response
222
- onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string }) => void
224
+ onSendMessageResult?: (response: { errCode: number, message: string, timestamp?: string, fromUser?: ZegoUser, sendTime?: number, messageID?: number }) => void
223
225
  // Screen rotation Button
224
226
  showRotatingScreenButton?: boolean;
225
227
  // Screen rotation notification
@@ -237,6 +239,8 @@ declare interface ZegoCloudRoomConfig {
237
239
  // 背景虚化及虚拟背景开关按钮
238
240
  showBackgroundProcessButton?: boolean
239
241
  onLocalStreamCreated?: (stream) => void
242
+ // 2.16.0
243
+ onStreamUpdate?: (streamId: string) => void
240
244
  }
241
245
 
242
246
  export enum ZegoUserState {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zegocloud/zego-uikit-prebuilt",
3
- "version": "2.15.0",
3
+ "version": "2.15.2",
4
4
  "description": "zegocloud prebuilt meeting webrtc sdk",
5
5
  "keywords": [
6
6
  "sdk",