|
Agora Java API Reference for Android
|
Configures the format, size, and pixel buffer of the watermark image. More...
#include <AgoraBase.h>
Public Attributes | |
| int | width |
| int | height |
| int | length |
| media::base::VIDEO_PIXEL_FORMAT | format |
| const uint8_t * | buffer |
Configures the format, size, and pixel buffer of the watermark image.
Defines the buffer data structure of the watermark image, including image width, height, format, length, and image data buffer.
| int agora::rtc::WatermarkBuffer::width |
Width of the watermark buffer, in pixels.
| int agora::rtc::WatermarkBuffer::height |
Height of the watermark buffer, in pixels.
| int agora::rtc::WatermarkBuffer::length |
Length of the watermark buffer, in bytes.
| media::base::VIDEO_PIXEL_FORMAT agora::rtc::WatermarkBuffer::format |
Format of the watermark buffer. See VIDEO_PIXEL_FORMAT. Default is VIDEO_PIXEL_I420. Currently supported formats include: VIDEO_PIXEL_I420, VIDEO_PIXEL_RGBA, VIDEO_PIXEL_BGRA, and VIDEO_PIXEL_NV21.
| const uint8_t* agora::rtc::WatermarkBuffer::buffer |
Buffer data of the watermark.
1.8.18