setVoiceChangerType method
void
setVoiceChangerType(
- ZegoVoiceChangerPreset voicePreset
Set voice changing Description: This method can be used to change the voice with voice effects.
Call this method at: After joining a room
@param voicePreset refers to the voice type you want to changed to.
Implementation
void setVoiceChangerType(ZegoVoiceChangerPreset voicePreset) {
ZegoLoggerService.logInfo(
'set voice changing type: $voicePreset',
tag: 'uikit',
subTag: 'effect service',
);
ZegoExpressEngine.instance.setVoiceChangerPreset(voicePreset);
}