enableBeautify method
- @Deprecated('Deprecated since 2.16.0, please use the [enableEffectsBeauty] function instead.')
- int featureBitmask,
- {ZegoPublishChannel? channel}
Deprecated
Enables or disables the beauty features for the specified publish channel. Deprecated since 2.16.0, please use the enableEffectsBeauty
function instead.
Available since: 1.1.0
Description: When developers do not have much need for beauty features, they can use this function to set some very simple beauty effects.
When to call: It needs to be called after createEngine.
Default value: When this function is not called, the beauty feature is not enabled by default.
Related APIs: After turning on the beauty features, you can call the setBeautifyOption function to adjust the beauty parameters.
Caution: This beauty feature is very simple and may not meet the developer’s expectations. It is recommended to use the custom video processing function enableCustomVideoProcessing
or the custom video capture function enableCustomVideoCapture
to connect the AI Effects SDK ZegoEffects
https://docs.zegocloud.com/article/9896 for best results.
Restrictions: In the case of using the custom video capture function, since the developer has handle the video data capturing, the SDK is no longer responsible for the video data capturing, so this function is no longer valid. It is also invalid when using the custom video processing function.
Note: This function is only available in ZegoExpressVideo SDK!
@deprecated Deprecated since 2.16.0, please use the enableEffectsBeauty
function instead.
featureBitmask
Beauty features, bitmask format, you can choose to enable several features in ZegoBeautifyFeature at the same timechannel
Publishing stream channel
Implementation
@Deprecated(
'Deprecated since 2.16.0, please use the [enableEffectsBeauty] function instead.')
Future<void> enableBeautify(int featureBitmask,
{ZegoPublishChannel? channel}) async {
return await ZegoExpressImpl.instance
.enableBeautify(featureBitmask, channel: channel);
}