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.
uid
= 0.uid
is the ID of a remote user whose instantaneous volume is one of the three highest. int io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.volume |
The volume of each user after audio mixing. The value ranges between 0 (lowest volume) and 255 (highest volume). In the local user's callback, volume
= totalVolume
.
int io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.vad |
Voice activity status of the local user.
vad
parameter cannot report the voice activity status of remote users. In the remote users' callback, vad
is always 1.report_vad
parameter to true
when calling enableAudioVolumeIndication. String io.agora.rtc.IRtcEngineEventHandler.AudioVolumeInfo.channelId |
The name of the channel where the user is in.