Agora Java API Reference for Android

Public Member Functions | List of all members
agora::rtc::IAudioEncodedFrameReceiver Class Referenceabstract

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

## 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.