添加水印。

    参数名称 参数描述 参数类型
    asset assets 中的资源,不是本地原生资源!!! String
    streamType 流类型 StreamTypeEnum
    x 归一化水印位置的 X 轴坐标,取值[0,1] double
    y 归一化水印位置的 Y 轴坐标,取值[0,1] double
    width 归一化水印宽度,取值[0,1] double
    height 归一化水印宽度,取值[0,1],仅IOS有效 double

    使用:

    1. TencentRtcPlugin.setWatermark(x: 0.5, y:0.5, width:0.5, height:0.5, streamType: StreamTypeEnum.Big, asset:"asset/image/default.png");