|
Voice SDK v3.7.1 API Reference for All Platforms (C++)
|
Public Attributes | |
| uid_t | uid |
| unsigned int | volume |
| unsigned int | vad |
| const char * | channelId |
The volume information of users.
| uid_t agora::rtc::AudioVolumeInfo::uid |
The user ID.
uid = 0.uid is the ID of a remote user whose instantaneous volume is one of the three highest. | unsigned int agora::rtc::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.
| unsigned int agora::rtc::AudioVolumeInfo::vad |
Voice activity status of the local user.
0: The local user is not speaking.1: The local user is speaking.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. | const char* agora::rtc::AudioVolumeInfo::channelId |
The name of the channel where the user is in.