enableAudioVolumeEvaluation abstract method
Enable volume reminder
After this feature is enabled, the SDK will return the audio volume assessment information of the local user who sends stream and remote users in the TRTCCloudListener.onUserVoiceVolume
Parameters:
- enable(bool):
- Whether to enable the volume prompt. It’s disabled by default.
- params(TRTCAudioVolumeEvaluateParams):
- Volume evaluation and other related parameters.
Note: To enable this feature, call this API before calling startLocalAudio .
Implementation
void enableAudioVolumeEvaluation(bool enable, TRTCAudioVolumeEvaluateParams params);