addWatermark
Adds a watermark.
public void addWatermark(AgoraImage watermark) { if (watermarkList == null) { watermarkList = new ArrayList<AgoraImage>(); } watermarkList.add(watermark); }
Details
This method only supports adding one watermark every time. If you need to add more than one watermark, call this method multiple times.
The total number of watermarks and background images can range from 0 to 10.
Parameters
- watermark
- The watermark on the live video. Watermark images must be in the PNG format. See AgoraImage.