UserAudioSpectrumInfo
Audio spectrum information of the remote user.
struct UserAudioSpectrumInfo {
agora::rtc::uid_t uid;
struct AudioSpectrumData spectrumData;
UserAudioSpectrumInfo () : uid(0), spectrumData() {}
UserAudioSpectrumInfo(agora::rtc::uid_t _uid, const float *data, int length) :
uid(_uid) { spectrumData.audioSpectrumData = data; spectrumData.dataLength = length; }
};
Attributes
- uid
- The user ID of the remote user.
- spectrumData
-
Audio spectrum information of the remote user. See AudioSpectrumData.