enableVideoEncoderEnhancement method

Future<void> enableVideoEncoderEnhancement(
  1. bool enable,
  2. double enhanceLevel,
  3. {ZegoPublishChannel? channel}
)

Enable video encoder enhancement.

Available since: 3.23.0 Description: Call this function to enable or disable video encoder enhancement. Use cases: Commonly used in video calling, live streaming, and similar scenarios. Default value: When this function is not called, video encoder enhancement is not enabled by default. When to call: It needs to be called after createEngine. Note: This function is only available in ZegoExpressVideo SDK!

  • enable Whether to enable, true: enable, false: disable
  • enhanceLevel enhance_level 0.0,1.5, advise 0.9
  • channel Publish stream channel.

Implementation

Future<void> enableVideoEncoderEnhancement(bool enable, double enhanceLevel,
    {ZegoPublishChannel? channel}) async {
  return await ZegoExpressImpl.instance
      .enableVideoEncoderEnhancement(enable, enhanceLevel, channel: channel);
}