setVoiceChangerType abstract method

Future<int?> setVoiceChangerType(
  1. VoiceChangerType voiceChanger
)

Sets the type of voice change effect.

See ReturnStatus for return values.

  • You can call this API anytime before or after entering the room.
  • This method only works for mono audio.
  • The version of the RTC SDK you are using must provide sound effect function
  • This method is mutually exclusive with RTCVideo.setVoiceReverbType, the effects set later will override the effects set first.

Implementation

Future<int?> setVoiceChangerType(VoiceChangerType voiceChanger);