setLocalVoiceReverb abstract method

Future<void> setLocalVoiceReverb({
  1. required AudioReverbType reverbKey,
  2. required int value,
})

Sets the local voice reverberation.

The SDK provides an easier-to-use method, setAudioEffectPreset, to directly implement preset reverb effects for such as pop, R&B, and KTV. You can call this method either before or after joining a channel.

  • reverbKey The reverberation key. Agora provides five reverberation keys, see AudioReverbType.
  • value The value of the reverberation key.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setLocalVoiceReverb(
    {required AudioReverbType reverbKey, required int value});