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

Constructor & Destructor Documentation

◆ WatermarkBuffer()

WatermarkBuffer ( )
inline

Field Documentation

◆ width

int width

The width of the watermark buffer.

◆ height

int height

The height of the watermark buffer.

◆ length

int length

The length of the watermark buffer.

◆ format

The format of the watermark buffer. The default value is #VIDEO_PIXEL_I420. Currently supports: #VIDEO_PIXEL_I420, #VIDEO_PIXEL_RGBA, #VIDEO_PIXEL_BGRA, and #VIDEO_PIXEL_NV21.

◆ buffer

const uint8_t* buffer

The buffer data of the watermark.

Note
If used asynchronously, copy the buffer to memory that will not be released.