Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | List of all members
agora::media::base::IVideoFrameObserverEx Class Referenceabstract

`#include <media_engine_i.h>`

Inherits agora::media::base::IVideoFrameObserver.

## Public Member Functions
virtual | ~IVideoFrameObserverEx ()
void | onFrame (const VideoFrame *frame) final
bool | isExternal () final
virtual void | onFrame (const webrtc::VideoFrame &frame)=0
Public Member Functions inherited from agora::media::base::IVideoFrameObserver
virtual | ~IVideoFrameObserver ()
virtual VIDEO_PIXEL_FORMAT | getVideoFormatPreference ()

## Constructor & Destructor Documentation

## ◆ ~IVideoFrameObserverEx()

virtual agora::media::base::IVideoFrameObserverEx::~IVideoFrameObserverEx | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onFrame() [1/2]

void agora::media::base::IVideoFrameObserverEx::onFrame | ( | const VideoFrame * | frame | ) |
| inline final virtual

Occurs each time the player receives a video frame.

After registering the video frame observer, the callback occurs every time the player receives a video frame, reporting the detailed information of the video frame.

Parameters

  frame | The video frame information. See VideoFrame.

Implements agora::media::base::IVideoFrameObserver.

## ◆ isExternal()

bool agora::media::base::IVideoFrameObserverEx::isExternal | ( |  | ) |
| inline final virtual

Reimplemented from agora::media::base::IVideoFrameObserver.

## ◆ onFrame() [2/2]

virtual void agora::media::base::IVideoFrameObserverEx::onFrame | ( | const webrtc::VideoFrame & | frame | ) |
| pure virtual