stopEffectsEnv method
Disable the Effects beauty environment.
Available since: 2.16.0
Description: Disable the Effects beauty environment.
Use cases: It is often used in scenes such as video calls and live broadcasts.
When to call: Must be called before calling startPreview
, startPublishingStream
. If you need to modify the configuration, please call logoutRoom
to log out of the room first, otherwise it will not take effect.
Related APIs: enableEffectsBeauty switch beauty, setEffectsBeautyParam set beauty parameters.
Caution: This beauty function is the basic function. If it does not meet the expectations of the developer, you can use the custom video pre-processing function enableCustomVideoProcessing
or the custom video capture function enableCustomVideoCapture
docking and constructing the AI Effects SDK ZegoEffects
for best results.
Restrictions: This function only supports Android system 5.0 and above, Android SDK version 21 and above.
Note: This function is only available in ZegoExpressVideo SDK!
Implementation
Future<void> stopEffectsEnv() async {
return await ZegoExpressImpl.instance.stopEffectsEnv();
}