|
Agora Server Gateway SDK Java API Reference
|
Private Attributes | |
| int | type |
| int | format |
| java.nio.ByteBuffer | buffer |
| int | stride |
| int | height |
| int | cropLeft |
| int | cropTop |
| int | cropRight |
| int | cropBottom |
| int | rotation |
| long | timestamp |
| Object | eglContext |
| int | eglType |
| int | textureId |
| float | matrix |
| ByteBuffer | metadataBuffer |
| int | fillAlphaBuffer |
| ByteBuffer | alphaBuffer |
| int | alphaMode |
| ColorSpace | colorSpace |
The ExternalVideoFrame class.
|
private |
Portrait Segmentation meta buffer, dimension of which is the same as VideoFrame. The value range is [0,255], where 0 represents totally background, and 255 represents totally foreground. The default value is NULL.
|
private |
The relative positon between alphaBuffer and the frame.
0: (Default)Normal frame.1: alphaBuffer is above the frame.2: alphaBuffer is below the frame.3: alphaBuffer is on the left of the frame.4: alphaBuffer is on the right of the frame.
|
private |
The video buffer.
|
private |
The color space of the video frame. See ColorSpaceType.
|
private |
[Raw video data related] The number of pixels to be cut on the bottom. The default value is 0.
|
private |
[Raw video data related] The number of pixels to be cut on the left. The default value is 0.
|
private |
[Raw video data related] The number of pixels to be cut on the right. The default value is 0.
|
private |
[Raw video data related] The number of pixels to be cut on the top. The default value is 0.
|
private |
[Texture-related parameter]
|
private |
[Texture-related parameter] The EGL type.
|
private |
[For BGRA or RGBA only] Whether to extract alphaBuffer from BGRA or RGBA data.
true: Yes. Set it to true if you do not explicitly specify the alphaBuffer.false: (Default) No.
|
private |
The pixel format.
|
private |
The height of the video frame.
|
private |
[Texture-related parameter] 4x4 transformational matrix. The typical value is a unit matrix.
|
private |
[Texture related parameter] The MetaData buffer. Teh default value is NULL.
|
private |
[Raw video data related] Whether to rotate the video frame clockwise. You can set is as 0, 90, 180, and 270. The default value is 0.
|
private |
The stride in pixel of the video frame. For texture, this value indicates the width of the texture.
|
private |
[Texture-related parameter] The texture ID of the video frame.
|
private |
The timestamp (miliseconds) of the video frame. An incorrect timestamp leads to frame loss or unsynchronized audio and video.
|
private |
The data type of the video frame.
1.