From 9be5811da46a97797a1622eb8c38105d5981e7f2 Mon Sep 17 00:00:00 2001
From: Suri539
Date: Thu, 29 Aug 2024 15:25:42 +0800
Subject: [PATCH 1/2] Create
api_irtcengine_setlocalvideodatasourceposition.dita
---
...ngine_setlocalvideodatasourceposition.dita | 67 +++++++++++++++++++
1 file changed, 67 insertions(+)
create mode 100644 dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita
diff --git a/dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita b/dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita
new file mode 100644
index 00000000000..64923617b9e
--- /dev/null
+++ b/dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita
@@ -0,0 +1,67 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 方法成功调用时,无返回值;方法调用失败时,会抛出 异常,你需要捕获异常并进行处理。详见了解详情和解决建议。
+
+ - 0: 方法调用成功。
+ - < 0: 方法调用失败。详见了解详情和解决建议。
+
+
+
From 202611608da652efce6a2ca2724e99c37d46a2af Mon Sep 17 00:00:00 2001
From: Suri539
Date: Thu, 29 Aug 2024 17:56:28 +0800
Subject: [PATCH 2/2] add
---
...ngine_setlocalvideodatasourceposition.dita | 36 ++++++-------------
dita/RTC-NG/API/rtc_api_overview.dita | 4 +++
dita/RTC-NG/RTC_NG_API_Unity.ditamap | 1 +
.../config/keys-rtc-ng-api-unity.ditamap | 7 ++++
.../config/relations-rtc-ng-api.ditamap | 1 +
5 files changed, 24 insertions(+), 25 deletions(-)
rename dita/RTC-NG/{ => API}/api_irtcengine_setlocalvideodatasourceposition.dita (63%)
diff --git a/dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita b/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita
similarity index 63%
rename from dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita
rename to dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita
index 64923617b9e..7696f2c501b 100644
--- a/dita/RTC-NG/api_irtcengine_setlocalvideodatasourceposition.dita
+++ b/dita/RTC-NG/API/api_irtcengine_setlocalvideodatasourceposition.dita
@@ -1,12 +1,12 @@
-
-
+
+ 设置视频帧的观测位置。
-
+
@@ -19,41 +19,27 @@
-
+ public abstract int SetLocalVideoDataSourcePosition(VIDEO_MODULE_POSITION position);
-
-
调用时机
-
+ 该方法需要在创建第一个 视图之前调用。
-
参数
-
-
+ position
+ 视频帧的观测位置,详见 。
+
+ - 该方法目前仅支持将观测位置设为 或 。
+ - 在 处获取的视频帧未经裁剪且帧率较高, 位置获取的视频帧经过发送前的裁剪,帧率小于或等于摄像头采集的帧率。
diff --git a/dita/RTC-NG/API/rtc_api_overview.dita b/dita/RTC-NG/API/rtc_api_overview.dita
index 57999b2a9dd..4774af050a7 100644
--- a/dita/RTC-NG/API/rtc_api_overview.dita
+++ b/dita/RTC-NG/API/rtc_api_overview.dita
@@ -968,6 +968,10 @@
+
+
+
+
diff --git a/dita/RTC-NG/RTC_NG_API_Unity.ditamap b/dita/RTC-NG/RTC_NG_API_Unity.ditamap
index d49f50f0632..319cac84589 100644
--- a/dita/RTC-NG/RTC_NG_API_Unity.ditamap
+++ b/dita/RTC-NG/RTC_NG_API_Unity.ditamap
@@ -287,6 +287,7 @@
+
diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
index 4a5fde373e0..b6083d7ce2f 100644
--- a/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
+++ b/dita/RTC-NG/config/keys-rtc-ng-api-unity.ditamap
@@ -1184,6 +1184,13 @@
+
+
+
+ SetLocalVideoDataSourcePosition
+
+
+
diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
index 2f2a04751c0..d189da546bc 100644
--- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
+++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap
@@ -2435,6 +2435,7 @@
+