setBeautifyOption method

  1. @Deprecated('Deprecated since 2.16.0, please use the [setEffectsBeautyParam] function instead.')
Future<void> setBeautifyOption(
  1. ZegoBeautifyOption option,
  2. {ZegoPublishChannel? channel}
)

Deprecated Set beautify option. Deprecated since 2.16.0, please use the setEffectsBeautyParam function instead.

Available since: 1.1.0 Description: set beautify option for main publish channel. Use cases: Often used in video call, live broadcasting. When to call: It needs to be called after createEngine. Restrictions: None. Caution: In the case of using a custom video capture function, because the developer has taken over the video data capturing, the SDK is no longer responsible for the video data capturing, call this function will not take effect. When using custom video processing, the video data collected by the SDK will be handed over to the business for further processing, call this function will not take effect either. Note: This function is only available in ZegoExpressVideo SDK!

@deprecated Deprecated since 2.16.0, please use the setEffectsBeautyParam function instead.

  • option Beautify option.
  • channel stream publish channel.

Implementation

@Deprecated(
    'Deprecated since 2.16.0, please use the [setEffectsBeautyParam] function instead.')
Future<void> setBeautifyOption(ZegoBeautifyOption option,
    {ZegoPublishChannel? channel}) async {
  return await ZegoExpressImpl.instance
      .setBeautifyOption(option, channel: channel);
}