@zegocloud/zego-uikit-prebuilt 2.15.1 → 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 +2 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +1 -1
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
|
|
@@ -220,7 +221,7 @@ declare interface ZegoCloudRoomConfig {
|
|
|
220
221
|
pullStreamMirror?: boolean // 拉流端视频画面是否镜像,默认 false
|
|
221
222
|
}
|
|
222
223
|
// Send Message Response
|
|
223
|
-
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
|
|
224
225
|
// Screen rotation Button
|
|
225
226
|
showRotatingScreenButton?: boolean;
|
|
226
227
|
// Screen rotation notification
|