#include <IAgoraRtcEngine.h>
◆ WatermarkOptions()
agora::rtc::WatermarkOptions::WatermarkOptions |
( |
| ) |
|
|
inline |
◆ visibleInPreview
bool agora::rtc::WatermarkOptions::visibleInPreview |
是否将水印设为预览时本地可见:
- true:(默认) 预览时水印本地可见;
- false:预览时水印本地不可见。
◆ positionInLandscapeMode
Rectangle agora::rtc::WatermarkOptions::positionInLandscapeMode |
视频编码模式为横屏时(详见进阶功能《视频采集旋转》)的水印坐标。详见 Rectangle :
x
:左上角的横向偏移。
y
:左上角的纵向偏移。
width
:该区域的宽 (pixel)。
height
:该区域的高(pixel)。
◆ positionInPortraitMode
Rectangle agora::rtc::WatermarkOptions::positionInPortraitMode |
视频编码模式为竖屏时(详见进阶功能《视频采集旋转》)的水印坐标。详见 Rectangle :
x
:左上角的横向偏移。
y
:左上角的纵向偏移。
width
:该区域的宽 (pixel)。
height
:该区域的高(pixel)。