Agora RTC Objective-C API Reference Refactor

Public Member Functions
IVideoFrameObserver Class Referenceabstract

## Public Member Functions
virtual void | onFrame (const VideoFrame *frame)=0

## Detailed Description

The IVideoFrameObserver class.

## Constructor & Destructor Documentation

## ◆ ~IVideoFrameObserver()

virtual ~IVideoFrameObserver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onFrame()

virtual void onFrame | ( | const VideoFrame * | frame | ) |
| pure virtual

Occurs each time the player receives a video frame.

After registering the video frame observer, the callback occurs each time the player receives a video frame to report the detailed information of the video frame.

Parameters

  frame | The detailed information of the video frame. See VideoFrame.

## ◆ isExternal()

virtual bool isExternal | ( |  | ) |
| inline virtual

## ◆ getVideoFormatPreference()

virtual VIDEO_PIXEL_FORMAT getVideoFormatPreference | ( |  | ) |
| inline virtual