Public Attributes | |
int | uid |
int | volume |
int | vad |
String | channelId |
Properties of the audio volume information. An array containing the user ID and volume information for each speaker.
int io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.uid |
The user ID of the speaker. The uid of the local user is 0.
int io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.volume |
The sum of the voice volume and audio-mixing volume of the speaker. The value ranges between 0 (lowest volume) and 255 (highest volume).
int io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.vad |
Voice activity status of the local user.
vad
parameter cannot report the voice activity status of the remote users. In the remote users' callback, vad
= 0.report_vad
(true) in the enableAudioVolumeIndication method to enable the voice activity detection of the local user. String io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.channelId |
The channel ID, which indicates which channel the speaker is in.