Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::rtc::IAudioEncodedFrameReceiver Class Referenceabstract

`#include <NGIAgoraMediaNode.h>`

## Public Member Functions
virtual bool | onEncodedAudioFrameReceived (const uint8_t *packet, size_t length, const media::base::AudioEncodedFrameInfo &info)=0
virtual | ~IAudioEncodedFrameReceiver ()

## Constructor & Destructor Documentation

## ◆ ~IAudioEncodedFrameReceiver()

virtual agora::rtc::IAudioEncodedFrameReceiver::~IAudioEncodedFrameReceiver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onEncodedAudioFrameReceived()

virtual bool agora::rtc::IAudioEncodedFrameReceiver::onEncodedAudioFrameReceived | ( | const uint8_t * | packet,
|  | size_t | length,
|  | const media::base::AudioEncodedFrameInfo & | info )
| pure virtual

Occurs when the track receives an audio encodeed frame packet.

Parameters

  packet | The pointer to the audio packet.
  length | The length of the packet.
  info | The packet info.