@byteplus/rtc 4.47.6 → 4.47.8
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/extension-ainr/index.js +1 -0
- package/extension-ainr/index.umd.js +1 -0
- package/extension-beauty/index.d.ts +40 -2
- package/extension-beauty/index.js +7 -0
- package/extension-beauty/index.umd.js +1 -0
- package/index.d.ts +3 -4
- package/index.esm.min.js +2 -2
- package/index.min.js +2 -2
- package/package.json +7 -2
|
@@ -1,15 +1,53 @@
|
|
|
1
|
-
// Generated by dts-bundle-generator v6.
|
|
1
|
+
// Generated by dts-bundle-generator v6.13.0
|
|
2
2
|
|
|
3
|
+
|
|
4
|
+
/** {en}
|
|
5
|
+
* @brief Basic beauty effect mode.
|
|
6
|
+
*/
|
|
3
7
|
export declare enum EffectBeautyMode {
|
|
8
|
+
|
|
9
|
+
/** {en}
|
|
10
|
+
* @brief Brightness.
|
|
11
|
+
*/
|
|
4
12
|
EFFECT_WHITE_MODE = 0,
|
|
13
|
+
|
|
14
|
+
/** {en}
|
|
15
|
+
* @brief Smoothness.
|
|
16
|
+
*/
|
|
5
17
|
EFFECT_SMOOTH_MODE = 1,
|
|
18
|
+
|
|
19
|
+
/** {en}
|
|
20
|
+
* @brief Sharpness.
|
|
21
|
+
*/
|
|
6
22
|
EFFECT_SHARPEN_MODE = 2
|
|
7
23
|
}
|
|
8
24
|
export declare class IRTCBeautyExtension {
|
|
25
|
+
|
|
26
|
+
/** {en}
|
|
27
|
+
* @brief Enables basic beauty effects.
|
|
28
|
+
* @notes + Call [setBeautyIntensity](#setbeautyintensity) to set the beauty effect intensity. If you do not set the intensity, the brightness, smoothness, and sharpness intensity will default to 0.5.
|
|
29
|
+
* + Call [disable](#disable) to turn off basic beauty effects.
|
|
30
|
+
* + This API is not applicable to screen capturing.
|
|
31
|
+
*/
|
|
9
32
|
enable: () => void;
|
|
33
|
+
|
|
34
|
+
/** {en}
|
|
35
|
+
* @brief Disables basic beauty effects.
|
|
36
|
+
*/
|
|
10
37
|
disable: () => void;
|
|
38
|
+
|
|
39
|
+
/** {en}
|
|
40
|
+
* @brief Sets the beauty effect intensity.
|
|
41
|
+
* @param beautyMode Basic beauty effect.
|
|
42
|
+
* @param intensity Beauty effect intensity in range of [0,1], default to 0.5. When you set it to 0, the beauty effect will be turned off.
|
|
43
|
+
* @notes + If you call this API before calling [enable](#enable), the default settings of beauty effect intensity will adjust accordingly.
|
|
44
|
+
* + If you destroy the engine, the beauty effect settings will be invalid.
|
|
45
|
+
*/
|
|
11
46
|
setBeautyIntensity: (beautyMode: EffectBeautyMode, intensity: number) => void;
|
|
12
47
|
}
|
|
13
|
-
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
IRTCBeautyExtension as default,
|
|
51
|
+
};
|
|
14
52
|
|
|
15
53
|
export {};
|