NERtc Windows SDK  V4.4.301
Public 属性 | 所有成员列表
nertc::NERtcImageWatermarkConfig结构体 参考

#include <nertc_engine_defines.h>

Public 属性

char image_paths [10][kNERtcMaxURILength]
 
int offset_x
 
int offset_y
 
int image_width
 
int image_height
 
int fps
 
bool loop
 

详细描述

Sets the parameters for image watermarks.

You can add up to 4 picture watermarks.

类成员变量说明

◆ fps

int nertc::NERtcImageWatermarkConfig::fps

The frame rate. The default value is 0 fps, which indicates that the images are not flipped automatically. Images are displayed in static single frames. Note: The frame rate for clients on Windows does not exceed 20 fps.

◆ image_height

int nertc::NERtcImageWatermarkConfig::image_height

The height of the watermark image. Unit: pixels. The default value is 0, which indicates that the height of the original image is applied.

◆ image_paths

char nertc::NERtcImageWatermarkConfig::image_paths[10][kNERtcMaxURILength]

Watermark image path. The setting is invalid if left empty.

◆ image_width

int nertc::NERtcImageWatermarkConfig::image_width

The width of the watermark image. Unit: pixels. The default value is 0, which indicates that the width of the original image is applied.

◆ loop

bool nertc::NERtcImageWatermarkConfig::loop

Specifies whether to loop. By default, loop is enabled. If the value is set to false, the watermarks disappear when the playback is complete.

◆ offset_x

int nertc::NERtcImageWatermarkConfig::offset_x

The horizontal distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels. The default value is 0.

◆ offset_y

int nertc::NERtcImageWatermarkConfig::offset_y

The vertical distance between the upper left corner of the watermark and the upper left corner of the video canvas. Unit: pixels. The default value is 0.


该结构体的文档由以下文件生成: