AgoraRtcAudioVolumeInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraObjects.h |
uid
The user ID.
@property (assign, nonatomic) NSUInteger uidDiscussion
- In the local user’s callback,
uid= 0. - In the remote users' callback,
uidis the ID of a remote user whose instantaneous volume is one of the three highest.
Declared In
AgoraObjects.h
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.
@property (assign, nonatomic) NSUInteger volumeDeclared In
AgoraObjects.h
vad
Voice activity status of the local user.
@property (assign, nonatomic) NSUInteger vadDiscussion
- 0: The local user is not speaking.
- 1: The local user is speaking.
Note
- The
vadparameter cannot report the voice activity status of the remote users. In the remote users' callback,vadis always 1. - To use this parameter, you must set the
report_vadparameter toYESwhen calling enableAudioVolumeIndication.
Declared In
AgoraObjects.h
channelId
The name of the channel where the user is in.
@property (copy, nonatomic) NSString *channelIdDeclared In
AgoraObjects.h