Agora RTC Objective-C API Reference
Refactor
|
Inherits <NSObject>.
Instance Methods | |
(BOOL) | - onLocalAudioSpectrum: |
(BOOL) | - onRemoteAudioSpectrum: |
|
optional |
Reports the audio spectrum of audio recording.
This callback reports the audio spectrum data of the audio recording at the moment in the channel.
You can set the time interval of this callback using "enableAudioSpectrumMonitor".
audioSpectrumData | The audio spectrum data of audio recording.
|
|
optional |
Reports the audio spectrum of remote user.
This callback reports the IDs and audio spectrum data of the loudest speakers at the moment in the channel.
You can set the time interval of this callback using "enableAudioSpectrumMonitor".
AudioSpectrumInfo | The pointer to AudioSpectrumInfo, which is an array containing the user ID and audio spectrum data for each speaker.
|