setWatermark method

Future<void> setWatermark(
  1. String imagePath,
  2. TRTCVideoStreamType streamType,
  3. double x,
  4. double y,
  5. double width,
)

Implementation

Future<void> setWatermark(String imagePath, TRTCVideoStreamType streamType, double x, double y, double width) async {
  _channel.invokeMethod("setWatermark", {
    "imagePath": imagePath,
    "streamType": streamType.value(),
    "x": x,
    "y": y,
    "width": width,
  });
}