NERtc Windows SDK
V4.4.301
|
#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.
int nertc::NERtcTimestampWatermarkConfig::font_color |
The font color. ARGB format.
char nertc::NERtcTimestampWatermarkConfig::font_path[kNERtcMaxURILength] |
The font path. If this setting is left empty, the default system font is used.
int nertc::NERtcTimestampWatermarkConfig::font_size |
The font size. The default value is 10, equivalent to 10 x 15 lb on a 144 dpi device.
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.
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.
int nertc::NERtcTimestampWatermarkConfig::ts_type |
Timestamp type. Valid values:
int nertc::NERtcTimestampWatermarkConfig::wm_color |
The background color in the watermark frame. ARGB format. Transparency setting is supported.
int nertc::NERtcTimestampWatermarkConfig::wm_height |
The height of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.
int nertc::NERtcTimestampWatermarkConfig::wm_width |
The width of the watermark frame. Unit: pixels. The default value is 0, which indicates no watermark frame.