Agora RTC Objective-C API Reference Refactor

Public Member Functions
IAudioPcmFrameSink Class Referenceabstract

## Public Member Functions
virtual void | onFrame (agora::media::base::AudioPcmFrame *frame)=0

## Detailed Description

The audio frame observer.

## Constructor & Destructor Documentation

## ◆ ~IAudioPcmFrameSink()

virtual ~IAudioPcmFrameSink | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ onFrame()

virtual void onFrame | ( | agora::media::base::AudioPcmFrame * | frame | ) |
| pure virtual

Occurs when each time the player receives an audio frame.

After registering the audio frame observer, the callback occurs when each time the player receives an audio frame, reporting the detailed information of the audio frame.

Parameters

  frame | The detailed information of the audio frame. See AudioPcmFrame.