NERtc Windows SDK  V5.5.40
Public 属性 | 所有成员列表
nertc::NERtcVideoWatermarkTimestampConfig结构体 参考

#include <nertc_engine_defines.h>

Public 属性

char font_name [kNERtcMaxURILength]
 
int font_color
 
int font_size
 
int wm_color
 
float wm_alpha
 
int wm_width
 
int wm_height
 
int offset_x
 
int offset_y
 

详细描述

时间戳水印设置。

类成员变量说明

◆ font_color

int nertc::NERtcVideoWatermarkTimestampConfig::font_color

字体颜色。ARGB 格式。默认为 0xFFFFFFFF,即白色。

◆ font_name

char nertc::NERtcVideoWatermarkTimestampConfig::font_name[kNERtcMaxURILength]

字体名称。

◆ font_size

int nertc::NERtcVideoWatermarkTimestampConfig::font_size

字体大小。默认值为 15,单位为像素(px)。

◆ offset_x

int nertc::NERtcVideoWatermarkTimestampConfig::offset_x

水平左上角与视频图像左上角的水平距离,单位为像素,默认值为 0。

◆ offset_y

int nertc::NERtcVideoWatermarkTimestampConfig::offset_y

水平左上角与视频图像左上角的垂直距离,单位为像素,默认值为 0。

◆ wm_alpha

float nertc::NERtcVideoWatermarkTimestampConfig::wm_alpha

整体水印透明度,取值范围为 0.0 ~ 1.0,默认值为 1.0,表示不透明。

◆ wm_color

int nertc::NERtcVideoWatermarkTimestampConfig::wm_color

水印框内背景颜色。ARGB 格式,默认为 0x88888888,即灰色。
支持透明度设置。

◆ wm_height

int nertc::NERtcVideoWatermarkTimestampConfig::wm_height

水印框高度,单位为像素(px) ,默认值为 0,表示没有水印框。

◆ wm_width

int nertc::NERtcVideoWatermarkTimestampConfig::wm_width

水印框宽度,单位为像素(px) ,默认值为 0,表示没有水印框。


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