#include <NGIAgoraMediaNode.h>
|
| virtual bool | onAudioFrame (const media::base::AudioPcmFrame &audioFrame)=0 |
| |
The IAudioSinkBase class is the base class for the audio sink. You can use this class to implement your own sink and add the sink to an audio track.
◆ ~IAudioSinkBase()
| agora::rtc::IAudioSinkBase::~IAudioSinkBase |
( |
| ) |
|
|
inlineprotected |
◆ onAudioFrame()
| virtual bool agora::rtc::IAudioSinkBase::onAudioFrame |
( |
const media::base::AudioPcmFrame & |
audioFrame | ) |
|
|
pure virtual |
Gets the audio frame.
- Parameters
-
| audioFrame | Audio frame: AudioPcmFrame. |
- Returns
true: Success.
false: Failure.
The documentation for this class was generated from the following file: