AgoraRtcAudioVolumeInfo Class Reference
Properties of the audio volume information.
User ID of the speaker.
uidof the audio recording device is
0, and the
uidof the audio playback device is
@property (assign, nonatomic) NSUInteger uid
The sum of the voice volume and audio-mixing volume of the speaker. The value ranges between 0 (lowest volume) and 255 (highest volume).
@property (assign, nonatomic) NSUInteger volume
Voice activity status of the local user.
@property (assign, nonatomic) NSUInteger vad
- 0: The local user is not speaking.
- 1: The local user is speaking.
vadparameter cannot report the voice activity status of the remote users. In the remote users' callback,
- Ensure that you set
enableAudioVolumeIndicationmethod to enable the voice activity detection of the local user.
The channel ID, which indicates which channel the speaker is in.
@property (copy, nonatomic) NSString *channelId