setLocalVoiceChanger method
Sets the local voice changer option.
Deprecated
This method is deprecated since v3.2.1. Use RtcEngine.setAudioEffectPreset or RtcEngine.setVoiceBeautifierPreset instead.
Note
- Do not use this method together with RtcEngine.setLocalVoiceReverbPreset, or the method called earlier does not take effect.
Parameter voiceChanger
The local voice changer option. See AudioVoiceChanger.
Implementation
@override
@deprecated
Future<void> setLocalVoiceChanger(AudioVoiceChanger voiceChanger) {
return _invokeMethod('setLocalVoiceChanger',
{'voiceChanger': AudioVoiceChangerConverter(voiceChanger).value()});
}