@zegocloud/zego-uikit-prebuilt 1.9.0 → 1.10.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 +20 -0
- package/package.json +2 -2
- package/zego-uikit-prebuilt.js +2 -5226
- package/zego-uikit-prebuilt.js.LICENSE.txt +80 -0
package/index.d.ts
CHANGED
|
@@ -77,6 +77,16 @@ declare interface InRoomMessageInfo {
|
|
|
77
77
|
sendTime: number;
|
|
78
78
|
messageID: number;
|
|
79
79
|
}
|
|
80
|
+
declare enum ScreenSharingResolution {
|
|
81
|
+
_360P = "360p",
|
|
82
|
+
_480P = "480p",
|
|
83
|
+
_720P = "720p",
|
|
84
|
+
_1080P = "1080p",
|
|
85
|
+
_2K = "2k",
|
|
86
|
+
_4K = "4k",
|
|
87
|
+
Auto = "auto",
|
|
88
|
+
Custom = "custom",
|
|
89
|
+
}
|
|
80
90
|
declare interface ZegoCloudRoomConfig {
|
|
81
91
|
// 1 UI controls
|
|
82
92
|
// 1.1 Global
|
|
@@ -87,6 +97,14 @@ declare interface ZegoCloudRoomConfig {
|
|
|
87
97
|
config?: ScenarioConfig[ScenarioModel]; // Specific configurations in the corresponding scenario.
|
|
88
98
|
};
|
|
89
99
|
console?: ConsoleLevel; // Used to problem localization, not a regular setup. While setting this can decide what severity of logs you want to print.
|
|
100
|
+
screenSharingConfig?: {
|
|
101
|
+
resolution?: ScreenSharingResolution;
|
|
102
|
+
width?: number;
|
|
103
|
+
height?: number;
|
|
104
|
+
frameRate?: number;
|
|
105
|
+
maxBitRate?: number;
|
|
106
|
+
}; // Screen sharing settings, resolution settings
|
|
107
|
+
|
|
90
108
|
// 1.2 Prejoin view
|
|
91
109
|
showPreJoinView?: boolean; // Whether to display the prejoin view. Displayed by default.
|
|
92
110
|
preJoinViewConfig?: {
|
|
@@ -135,6 +153,7 @@ declare interface ZegoCloudRoomConfig {
|
|
|
135
153
|
enableUserSearch?: boolean; // Whether to enable the user search feature, false by default.
|
|
136
154
|
// 1.4 Leaving view
|
|
137
155
|
showLeavingView?: boolean; // Whether to display the leaving view. Displayed by default.
|
|
156
|
+
showLeaveRoomConfirmDialog?: boolean; // When leaving the room, whether to display a confirmation pop-up window, the default is true
|
|
138
157
|
|
|
139
158
|
// 2 Related event callbacks
|
|
140
159
|
onJoinRoom?: () => void; // Callback for participants join the room.
|
|
@@ -149,6 +168,7 @@ declare interface ZegoCloudRoomConfig {
|
|
|
149
168
|
onInRoomCommandReceived?: (fromUser: ZegoUser, command: string) => void; // Callback for room command message
|
|
150
169
|
onInRoomTextMessageReceived?: (messages: ZegoSignalingInRoomTextMessage[]) => void; // Callback for room signaling text message
|
|
151
170
|
onInRoomCustomCommandReceived?: (command: ZegoSignalingInRoomCommandMessage[]) => void; // Callback for room custom command message
|
|
171
|
+
onReturnToHomeScreenClicked?: () => void; // Callback for click return to home screen button.
|
|
152
172
|
}
|
|
153
173
|
|
|
154
174
|
export enum RightPanelExpandedType {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zegocloud/zego-uikit-prebuilt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.10.2",
|
|
4
4
|
"description": "zegocloud prebuilt meeting webrtc sdk",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sdk",
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"license": "ISC",
|
|
14
14
|
"author": "zegodev",
|
|
15
15
|
"main": "./zego-uikit-prebuilt.js",
|
|
16
|
-
"typings": "./
|
|
16
|
+
"typings": "./index.d.ts",
|
|
17
17
|
"access": "public"
|
|
18
18
|
}
|