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

#include <AgoraBase.h>

Public Member Functions

virtual bool OnEncodedVideoImageReceived (const uint8_t *imageBuffer, size_t length, const EncodedVideoFrameInfo &videoEncodedFrameInfo)=0
virtual ~IVideoEncodedImageReceiver ()

Detailed Description

The IVideoEncodedImageReceiver class.

Constructor & Destructor Documentation

◆ ~IVideoEncodedImageReceiver()

virtual agora::rtc::IVideoEncodedImageReceiver::~IVideoEncodedImageReceiver ( )

Member Function Documentation

◆ OnEncodedVideoImageReceived()

virtual bool agora::rtc::IVideoEncodedImageReceiver::OnEncodedVideoImageReceived ( const uint8_t *  imageBuffer,
size_t  length,
const EncodedVideoFrameInfo videoEncodedFrameInfo 
pure virtual

Occurs each time the SDK receives an encoded video image.

imageBufferThe pointer to the video image buffer.
lengthThe data length of the video image.
videoEncodedFrameInfoThe information of the encoded video frame: EncodedVideoFrameInfo.
Determines whether to accept encoded video image.
  • true: Accept.
  • false: Do not accept.

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