Agora Server Gateway SDK C++ API Reference
Public Member Functions | List of all members
agora::rtc::IVideoFrameObserver2 Class Referenceabstract

#include <NGIAgoraLocalUser.h>

Public Member Functions

virtual void onFrame (const char *channelId, user_id_t remoteUid, const media::base::VideoFrame *frame)=0
 
virtual ~IVideoFrameObserver2 ()
 

Constructor & Destructor Documentation

◆ ~IVideoFrameObserver2()

virtual agora::rtc::IVideoFrameObserver2::~IVideoFrameObserver2 ( )
inlinevirtual

Member Function Documentation

◆ onFrame()

virtual void agora::rtc::IVideoFrameObserver2::onFrame ( const char *  channelId,
user_id_t  remoteUid,
const media::base::VideoFrame frame 
)
pure virtual

Occurs each time the player receives a video frame.

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

Parameters
channelIdThe channel name
remoteUidID of the remote user.
frameThe detailed information of the video frame.

The documentation for this class was generated from the following file: