diff --git a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
index 133e7274885..b4d09d894c4 100644
--- a/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
+++ b/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita
@@ -18,7 +18,7 @@
- (int)startScreenCaptureByWindowId:(UInt32)windowId
regionRect:(CGRect)regionRect
captureParams:(AgoraScreenCaptureParameters *_Nonnull)captureParams;
- virtual int startScreenCaptureByWindowId(view_t windowId,
+ virtual int startScreenCaptureByWindowId(int64_t windowId,
const Rectangle& regionRect,
const ScreenCaptureParameters& captureParams) = 0;
UFUNCTION(BlueprintCallable, Category = "Agora|IRtcEngine")
diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
index 80303ddd223..2c69a47936d 100644
--- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
+++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita
@@ -104,6 +104,7 @@
当前 App 已被切换到后台。可以使用前台服务通知操作系统,确保 App 在切换到后台时仍可采集视频。详见。
(15):视频采集设备出错。请提示用户关闭并重新启动摄像头以恢复功能,如果该操作不能解决问题,请检查摄像头是否出现硬件故障。
+ (21):当前采集的窗口无数据。
diff --git a/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/dita/RTC-NG/API/class_screencaptureconfiguration.dita
index a00b7899045..e61e9403b46 100644
--- a/dita/RTC-NG/API/class_screencaptureconfiguration.dita
+++ b/dita/RTC-NG/API/class_screencaptureconfiguration.dita
@@ -26,9 +26,9 @@ __attribute__((visibility("default"))) @interface AgoraScreenCaptureConfiguratio
#endif
struct ScreenCaptureConfiguration {
bool isCaptureWindow;
- uint32_t displayId;
+ int64_t displayId;
Rectangle screenRect;
- view_t windowId;
+ int64_t windowId;
ScreenCaptureParameters params;
Rectangle regionRect;
diff --git a/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/dita/RTC-NG/API/class_screencapturesourceinfo.dita
index 78f0e8d5471..607faf82b32 100644
--- a/dita/RTC-NG/API/class_screencapturesourceinfo.dita
+++ b/dita/RTC-NG/API/class_screencapturesourceinfo.dita
@@ -22,22 +22,23 @@
@end
struct ScreenCaptureSourceInfo {
- ScreenCaptureSourceType type;
- view_t sourceId;
- const char* sourceName;
- ThumbImageBuffer thumbImage;
- ThumbImageBuffer iconImage;
- const char* processPath;
- const char* sourceTitle;
- bool primaryMonitor;
+ ScreenCaptureSourceType type;
+ int64_t sourceId;
+ const char* sourceName;
+ ThumbImageBuffer thumbImage;
+ ThumbImageBuffer iconImage;
+ const char* processPath;
+ const char* sourceTitle;
+ bool primaryMonitor;
+ bool isOccluded;
+ Rectangle position;
#if defined(_WIN32)
- Rectangle position;
- bool minimizeWindow;
- view_t sourceDisplayId;
- ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(nullptr), sourceName(nullptr),
- processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false), minimizeWindow(false), sourceDisplayId((view_t)-2) {}
+ bool minimizeWindow;
+ int64_t sourceDisplayId;
+ ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(0), sourceName(nullptr),
+ processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false), minimizeWindow(false), sourceDisplayId(-2) {}
#else
- ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(nullptr), sourceName(nullptr), processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false) {}
+ ScreenCaptureSourceInfo() : type(ScreenCaptureSourceType_Unknown), sourceId(0), sourceName(nullptr), processPath(nullptr), sourceTitle(nullptr), primaryMonitor(false), isOccluded(false) {}
#endif
};
USTRUCT(BlueprintType)
diff --git a/dita/RTC-NG/API/enum_localvideostreamreason.dita b/dita/RTC-NG/API/enum_localvideostreamreason.dita
index dfc6893f915..0e1124ef6c6 100644
--- a/dita/RTC-NG/API/enum_localvideostreamreason.dita
+++ b/dita/RTC-NG/API/enum_localvideostreamreason.dita
@@ -98,7 +98,7 @@
- 21:(仅适用于 Windows)当前采集的窗口无数据。
+ 21:(仅适用于 Windows 和 Android)当前采集的窗口无数据。
diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap
index df8c48eba86..7939ae02880 100644
--- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap
@@ -90,6 +90,10 @@
+
+
+
+
@@ -102,6 +106,12 @@
+
+
+
+
+
+
@@ -309,6 +319,12 @@
+
+
+
+
+
+
@@ -344,22 +360,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
index dd3da6e473e..00e56230c0d 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
@@ -8774,6 +8774,13 @@
+
+
+
+ LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE
+
+
+