Updated on 2024-07-30 GMT+08:00

Customizing a Watermark for a Meeting

You can customize a watermark for shared content in a meeting in OpenSDKConfig.

Figure 1 displayed the watermark effect.

Application Scenarios

Watermarks need to be added to shared content in the following scenarios:

1. Internal meetings in which shared materials are confidential and can be viewed only by some personnel

2. Cross-enterprise/region meetings that require leakage prevention of shared materials

3. Other scenarios that may cause leakage of important shared materials

Precautions

1. sdkConfig takes effect only when this configuration is passed during SDK initialization.

Figure 1 Sample of a custom watermark

Watermarks can be added to images presented to recipients during desktop, program, and whiteboard sharing. The custom watermarks take effect only when the watermark function is enabled on the server. If you do not customize a watermark, the mobile number, email address, meeting ID, and nickname are displayed in descending order by priority by default. The font transparency is 10%.

Sample Code

1
2
3
4
5
6
7
8
9
// Customize the watermark to be displayed in a meeting.
public class CustomWatermarkHandle implements IWatermarkHandle {   
    @Override    
    public Bitmap getWatermarkBitMap(Activity activity) {
        // Set the watermark bitmap.
        return null;    
    }
}
sdkConfig.setWatermarkHandle(new CustomWatermarkHandle());