WatermarkConfig
Configures watermark information.
struct WatermarkConfig {
const char* id;
WATERMARK_SOURCE_TYPE type;
union {
WatermarkBuffer buffer;
WatermarkTimestamp timestamp;
WatermarkLiteral literal;
const char* imageUrl;
};
WatermarkOptions options;
};
- Since
- Available since v4.6.0.
Properties
- id
- Unique identifier of the watermark. It is recommended to use a UUID.
- type
- Watermark type. See WATERMARK_SOURCE_TYPE.
- buffer
- Watermark buffer. See WatermarkBuffer.
- timestamp
- Timestamp of the watermark.
Note: Supported only on Linux platform.
- literal
- Text content of the watermark.
Note: Supported only on Linux platform.
- imageUrl
- URL of the watermark image file. Default is NULL.
- options
- Watermark configuration options. See WatermarkOptions.