NERtc Unity SDK  V4.5.907
Public Attributes | List of all members
nertc.RtcTimestampWatermarkConfig Struct Reference

Public Attributes

string fontPath
 
int fontSize
 
int fontColor
 
int offsetX
 
int offsetY
 
int wmColor
 
int wmWidth
 
int wmHeight
 
int tsType
 

Detailed Description

Sets a timestamp watermark.

Member Data Documentation

◆ fontPath

string nertc.RtcTimestampWatermarkConfig.fontPath

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

◆ fontSize

int nertc.RtcTimestampWatermarkConfig.fontSize

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

◆ fontColor

int nertc.RtcTimestampWatermarkConfig.fontColor

The font color. ARGB format.

◆ offsetX

int nertc.RtcTimestampWatermarkConfig.offsetX

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

◆ offsetY

int nertc.RtcTimestampWatermarkConfig.offsetY

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

◆ wmColor

int nertc.RtcTimestampWatermarkConfig.wmColor

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

◆ wmWidth

int nertc.RtcTimestampWatermarkConfig.wmWidth

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

◆ wmHeight

int nertc.RtcTimestampWatermarkConfig.wmHeight

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

◆ tsType

int nertc.RtcTimestampWatermarkConfig.tsType

Timestamp type. Valid values:

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

The documentation for this struct was generated from the following file: