Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.AgoraVideoFrameSender Class Reference

Public Member Functions

 AgoraVideoFrameSender (long cptr)
native int send (ExternalVideoFrame frame)
void destroy ()

Detailed Description

The AgoraVideoFrameSender class.

In scenarios involving custom video sources, you can use this class to send the video data directly to a video track. If the video track is disabled, the sent data will be automatically discarded.

Constructor & Destructor Documentation

◆ AgoraVideoFrameSender()

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


Member Function Documentation

◆ destroy()

void io.agora.rtc.AgoraVideoFrameSender.destroy ( )


◆ send()

native int io.agora.rtc.AgoraVideoFrameSender.send ( ExternalVideoFrame  frame)

Sends the YUV video frame to the video track.

frameThe YUV video frame to send.
  • 0: Success.
  • < 0: Failure.

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