From 78c6cca56a9003f3087738fd183d0a7d28fe10af Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 20 Jun 2024 17:46:07 +0800 Subject: [PATCH] add deprecated APIs --- ...tcengine_enableaudioqualityindication.dita | 54 ---- .../RTC-NG/API/api_irtcengine_setlogfile.dita | 2 +- dita/RTC-NG/API/rtc_api_sunset.dita | 261 ++++++++++-------- dita/RTC-NG/RTC_NG_API_Android.ditamap | 1 - .../api_irtcengine_addpublishstreamurl.dita | 0 ...api_irtcengine_removepublishstreamurl.dita | 0 ...cengine_sethighqualityaudioparameters.dita | 0 .../api_irtcengine_setlocalvoicechanger.dita | 0 ...api_irtcengine_startchannelmediarelay.dita | 0 ...pi_irtcengine_updatechannelmediarelay.dita | 0 ...pi_irtcengineex_addpublishstreamurlex.dita | 0 ...irtcengineex_startchannelmediarelayex.dita | 0 ...rtcengineex_updatechannelmediarelayex.dita | 0 ...cengineeventhandler_onapicallexecuted.dita | 0 .../config/keys-rtc-ng-api-java.ditamap | 7 - .../config/relations-rtc-ng-api.ditamap | 1 - 16 files changed, 145 insertions(+), 181 deletions(-) delete mode 100644 dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita rename dita/RTC-NG/{API => archive}/api_irtcengine_addpublishstreamurl.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_removepublishstreamurl.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_sethighqualityaudioparameters.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_setlocalvoicechanger.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_startchannelmediarelay.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengine_updatechannelmediarelay.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_addpublishstreamurlex.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_startchannelmediarelayex.dita (100%) rename dita/RTC-NG/{API => archive}/api_irtcengineex_updatechannelmediarelayex.dita (100%) rename dita/RTC-NG/{API => archive}/callback_irtcengineeventhandler_onapicallexecuted.dita (100%) diff --git a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita b/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita deleted file mode 100644 index f0f35ec3f57..00000000000 --- a/dita/RTC-NG/API/api_irtcengine_enableaudioqualityindication.dita +++ /dev/null @@ -1,54 +0,0 @@ - - - - <ph keyref="enableAudioQualityIndication"/> - 启用音频质量通知回调。 - - - - - - - - -
-

- public abstract int enableAudioQualityIndication(boolean enabled); - - - - - - -

-
-
- 详情 -
- -
弃用:
-
从 v2.4.1 起废弃。
-
-
-
-
- 参数 - - - enabled - 是否启用音频质量通知回调。 - -
    -
  • : 启用。
  • -
  • : (默认)禁用。
  • -
-
-
-
- 返回值 -
    -
  • 0: 方法调用成功。
  • -
  • < 0: 方法调用失败。详见了解详情和解决建议。
  • -
-
-
diff --git a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita index 457503dc02a..fb8b260d269 100644 --- a/dita/RTC-NG/API/api_irtcengine_setlogfile.dita +++ b/dita/RTC-NG/API/api_irtcengine_setlogfile.dita @@ -29,7 +29,7 @@
弃用:
-
此方法已废弃,请改用 中的 logConfig 参数设置日志文件路径 。
+
此方法已废弃,请改用 中的 logConfig 参数设置日志文件路径。

设置 SDK 的输出 log 文件。SDK 运行时产生的所有 log 将写入该文件。App 必须保证指定的目录存在而且可写。

diff --git a/dita/RTC-NG/API/rtc_api_sunset.dita b/dita/RTC-NG/API/rtc_api_sunset.dita index 6542d3d7b20..fdf34be9416 100644 --- a/dita/RTC-NG/API/rtc_api_sunset.dita +++ b/dita/RTC-NG/API/rtc_api_sunset.dita @@ -1,4 +1,5 @@ - + + API 下架说明 本页介绍 SDK 中已废弃和删除的 API。 @@ -13,96 +14,164 @@ - - - - + API + 描述 + 替代 API + 废弃版本 - - - - - - - - - - - + + + + + v4.3.1 - - - - + + + + v4.2.0 - - - - + + + + v4.2.0 - - - - - - - - - - + + + + v4.2.0 - - + - + v4.0.0 - - + 使用 中的 logConfig 参数 + v4.0.0 - - - - - + + + + + v4.0.0 - - + + v4.0.0 - - - - + + + + v4.0.0 - - + + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + 中的 logConfig 参数 + v4.0.0 + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + + + v4.0.0 + + + + + - + v4.0.0 + + + + + - + v4.0.0 + + - - + - + v4.0.0 + + + + + - + v4.0.0 + + + + + - + v4.0.0 + + + + - + v4.0.0 + + + + + +
+ 已删除 API +

+ + + + + + + - - - - + API + 描述 + 替代 API + 删除版本 @@ -116,129 +185,87 @@ - - - - - - - + - + Android 原生的 方法 - - - + + + Android 原生的 - - + + - - + + - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + diff --git a/dita/RTC-NG/RTC_NG_API_Android.ditamap b/dita/RTC-NG/RTC_NG_API_Android.ditamap index 45ccc367362..18b884c6817 100644 --- a/dita/RTC-NG/RTC_NG_API_Android.ditamap +++ b/dita/RTC-NG/RTC_NG_API_Android.ditamap @@ -122,7 +122,6 @@ - diff --git a/dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita b/dita/RTC-NG/archive/api_irtcengine_addpublishstreamurl.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_addpublishstreamurl.dita rename to dita/RTC-NG/archive/api_irtcengine_addpublishstreamurl.dita diff --git a/dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita b/dita/RTC-NG/archive/api_irtcengine_removepublishstreamurl.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_removepublishstreamurl.dita rename to dita/RTC-NG/archive/api_irtcengine_removepublishstreamurl.dita diff --git a/dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita b/dita/RTC-NG/archive/api_irtcengine_sethighqualityaudioparameters.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_sethighqualityaudioparameters.dita rename to dita/RTC-NG/archive/api_irtcengine_sethighqualityaudioparameters.dita diff --git a/dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita b/dita/RTC-NG/archive/api_irtcengine_setlocalvoicechanger.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_setlocalvoicechanger.dita rename to dita/RTC-NG/archive/api_irtcengine_setlocalvoicechanger.dita diff --git a/dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita b/dita/RTC-NG/archive/api_irtcengine_startchannelmediarelay.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_startchannelmediarelay.dita rename to dita/RTC-NG/archive/api_irtcengine_startchannelmediarelay.dita diff --git a/dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita b/dita/RTC-NG/archive/api_irtcengine_updatechannelmediarelay.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengine_updatechannelmediarelay.dita rename to dita/RTC-NG/archive/api_irtcengine_updatechannelmediarelay.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita b/dita/RTC-NG/archive/api_irtcengineex_addpublishstreamurlex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_addpublishstreamurlex.dita rename to dita/RTC-NG/archive/api_irtcengineex_addpublishstreamurlex.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita b/dita/RTC-NG/archive/api_irtcengineex_startchannelmediarelayex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_startchannelmediarelayex.dita rename to dita/RTC-NG/archive/api_irtcengineex_startchannelmediarelayex.dita diff --git a/dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita b/dita/RTC-NG/archive/api_irtcengineex_updatechannelmediarelayex.dita similarity index 100% rename from dita/RTC-NG/API/api_irtcengineex_updatechannelmediarelayex.dita rename to dita/RTC-NG/archive/api_irtcengineex_updatechannelmediarelayex.dita diff --git a/dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita b/dita/RTC-NG/archive/callback_irtcengineeventhandler_onapicallexecuted.dita similarity index 100% rename from dita/RTC-NG/API/callback_irtcengineeventhandler_onapicallexecuted.dita rename to dita/RTC-NG/archive/callback_irtcengineeventhandler_onapicallexecuted.dita 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 22cf468a35e..26f7ff74c1f 100644 --- a/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap +++ b/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap @@ -866,13 +866,6 @@ - - - - enableAudioQualityIndication - - - diff --git a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap index 0fd700b6da4..8114cd264c3 100644 --- a/dita/RTC-NG/config/relations-rtc-ng-api.ditamap +++ b/dita/RTC-NG/config/relations-rtc-ng-api.ditamap @@ -2231,7 +2231,6 @@ -