enableVocalInstrumentBalance abstract method
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:
0
: Success.<0
: Failure. See ReturnStatus for the reason.
Notes: You must call this API before calling RTCMediaPlayer.start to start playing the audio.
Implementation
Future<int?> enableVocalInstrumentBalance(bool enable);