@zegocloud/zego-uikit-prebuilt 1.7.4 → 1.8.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/index.d.ts +16 -1
- package/package.json +1 -1
- package/zego-uikit-prebuilt.js +304 -194
package/index.d.ts
CHANGED
|
@@ -21,11 +21,23 @@ declare enum VideoResolution {
|
|
|
21
21
|
_480P = "480p",
|
|
22
22
|
_720P = "720p",
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
export enum VideoMixinLayoutType {
|
|
25
|
+
AutoLayout = 0,
|
|
26
|
+
}
|
|
27
|
+
export enum VideoMixinOutputResolution {
|
|
28
|
+
_180P = "180p",
|
|
29
|
+
_360P = "360p",
|
|
30
|
+
_540P = "540p",
|
|
31
|
+
_720P = "720p",
|
|
32
|
+
_1080P = "1080p",
|
|
33
|
+
}
|
|
25
34
|
declare interface ScenarioConfig {
|
|
26
35
|
[ScenarioModel.LiveStreaming]: {
|
|
27
36
|
role: LiveRole;
|
|
28
37
|
liveStreamingMode: LiveStreamingMode;
|
|
38
|
+
enableVideoMixing?: boolean;
|
|
39
|
+
// videoMixingLayout?: VideoMixinLayoutType;
|
|
40
|
+
videoMixingOutputResolution?: VideoMixinOutputResolution;
|
|
29
41
|
};
|
|
30
42
|
[ScenarioModel.OneONoneCall]: {
|
|
31
43
|
role: LiveRole;
|
|
@@ -113,6 +125,9 @@ declare interface ZegoCloudRoomConfig {
|
|
|
113
125
|
showAddImageButton?: boolean; // It's set to false by default. To use this feature, activate the File Sharing feature, and then import the plugin. Otherwise, this prompt will occur: "Failed to add image, this feature is not supported."
|
|
114
126
|
showCreateAndCloseButton?: boolean; // Whether to display the button that is used to create/turn off the whiteboard. Displayed by default.
|
|
115
127
|
};
|
|
128
|
+
showInviteToCohostButton?: boolean; // Whether to show the button that is used to invite the audience to co-host on the host end.
|
|
129
|
+
showRemoveCohostButton?: boolean; // Whether to show the button that is used to remove the audience on the host end.
|
|
130
|
+
showRequestToCohostButton?: boolean; // Whether to show the button that is used to request to co-host on the audience end.
|
|
116
131
|
// 1.4 Leaving view
|
|
117
132
|
showLeavingView?: boolean; // Whether to display the leaving view. Displayed by default.
|
|
118
133
|
|