Agora Server Gateway SDK Java API Reference
Loading...
Searching...
No Matches
io.agora.rtc.AgoraVideoEncodedImageSender Class Reference

Public Member Functions

 AgoraVideoEncodedImageSender (long cptr)
 
int sendEncodedVideoImage (byte[] imageBuffer, EncodedVideoFrameInfo info)
 

Detailed Description

The AgoraVideoEncodedImageSender 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.

Constructor & Destructor Documentation

◆ AgoraVideoEncodedImageSender()

io.agora.rtc.AgoraVideoEncodedImageSender.AgoraVideoEncodedImageSender ( long cptr)

Constructor.

Member Function Documentation

◆ sendEncodedVideoImage()

int io.agora.rtc.AgoraVideoEncodedImageSender.sendEncodedVideoImage ( byte[] imageBuffer,
EncodedVideoFrameInfo info )

Sends an encoded video image to the Agora server.

Parameters
imageBufferThe encoded video image data.
infoThe information about the encoded video image: EncodedVideoFrameInfo.
Returns
The result of sending the encoded video image.

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