From 623cc6854bf4878bb241974e42eefc1dd6b93f8a Mon Sep 17 00:00:00 2001 From: Suri539 Date: Tue, 3 Dec 2024 16:16:09 +0800 Subject: [PATCH 1/4] update --- dita/RTC-NG/API/class_canvas.dita | 67 ------------------- dita/RTC-NG/API/rtc_api_data_type.dita | 4 ++ dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 - dita/RTC-NG/RTC_NG_API_CPP.ditamap | 1 - dita/RTC-NG/RTC_NG_API_iOS.ditamap | 1 - dita/RTC-NG/RTC_NG_API_macOS.ditamap | 1 - .../config/relations-rtc-ng-api.ditamap | 6 +- 7 files changed, 7 insertions(+), 74 deletions(-) diff --git a/dita/RTC-NG/API/class_canvas.dita b/dita/RTC-NG/API/class_canvas.dita index 1ef02614d78..bc8740d8556 100644 --- a/dita/RTC-NG/API/class_canvas.dita +++ b/dita/RTC-NG/API/class_canvas.dita @@ -3,71 +3,4 @@ <ph keyref="Canvas"/> 该类提供设置播放器视频渲染的方法。 - -
-

- public class Canvas { - public Canvas(Rte rte, CanvasInitialConfig config); - public void addView(View view, ViewConfig viewConfig) throws RteException; - public void removeView(View view, ViewConfig viewConfig) throws RteException; - public void getConfigs(CanvasConfig config) throws RteException; - public void setConfigs(CanvasConfig config) throws RteException; -} - - @interface AgoraRteCanvas : NSObject -- (instancetype _Nonnull)initWithRte:(AgoraRte* _Nonnull)rte initialConfig:(AgoraRteCanvasInitialConfig * _Nullable)config; -- (BOOL)getConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; -- (BOOL)setConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; -- (BOOL)addView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; -- (BOOL)removeView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; -@end - class Canvas { - public: - Canvas(Rte *rte, CanvasInitialConfig *initial_config); - bool GetConfigs(CanvasConfig *config, Error *err); - bool SetConfigs(CanvasConfig *config, Error *err); - bool AddView(View *view, ViewConfig *config, rte::Error *err) - bool RemoveView(View *view, ViewConfig *config, rte::Error *err); - -}; - - - - -

-
-
-
- -
自从
-
v4.5.0
-
-
-

-

-
- 方法 - - - - 构造一个 Canvas 对象。详见 - - - - 设置视频的渲染模式。详见 - - - - 获取当前设置的视频渲染模式。详见 - - - - 添加一个视图。详见 - - - - 移除一个视图。详见 - -
-
diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index 74be6f71bab..ca61946bc4e 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -90,6 +90,7 @@
  • +
  • @@ -237,6 +238,7 @@
  • +
  • @@ -461,6 +463,7 @@
  • +
  • @@ -574,6 +577,7 @@
  • +
  • diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 96b00956087..4e6fd38e4ff 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -45,7 +45,6 @@ - diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index fbeb9c2d459..0cdc5198314 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -49,7 +49,6 @@ - diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 4b5ccef98a7..641c2e23500 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -44,7 +44,6 @@ - diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index 9f2737cca53..f86973a5af6 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -40,7 +40,6 @@ - diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index d4207a2265c..02dbdfb3c04 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3325,7 +3325,7 @@ - + @@ -3348,7 +3348,7 @@ - + @@ -3359,7 +3359,7 @@ - + From 96954320115fd35a2ce0ae6012d2bd45453ed3ee Mon Sep 17 00:00:00 2001 From: Suri539 Date: Tue, 3 Dec 2024 17:07:43 +0800 Subject: [PATCH 2/4] DOC-3471 --- .../API/callback_irtcengineeventhandler_onuserjoined.dita | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita index 92516fbe9bc..a7b96155355 100644 --- a/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita +++ b/dita/RTC-NG/API/callback_irtcengineeventhandler_onuserjoined.dita @@ -69,7 +69,8 @@ elapsed - 从本地用户调用 到该回调触发的延迟(毫秒)。 + 从本地用户调用 到该回调触发的延迟(毫秒)。 + 从本地用户调用 到该回调触发的延迟(毫秒)。 From 104f1c76204379143843aeb74bf2361294ecdeff Mon Sep 17 00:00:00 2001 From: Suri539 Date: Thu, 5 Dec 2024 15:29:48 +0800 Subject: [PATCH 3/4] add props cn for rte --- dita/RTC-NG/API/rtc_api_data_type.dita | 96 +++++++++---------- dita/RTC-NG/RTC_NG_API_Android.ditamap | 14 +-- dita/RTC-NG/RTC_NG_API_CPP.ditamap | 10 +- dita/RTC-NG/RTC_NG_API_iOS.ditamap | 10 +- dita/RTC-NG/RTC_NG_API_macOS.ditamap | 10 +- .../RTC-NG/config/keys-rtc-ng-api-cpp.ditamap | 38 ++++---- .../RTC-NG/config/keys-rtc-ng-api-ios.ditamap | 38 ++++---- .../config/keys-rtc-ng-api-java.ditamap | 42 ++++---- .../config/keys-rtc-ng-api-macos.ditamap | 38 ++++---- 9 files changed, 147 insertions(+), 149 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index ca61946bc4e..f493dfd5e6f 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -22,7 +22,7 @@
  • -
  • +
  • @@ -31,7 +31,7 @@
  • -
  • +
  • @@ -42,7 +42,7 @@
  • -
  • +
  • @@ -90,7 +90,7 @@
  • -
  • +
  • @@ -105,8 +105,8 @@
  • -
  • -
  • +
  • +
  • @@ -155,7 +155,7 @@
  • -
  • +
  • @@ -174,11 +174,10 @@
  • -
  • -
  • +
  • @@ -186,7 +185,7 @@
  • -
  • +
  • @@ -238,7 +237,7 @@
  • -
  • +
  • @@ -255,10 +254,9 @@
  • -
  • -
  • -
  • +
  • +
  • @@ -401,7 +399,7 @@
  • -
  • +
  • @@ -414,7 +412,7 @@
  • -
  • +
  • @@ -424,7 +422,7 @@
  • -
  • +
  • @@ -463,7 +461,7 @@
  • -
  • +
  • @@ -476,8 +474,8 @@
  • -
  • -
  • +
  • +
  • @@ -521,7 +519,7 @@
  • -
  • +
  • @@ -533,7 +531,7 @@
  • -
  • +
  • @@ -543,7 +541,7 @@
  • -
  • +
  • @@ -577,7 +575,7 @@
  • -
  • +
  • @@ -590,8 +588,8 @@
  • -
  • -
  • +
  • +
  • @@ -1324,12 +1322,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • @@ -1408,11 +1406,11 @@
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • @@ -1575,12 +1573,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • @@ -1715,12 +1713,12 @@
  • -
  • -
  • -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
  • +
  • +
  • diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 4e6fd38e4ff..b694b805546 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -16,8 +16,8 @@ - - + + @@ -44,10 +44,10 @@ - - - - + + + + @@ -464,7 +464,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_CPP.ditamap b/dita/RTC-NG/RTC_NG_API_CPP.ditamap index 0cdc5198314..c9388d308d1 100644 --- a/dita/RTC-NG/RTC_NG_API_CPP.ditamap +++ b/dita/RTC-NG/RTC_NG_API_CPP.ditamap @@ -16,7 +16,7 @@ - + @@ -48,9 +48,9 @@ - - - + + + @@ -465,7 +465,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_iOS.ditamap b/dita/RTC-NG/RTC_NG_API_iOS.ditamap index 641c2e23500..03130ad447d 100644 --- a/dita/RTC-NG/RTC_NG_API_iOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_iOS.ditamap @@ -19,7 +19,7 @@ - + @@ -43,9 +43,9 @@ - - - + + + @@ -463,7 +463,7 @@ - + diff --git a/dita/RTC-NG/RTC_NG_API_macOS.ditamap b/dita/RTC-NG/RTC_NG_API_macOS.ditamap index f86973a5af6..27091a429a0 100644 --- a/dita/RTC-NG/RTC_NG_API_macOS.ditamap +++ b/dita/RTC-NG/RTC_NG_API_macOS.ditamap @@ -18,7 +18,7 @@ - + @@ -39,9 +39,9 @@ - - - + + + @@ -455,7 +455,7 @@ - + diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap index e508e48ccb3..19c5eb09f24 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-cpp.ditamap @@ -301,35 +301,35 @@ - + Canvas - + Rte - + Player - + PlayerConfig - + PlayerObserver @@ -986,7 +986,7 @@ - + @@ -1311,7 +1311,7 @@ - + @@ -5697,7 +5697,7 @@ - + CanvasConfig @@ -5774,7 +5774,7 @@ - + Config @@ -5844,7 +5844,7 @@ - + Error @@ -6194,14 +6194,14 @@ - + RtePlayerInfo - + RtePlayerStats @@ -11635,7 +11635,7 @@ - + RteVideoMirrorMode @@ -11817,7 +11817,7 @@ - + RteAbrFallbackLayer @@ -11887,7 +11887,7 @@ - + RteAbrSubscriptionLayer @@ -11950,7 +11950,7 @@ - + RteVideoRenderMode @@ -11971,7 +11971,7 @@ - + RtePlayerMetadataType @@ -12153,7 +12153,7 @@ - + RtePlayerEvent @@ -12383,7 +12383,7 @@ - + RtePlayerState diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap index f4ae555934f..c313be07ca9 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-ios.ditamap @@ -274,35 +274,35 @@ - + AgoraRteCanvas - + AgoraRte - + AgoraRtePlayerConfig - + AgoraRtePlayerConfig - + AgoraRtePlayerObserver @@ -883,7 +883,7 @@ - + @@ -1208,7 +1208,7 @@ - + @@ -5205,7 +5205,7 @@ - + AgoraRteCanvasConfig @@ -5282,7 +5282,7 @@ - + AgoraRteConfig @@ -5345,7 +5345,7 @@ - + AgoraRteError @@ -5660,14 +5660,14 @@ - + AgoraRtePlayerInfo - + AgoraRtePlayerStats @@ -10716,7 +10716,7 @@ - + AgoraRteAbrFallbackLayer @@ -10842,7 +10842,7 @@ - + AgoraRteVideoMirrorMode @@ -11024,7 +11024,7 @@ - + AgoraRteAbrSubscriptionLayer @@ -11087,7 +11087,7 @@ - + AgoraRteVideoRenderMode @@ -11108,7 +11108,7 @@ - + AgoraRtePlayerMetadataType @@ -11304,7 +11304,7 @@ - + AgoraRtePlayerEvent @@ -11534,7 +11534,7 @@ - + AgoraRtePlayerState 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 baf188eaf26..f0194fe80ab 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -48,7 +48,7 @@ - + AsyncCallback @@ -259,56 +259,56 @@ - + Canvas - + Rte - + Player - + PlayerConfig - + PlayerGetStatsCallback - + PlayerObserver - + Error - + Config @@ -923,7 +923,7 @@ - + @@ -1254,7 +1254,7 @@ - + @@ -4910,7 +4910,7 @@ - + @@ -5526,7 +5526,7 @@ - + CanvasConfig @@ -5981,14 +5981,14 @@ - + PlayerInfo - + PlayerStats @@ -11059,7 +11059,7 @@ - + VideoMirrorMode @@ -11087,7 +11087,7 @@ - + AbrFallbackLayer @@ -11157,7 +11157,7 @@ - + AbrSubscriptionLayer @@ -11220,7 +11220,7 @@ - + VideoRenderMode @@ -11241,7 +11241,7 @@ - + PlayerEvent @@ -11283,7 +11283,7 @@ - + PlayerState diff --git a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap index 567589c09b6..6a7c584d354 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-macos.ditamap @@ -231,35 +231,35 @@ - + AgoraRteCanvas - + AgoraRte - + AgoraRtePlayerConfig - + AgoraRtePlayerConfig - + AgoraRtePlayerObserver @@ -840,7 +840,7 @@ - + @@ -1165,7 +1165,7 @@ - + @@ -4900,7 +4900,7 @@ - + AgoraRteCanvasConfig @@ -4970,7 +4970,7 @@ - + AgoraRteConfig @@ -5033,7 +5033,7 @@ - + AgoraRteError @@ -5292,14 +5292,14 @@ - + AgoraRtePlayerInfo - + AgoraRtePlayerStats @@ -10189,7 +10189,7 @@ - + AgoraRteAbrFallbackLayer @@ -10315,7 +10315,7 @@ - + AgoraRteVideoMirrorMode @@ -10497,7 +10497,7 @@ - + AgoraRteAbrSubscriptionLayer @@ -10560,7 +10560,7 @@ - + AgoraRteVideoRenderMode @@ -10581,7 +10581,7 @@ - + AgoraRtePlayerMetadataType @@ -10777,7 +10777,7 @@ - + AgoraRtePlayerEvent @@ -11007,7 +11007,7 @@ - + AgoraRtePlayerState From a1f8ed77e5d5ccadfc1fb81d33b3cc657197adb1 Mon Sep 17 00:00:00 2001 From: Suri539 Date: Thu, 5 Dec 2024 16:27:42 +0800 Subject: [PATCH 4/4] update relations --- dita/RTC-NG/API/rtc_api_data_type.dita | 2 +- .../config/keys-rtc-ng-api-java.ditamap | 2 +- .../config/relations-rtc-ng-api.ditamap | 60 +++++++++---------- 3 files changed, 32 insertions(+), 32 deletions(-) diff --git a/dita/RTC-NG/API/rtc_api_data_type.dita b/dita/RTC-NG/API/rtc_api_data_type.dita index f493dfd5e6f..1517b6666c3 100644 --- a/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/dita/RTC-NG/API/rtc_api_data_type.dita @@ -254,7 +254,7 @@
  • -
  • +
  • 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 f0194fe80ab..1cc1640b232 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -5974,7 +5974,7 @@
    - + RteException diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 02dbdfb3c04..6a108e86e4f 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -3310,8 +3310,8 @@
    - - + + @@ -3321,55 +3321,55 @@ - + - - + + - + - - + + - + - - + + - + - - + + - + - - + + @@ -3388,12 +3388,12 @@ - + - - + + @@ -3401,12 +3401,12 @@ - + - - + + @@ -3414,23 +3414,23 @@ - + - - + + - + - - + + - +