From c8a777debe3fcdf93af02307c76847baf7fabae3 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 8 Nov 2024 15:21:15 +0800 Subject: [PATCH] New translations --- en-US/dita/RTC-NG/API/api_canvas_canvas.dita | 4 ++-- en-US/dita/RTC-NG/API/api_canvas_removeview.dita | 16 ++++++++-------- en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita | 4 ++-- .../API/api_canvasconfig_getrendermode.dita | 4 ++-- .../API/api_canvasconfig_setmirrormode.dita | 4 ++-- en-US/dita/RTC-NG/API/api_config_getappid.dita | 4 ++-- .../RTC-NG/API/api_config_getjsonparameter.dita | 8 ++++---- .../RTC-NG/API/api_config_setjsonparameter.dita | 2 +- en-US/dita/RTC-NG/API/api_error_code.dita | 4 ++-- .../dita/RTC-NG/API/class_audiotrackconfig.dita | 4 ++-- en-US/dita/RTC-NG/API/class_canvas.dita | 4 ++-- en-US/dita/RTC-NG/API/class_canvasconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_config.dita | 2 +- .../RTC-NG/API/class_externalvideoframe.dita | 2 +- 14 files changed, 32 insertions(+), 32 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_canvas.dita b/en-US/dita/RTC-NG/API/api_canvas_canvas.dita index cb4bc0959e4..2ca43f7a322 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_canvas.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_canvas.dita @@ -2,7 +2,7 @@ <ph keyref="Canvas_Canvas"/> - 构造一个 Canvas 对象。 + Create a Canvas object. @@ -49,7 +49,7 @@ initial_config config - Canvas 的对象配置,目前可传空。 + The configuration of the Canvas object. Currently you can set it as null. diff --git a/en-US/dita/RTC-NG/API/api_canvas_removeview.dita b/en-US/dita/RTC-NG/API/api_canvas_removeview.dita index 577e21d27cf..787b0572231 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_removeview.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_removeview.dita @@ -2,7 +2,7 @@ <ph keyref="RemoveView"/> - 移除渲染视图。 + Remove a view. @@ -30,22 +30,22 @@
v4.5.0
-

当你调用 添加视图后,如果你需要移除渲染视图,可调用此方法。

+

After you call to add a view, if you need to remove the view, you can call this method.

Call timing -

Call this method after .

+

Call this method after .

Restrictions -

一次只能移除一个视图。

+

Only one view can be removed at a time.

Parameters view - 需要移除的视图对象。 + View object to be removed. @@ -59,9 +59,9 @@
<ph keyref="return-section-title"/>

When the method call succeeds, there is no return value; when fails, the exception is thrown. You need to catch the exception and handle it accordingly. See for details and resolution suggestions.

-

移除视图是否成功:

    -
  • :移除视图成功。
  • -
  • :移除视图失败。
  • +

    Whether the view is removed successfully:

      +
    • : The view is removed.
    • +
    • : The view is not removed.

diff --git a/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita b/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita index 03175a383a1..69dafc3b3b5 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="SetConfigs_Canvas"/> - 设置播放器视频渲染配置。 + Set the video rendering configuration of the player. @@ -45,7 +45,7 @@ config - Canvas 对象的设置,详见 + Canvas object settings. See . diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita index 2bf3d4e6dc4..42de1e37ef7 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita @@ -2,7 +2,7 @@ <ph keyref="GetRenderMode"/> - 获取当前设置的视频渲染模式。 + Get the current video rendering mode setting. @@ -49,7 +49,7 @@
<ph keyref="return-section-title"/> -

当前设置的视频渲染模式,详见

+

The current video rendering mode. See .

diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita index 73423fbcfe0..994e8c20277 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita @@ -2,7 +2,7 @@ <ph keyref="SetMirrorMode"/> - 设置视频的镜像模式。 + Sets the mirror mode of the video. @@ -44,7 +44,7 @@ mode - Mirror mode. See . 默认为 ,即由 SDK 决定镜像模式。 The SDK disables mirror mode by default. + The mirror mode. See . The default value is , which means to be determined by the SDK. The SDK disables mirror mode by default. diff --git a/en-US/dita/RTC-NG/API/api_config_getappid.dita b/en-US/dita/RTC-NG/API/api_config_getappid.dita index e115001e28d..6762879265b 100644 --- a/en-US/dita/RTC-NG/API/api_config_getappid.dita +++ b/en-US/dita/RTC-NG/API/api_config_getappid.dita @@ -2,7 +2,7 @@ <ph keyref="GetAppId"/> - 获取设置的 App ID。 + Get the App ID you set. @@ -48,7 +48,7 @@ <ph keyref="return-section-title"/>

When the method call succeeds, there is no return value; when fails, the exception is thrown. You need to catch the exception and handle it accordingly. See for details and resolution suggestions.

    -
  • 方法调用成功,返回设置的 App ID。
  • +
  • The App ID you set, if the method call succeeds.
  • An empty string, if the method call fails.
diff --git a/en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita b/en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita index 76b171ba184..f47054417f1 100644 --- a/en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita +++ b/en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita @@ -2,7 +2,7 @@ <ph keyref="GetJsonParameter_Config"/> - 获取已设置的 SDK JSON 配置信息。 + Get the SDK JSON configuration that has been set. @@ -30,7 +30,7 @@
v4.5.0
-

当你调用 设置 JSON 配置信息后,你可以调用该方法获取已设置的配置信息。

+

After you call to set JSON configuration, you can call this method to get the configured information.

Call timing @@ -52,10 +52,10 @@ <ph keyref="return-section-title"/>

When the method call succeeds, there is no return value; when fails, the exception is thrown. You need to catch the exception and handle it accordingly. See for details and resolution suggestions.

    -
  • 方法调用成功,返回设置的 JSON 配置信息。
  • +
  • The JSON configuration, if the method call succeeds.
  • An empty string, if the method call fails.
-

设置的 JSON 配置信息。

+

The JSON configuration you set.

diff --git a/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita b/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita index f8827af70d8..237d84447f3 100644 --- a/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita +++ b/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita @@ -34,7 +34,7 @@
Applicable scenarios -

当你需要设置私有参数或使用定制功能时,可以调用该方法。

+

When you need to set private parameters or use custom features, you can call this method.

Call timing diff --git a/en-US/dita/RTC-NG/API/api_error_code.dita b/en-US/dita/RTC-NG/API/api_error_code.dita index 8dec5a50b2f..6e73be2f053 100644 --- a/en-US/dita/RTC-NG/API/api_error_code.dita +++ b/en-US/dita/RTC-NG/API/api_error_code.dita @@ -2,7 +2,7 @@ <ph keyref="Code"/> - 获取接口调用返回的错误码。 + Get the error code. @@ -34,7 +34,7 @@
Call timing -

当调用 API 失败时,可调用此方法以获取错误码。

+

When an API call fails, you can call this method to get the error code.

Restrictions diff --git a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita index 185ef2faf1e..17c30bed973 100644 --- a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -93,8 +93,8 @@ class AudioTrackConfig { enableAudioProcessing - 是否启用音频处理模块:
    -
  • :启用音频处理模块,应用回声消除 (AEC)、降噪 (ANS) 和自动增益控制 (AGC) 效果。
  • + Whether to enable audio processing module:
      +
    • Enable the audio processing module to apply the echo cancellation (AEC), noise suppression (ANS), and automatic gain control (AGC) control (AGC) effects.
    • :(默认)不启用音频处理模块。
    该参数设置仅对 类型的自定义音频采集轨道生效。 diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index cead1fb710f..061c3bb466d 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -50,7 +50,7 @@ - 构造一个 Canvas 对象。 See . + Create a Canvas object. See . @@ -58,7 +58,7 @@ - 获取当前设置的视频渲染模式。 See . + Get the current video rendering mode setting. See . diff --git a/en-US/dita/RTC-NG/API/class_canvasconfig.dita b/en-US/dita/RTC-NG/API/class_canvasconfig.dita index c11ceacf2de..3c618b27a4b 100644 --- a/en-US/dita/RTC-NG/API/class_canvasconfig.dita +++ b/en-US/dita/RTC-NG/API/class_canvasconfig.dita @@ -56,7 +56,7 @@ - 设置视频的镜像模式。 See . + Sets the rendering mode of the video. See . diff --git a/en-US/dita/RTC-NG/API/class_config.dita b/en-US/dita/RTC-NG/API/class_config.dita index 65a4e4345d0..0b1c720b668 100644 --- a/en-US/dita/RTC-NG/API/class_config.dita +++ b/en-US/dita/RTC-NG/API/class_config.dita @@ -53,7 +53,7 @@ - 获取设置的 App ID。 See . + Get the App ID you set. See . diff --git a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita index 761cc91166d..4508152ca2b 100644 --- a/en-US/dita/RTC-NG/API/class_externalvideoframe.dita +++ b/en-US/dita/RTC-NG/API/class_externalvideoframe.dita @@ -410,7 +410,7 @@ class ExternalVideoFrame { eglContext10 - EGLContext10。 This parameter only applies to video data in Texture format. + EGLContext10. This parameter only applies to video data in Texture format. eglContext14