ScreenCaptureConfiguration
- C++
更新时间
用于设置屏幕采集的相关参数。
struct ScreenCaptureConfiguration {
bool isCaptureWindow;
int64_t displayId;
Rectangle screenRect;
int64_t windowId;
ScreenCaptureParameters params;
Rectangle regionRect;
};属性
| 参数名 | 描述 |
|---|---|
isCaptureWindow | 是否采集屏幕上的窗口:
|
displayId | 屏幕的显示 ID。 注: 该参数仅在 macOS 上采集屏幕时生效。 |
screenRect | 共享屏幕相对于虚拟屏幕的位置。详见 Rectangle。 注: 该参数仅在 Windows 上采集屏幕时生效。 |
windowId | 窗口 ID。 注: 该参数仅在采集窗口时生效。 |
params | 屏幕采集配置。详见 ScreenCaptureParameters。 |
regionRect |