enableVocalInstrumentBalance abstract method

Future<int?> enableVocalInstrumentBalance(
  1. bool enable
)

Enables/disables the loudness equalization function.

If you call this API with the parameter set to True, the loudness of user's voice will be adjusted to -16lufs.
If then you also call RTCMediaPlayer.setLoudness and import the original loudness of the audio data used in audio mixing, the loudness will be adjusted to -20lufs when the audio data starts to play.

Return value:

Notes: You must call this API before calling RTCMediaPlayer.start to start playing the audio.

Implementation

Future<int?> enableVocalInstrumentBalance(bool enable);