Agora RTC Objective-C API Reference Refactor

Public Member Functions
IAudioEncodedFrameReceiver Class Referenceabstract

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

## Constructor & Destructor Documentation

## ◆ ~IAudioEncodedFrameReceiver()

virtual ~IAudioEncodedFrameReceiver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onEncodedAudioFrameReceived()

virtual bool 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.