AgoraRtcAudioVolumeInfo Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | AgoraObjects.h |
uid
User ID of the speaker. The uid of the local user is 0.
@property (assign, nonatomic) NSUInteger uidDeclared In
AgoraObjects.h
volume
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 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,vad= 0. - Ensure that you set
report_vad(YES)in theenableAudioVolumeIndicationmethod to enable the voice activity detection of the local user.
Declared In
AgoraObjects.h
channelId
The channel ID, which indicates which channel the speaker is in.
@property (copy, nonatomic) NSString *channelIdDeclared In
AgoraObjects.h
