AgoraRtcAudioVolumeInfo Class Reference

Inherits from NSObject
Declared in AgoraObjects.h


Properties of the audio volume information.


User ID of the speaker. The uid of the local user is 0.

@property (assign, nonatomic) NSUInteger uid

Declared In



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

Declared In



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.


  • The vad parameter cannot report the voice activity status of the remote users. In the remote users' callback, vad = 0.
  • Ensure that you set report_vad(YES) in the enableAudioVolumeIndication method to enable the voice activity detection of the local user.

Declared In



The channel ID, which indicates which channel the speaker is in.

@property (copy, nonatomic) NSString *channelId

Declared In