|
Agora Java API Reference for Android
|
The volume information of users. More...
Public Attributes | |
| int | uid |
| int | volume |
| int | vad |
| double | voicePitch |
The volume information of users.
| int io.agora.rtc2.IRtcEngineEventHandler.AudioVolumeInfo.uid |
The user ID.
uid is 0.uid is the user ID of a remote user whose instantaneous volume is the highest. | int io.agora.rtc2.IRtcEngineEventHandler.AudioVolumeInfo.volume |
The volume of the user. The value ranges between 0 (the lowest volume) and 255 (the highest volume). If the local user enables audio capturing and calls muteLocalAudioStream and set it as true to mute, the value of volume indicates the volume of locally captured audio signal. If the user calls startAudioMixing(String filePath, boolean loopback, int cycle, int startPos), the value of volume indicates the volume after audio mixing.
| int io.agora.rtc2.IRtcEngineEventHandler.AudioVolumeInfo.vad |
Voice activity status of the local user.
vad parameter does not report the voice activity status of remote users. In a remote user's callback, the value of vad is always 1.reportVad to true when calling enableAudioVolumeIndication. | double io.agora.rtc2.IRtcEngineEventHandler.AudioVolumeInfo.voicePitch |
The voice pitch of the local user. The value ranges between 0.0 and 4000.0.
voicePitch parameter does not report the voice pitch of remote users. In the remote users' callback, the value of voicePitch is always 0.0.
1.8.18