enableVoiceAITuner

Enables or disables the voice AI tuner.

virtual int enableVoiceAITuner(bool enabled, VOICE_AI_TUNER_TYPE type) = 0;
Since
v4.4.0

The voice AI tuner supports enhancing sound quality and adjusting tone style.

Applicable scenarios

Social entertainment scenes including online KTV, online podcast and live streaming in showrooms, where high sound quality is required.

Call timing

This method can be called either before or after joining the channel.

Restrictions

None.

Parameters

enabled
Whether to enable the voice AI tuner:
  • true: Enables the voice AI tuner.
  • false: (Default) Disable the voice AI tuner.
type
Voice AI tuner sound types, see VOICE_AI_TUNER_TYPE.

Returns

  • 0: Success.
  • < 0: Failure.