Agora Server Gateway SDK C++ API Reference
|
#include <NGIAgoraMediaNode.h>
Public Member Functions | |
virtual bool | onAudioFrame (const media::base::AudioPcmFrame &audioFrame)=0 |
Protected Member Functions | |
~IAudioSinkBase () | |
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.
|
inlineprotected |
|
pure virtual |
Gets the audio frame.
audioFrame | Audio frame: AudioPcmFrame. |
true
: Success.false
: Failure.