enableVideoEncoderEnhancementWithConfig method
Future<void>
enableVideoEncoderEnhancementWithConfig(
- bool enable,
- ZegoVideoEncoderEnhancementConfig config, {
- 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!
enableWhether to enable, true: enable, false: disableconfigvideo encoder enhancement configchannelPublish stream channel.
Implementation
Future<void> enableVideoEncoderEnhancementWithConfig(
bool enable, ZegoVideoEncoderEnhancementConfig config,
{ZegoPublishChannel? channel}) async {
return await ZegoExpressImpl.instance
.enableVideoEncoderEnhancementWithConfig(enable, config,
channel: channel);
}