Package io.agora.rtc2
Class IRtcEngineEventHandler.AudioVolumeInfo
java.lang.Object
io.agora.rtc2.IRtcEngineEventHandler.AudioVolumeInfo
- Enclosing class:
- IRtcEngineEventHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe user ID.intVoice activity status of the local user.doubleThe voice pitch of the local user.intThe volume of the user. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
uid
public int uidThe user ID. - In the local user's callback, `uid` is 0. - In the remote users' callback, `uid` is the user ID of a remote user whose instantaneous volume is the highest. -
volume
public int volumeThe volume of the user. The value ranges between 0 (the lowest volume) and 255 (the highest volume). If the local user enables audio capturing and calls `muteLocalAudioStream` and set it as `true` to mute, the value of `volume` indicates the volume of locally captured audio signal. If the user calls `startAudioMixing(String filePath, boolean loopback, int cycle, int startPos)`, the value of `volume` indicates the volume after audio mixing. -
vad
public int vadVoice activity status of the local user. - 0: The local user is not speaking. - 1: The local user is speaking. -
voicePitch
public double voicePitchThe voice pitch of the local user. The value ranges between 0.0 and 4000.0.
-
-
Constructor Details
-
AudioVolumeInfo
public AudioVolumeInfo()
-