Agora C++ API Reference for All Platforms

Public Member Functions | Public Attributes | List of all members
agora::rtc::AudioVolumeInformation Struct Reference

## Public Member Functions
| AudioVolumeInformation ()

## Public Attributes
user_id_t | userId
unsigned int | volume
unsigned int | vad
double | voicePitch

## Detailed Description

The definition of the AudioVolumeInformation struct.

## Constructor & Destructor Documentation

## ◆ AudioVolumeInformation()

agora::rtc::AudioVolumeInformation::AudioVolumeInformation | ( |  | ) |
| inline

## Member Data Documentation

## ◆ userId

user_id_t agora::rtc::AudioVolumeInformation::userId

User ID of the speaker.

## ◆ volume

unsigned int agora::rtc::AudioVolumeInformation::volume

The volume of the speaker that ranges from 0 to 255.

## ◆ vad

unsigned int agora::rtc::AudioVolumeInformation::vad

## ◆ voicePitch

double agora::rtc::AudioVolumeInformation::voicePitch

Voice pitch frequency in Hz