@byteplus/rtc 4.53.0 → 4.54.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.
@@ -143,7 +143,7 @@ export declare class IRTCBeautyExtension {
143
143
  * + Call [disable](#disable) to turn off basic beauty effects.
144
144
  * + This API is not applicable to screen capturing.
145
145
  */
146
- enableBeauty: () => void;
146
+ enableBeauty: () => Promise<void>;
147
147
 
148
148
  /** {en}
149
149
  * @hidden
@@ -153,19 +153,19 @@ export declare class IRTCBeautyExtension {
153
153
  * + Call [disable](#disable) to turn off basic beauty effects.
154
154
  * + This API is not applicable to screen capturing.
155
155
  */
156
- enable: () => void;
156
+ enable: () => Promise<void>;
157
157
 
158
158
  /** {en}
159
159
  * @brief Disable basic beauty effects.
160
160
  */
161
- disableBeauty: () => void;
161
+ disableBeauty: () => Promise<void>;
162
162
 
163
163
  /** {en}
164
164
  * @hidden
165
165
  * @deprecated since 4.52, use disableBeauty instead.
166
166
  * @brief Disable basic beauty effects.
167
167
  */
168
- disable: () => void;
168
+ disable: () => Promise<void>;
169
169
 
170
170
  /** {en}
171
171
  * @brief Set the beauty effect intensity.
@@ -182,12 +182,12 @@ export declare class IRTCBeautyExtension {
182
182
  * + Call [disableVirtualBackground](#disablevirtualbackground) to turn off virtual background.
183
183
  * + This API is not applicable to screen capturing.
184
184
  */
185
- enableVirtualBackground: () => void;
185
+ enableVirtualBackground: () => Promise<void>;
186
186
 
187
187
  /** {en}
188
188
  * @brief Disable virtual background.
189
189
  */
190
- disableVirtualBackground: () => void;
190
+ disableVirtualBackground: () => Promise<void>;
191
191
 
192
192
  /** {en}
193
193
  * @brief Set the virtual background mode.