NERtc Windows SDK
V4.4.301
|
#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.
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.
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.
char nertc::NERtcImageWatermarkConfig::image_paths[10][kNERtcMaxURILength] |
Watermark image path. The setting is invalid if left empty.
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.
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.
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.
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.