Agora Java API Reference for Android
Public Attributes | List of all members
agora::rtc::WatermarkBuffer Struct Reference

Defines the configuration for a buffer watermark. More...

#include <AgoraBase.h>

Public Attributes

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

Detailed Description

Defines the configuration for a buffer watermark.

Since
4.6.0

Member Data Documentation

◆ width

int agora::rtc::WatermarkBuffer::width

The width of the watermark buffer.

◆ height

int agora::rtc::WatermarkBuffer::height

The height of the watermark buffer.

◆ length

int agora::rtc::WatermarkBuffer::length

The length of the watermark buffer.

◆ format

media::base::VIDEO_PIXEL_FORMAT agora::rtc::WatermarkBuffer::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* agora::rtc::WatermarkBuffer::buffer

The buffer data of the watermark.

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