Agora Server Gateway SDK C++ API Reference
|
#include <NGIAgoraMediaNode.h>
Public Member Functions | |
virtual bool | sendEncodedVideoImage (const uint8_t *imageBuffer, size_t length, const EncodedVideoFrameInfo &videoEncodedFrameInfo)=0 |
Protected Member Functions | |
~IVideoEncodedImageSender () | |
The IVideoEncodedImageSender
class.
In scenarios involving custom video sources, you can use this class to send the encoded video data directly to the video track. If the video track is disabled, the sent video image will be automatically discarded.
|
inlineprotected |
|
pure virtual |
Sends the encoded video image to the video track.
imageBuffer | The video buffer. |
length | The data length of the video data. |
videoEncodedFrameInfo | The reference to the information of the encoded video frame: EncodedVideoFrameInfo. |
true
: Success.false
: Failure.