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

#include <nertc_engine_defines.h>

Public 属性

char font_path [kNERtcMaxURILength]
 
int font_size
 
int font_color
 
int offset_x
 
int offset_y
 
int wm_color
 
int wm_width
 
int wm_height
 
int ts_type
 

详细描述

Sets a timestamp watermark.

类成员变量说明

◆ font_color

int nertc::NERtcTimestampWatermarkConfig::font_color

The font color. ARGB format.

◆ font_path

char nertc::NERtcTimestampWatermarkConfig::font_path[kNERtcMaxURILength]

The font path. If this setting is left empty, the default system font is used.

◆ font_size

int nertc::NERtcTimestampWatermarkConfig::font_size

The font size. The default value is 10, equivalent to 10 x 15 lb on a 144 dpi device.

◆ offset_x

int nertc::NERtcTimestampWatermarkConfig::offset_x

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

◆ offset_y

int nertc::NERtcTimestampWatermarkConfig::offset_y

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

◆ ts_type

int nertc::NERtcTimestampWatermarkConfig::ts_type

Timestamp type. Valid values:

  • 1: yyyy-MM-dd HH:mm:ss.
  • 2: yyyy-MM-dd HH:mm:ss.SSS. Unit: milliseconds.

◆ wm_color

int nertc::NERtcTimestampWatermarkConfig::wm_color

The background color in the watermark frame. ARGB format. Transparency setting is supported.

◆ wm_height

int nertc::NERtcTimestampWatermarkConfig::wm_height

The height of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.

◆ wm_width

int nertc::NERtcTimestampWatermarkConfig::wm_width

The width of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.


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