Agora Java API Reference for Android
|
Public Member Functions | |
int | getHeight () |
byte[] | getMetadataBuffer () |
ByteBuffer | getBuffer () |
EglBase.Context | getEglContext () |
AgoraRteEglContextType | getEglType () |
int | getCropBottom () |
int | getCropLeft () |
int | getCropRight () |
int | getCropTop () |
int | getMetadataSize () |
int | getRotation () |
int | getStride () |
int | getTextureId () |
long | getTimestamp () |
AgoraRteVideoBufferType | getType () |
AgoraRteVideoPixelFormat | getFormat () |
Public Attributes | |
AgoraRteVideoBufferType | type |
AgoraRteVideoPixelFormat | format |
ByteBuffer | buffer |
int | stride |
int | height |
int | cropLeft |
int | cropTop |
int | cropRight |
int | cropBottom |
int | rotation |
long | timestamp |
EglBase.Context | eglContext |
AgoraRteEglContextType | eglType |
int | textureId |
byte[] | metadataBuffer |
int | metadataSize |
AgoraRteVideoBufferType io.agora.rte.media.data.AgoraRteExternalVideoFrame.type |
The buffer type: #VIDEO_BUFFER_TYPE.
AgoraRteVideoPixelFormat io.agora.rte.media.data.AgoraRteExternalVideoFrame.format |
The pixel format: #VIDEO_PIXEL_FORMAT
ByteBuffer io.agora.rte.media.data.AgoraRteExternalVideoFrame.buffer |
The video buffer.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.stride |
The line spacing of the incoming video frame (px). For texture, it is the width of the texture.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.height |
The height of the incoming video frame.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.cropLeft |
[Raw data related parameter] The number of pixels trimmed from the left. The default value is 0.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.cropTop |
[Raw data related parameter] The number of pixels trimmed from the top. The default value is 0.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.cropRight |
[Raw data related parameter] The number of pixels trimmed from the right. The default value is 0.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.cropBottom |
[Raw data related parameter] The number of pixels trimmed from the bottom. The default value is 0.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.rotation |
[Raw data related parameter] The clockwise rotation information of the video frame. You can set the rotation angle as 0, 90, 180, or 270. The default value is 0.
long io.agora.rte.media.data.AgoraRteExternalVideoFrame.timestamp |
The timestamp (ms) of the incoming video frame. An incorrect timestamp results in a frame loss or unsynchronized audio and video.
EglBase.Context io.agora.rte.media.data.AgoraRteExternalVideoFrame.eglContext |
[Texture-related parameter] When using the OpenGL interface (javax.microedition.khronos.egl.*) defined by Khronos, set EGLContext to this field. When using the OpenGL interface (android.opengl.*) defined by Android, set EGLContext to this field.
AgoraRteEglContextType io.agora.rte.media.data.AgoraRteExternalVideoFrame.eglType |
[Texture related parameter] Texture ID used by the video frame.
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.textureId |
[Texture related parameter] Incoming 4 × 4 transformational matrix. The typical value is a unit matrix.
byte [] io.agora.rte.media.data.AgoraRteExternalVideoFrame.metadataBuffer |
[Texture related parameter] The MetaData buffer. The default value is NULL
int io.agora.rte.media.data.AgoraRteExternalVideoFrame.metadataSize |
[Texture related parameter] The MetaData size. The default value is 0