class AgoraVideoFrameSender
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private long |
cptr
Native pointer to the video frame sender instance.
|
| Constructor and Description |
|---|
AgoraVideoFrameSender(long cptr)
Constructs a video frame sender.
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroys the video frame sender
|
private void |
nativeDestroy(long cptr)
Releases the native video frame sender handle.
|
private int |
nativeSend(long cptr,
ExternalVideoFrame frame)
Sends a video frame natively.
|
int |
sendVideoFrame(ExternalVideoFrame frame)
Sends a video frame to the Agora server
|
public AgoraVideoFrameSender(long cptr)
cptr - Native pointer to the sender instancepublic int sendVideoFrame(ExternalVideoFrame frame)
frame - The video frame to sendpublic void destroy()
private void nativeDestroy(long cptr)
cptr - Native pointer to the sender instanceprivate int nativeSend(long cptr,
ExternalVideoFrame frame)
cptr - Native pointer to the sender instanceframe - External video frame to send