Agora RTC Objective-C API Reference  Refactor
Data Fields
WatermarkBuffer Struct Reference

Data Fields

int width
 
int height
 
int length
 
media::base::VIDEO_PIXEL_FORMAT format
 
const uint8_t * buffer
 

Detailed Description

Since
4.6.0

Defines the buffer data structure of the watermark image, including image width, height, format, length, and image data buffer.

Constructor & Destructor Documentation

◆ WatermarkBuffer()

WatermarkBuffer ( )
inline

Field Documentation

◆ width

int width

Width of the watermark buffer, in pixels.

◆ height

int height

Height of the watermark buffer, in pixels.

◆ length

int length

Length of the watermark buffer, in bytes.

◆ 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.

◆ buffer

const uint8_t* buffer

Buffer data of the watermark.