NERtc Unity SDK
V4.5.907
|
Public Attributes | |
string[] | imagePaths |
int | offsetX |
int | offsetY |
int | imageWidth |
int | imageHeight |
int | fps |
bool | loop |
Sets the parameters for image watermarks.
You can add up to 4 picture watermarks.
string [] nertc.RtcImageWatermarkConfig.imagePaths |
Watermark image path. The setting is invalid if left empty.
int nertc.RtcImageWatermarkConfig.offsetX |
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.RtcImageWatermarkConfig.offsetY |
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.
int nertc.RtcImageWatermarkConfig.imageWidth |
The width of the watermark image. Unit: pixels. The default value is 0, which indicates that the width of the original image is applied.
int nertc.RtcImageWatermarkConfig.imageHeight |
The height of the watermark image. Unit: pixels. The default value is 0, which indicates that the height of the original image is applied.
int nertc.RtcImageWatermarkConfig.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.
bool nertc.RtcImageWatermarkConfig.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.