vad property

int? vad
getter/setter pair

Voice activity status of the local user.

  • 0: The local user is not speaking.
  • 1: The local user is speaking.

Note

  • 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(true) in the RtcEngine.enableAudioVolumeIndication method to enable the voice activity detection of the local user.

Implementation

int? vad;