io.agora.rtc

## Class AgoraVideoFrameSender

- java.lang.Object
- - io.agora.rtc.AgoraVideoFrameSender

-     public class AgoraVideoFrameSender
      extends java.lang.Object

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `private long` | `cptr`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AgoraVideoFrameSender(long cptr)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `destroy()` Destroys the video frame sender
    `private void` | `nativeDestroy(long cptr)`
    `private int` | `nativeSend(long cptr, ExternalVideoFrame frame)`
    `int` | `sendVideoFrame(ExternalVideoFrame frame)` Sends a video frame to the Agora server

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### cptr

          private long cptr

  - ### Constructor Detail

    - #### AgoraVideoFrameSender

          public AgoraVideoFrameSender(long cptr)

  - ### Method Detail

    - #### sendVideoFrame

          public int sendVideoFrame(ExternalVideoFrame frame)

      Sends a video frame to the Agora server
      Parameters:
        `frame` - The video frame to send
      Returns:
        The result of sending the video frame

    - #### destroy

          public void destroy()

      Destroys the video frame sender

    - #### nativeDestroy

          private void nativeDestroy(long cptr)

    - #### nativeSend

          private int nativeSend(long cptr,
                                 ExternalVideoFrame frame)