From 346341e07a7c61dec52042081b6e2a8bea33623a Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 25 Oct 2024 12:13:10 +0800 Subject: [PATCH 01/35] New translations --- en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita | 3 ++- en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita | 2 +- .../API/api_irtcengine_updatescreencaptureparameters.dita | 2 +- .../API/callback_irtcengineeventhandler_onnetworkquality.dita | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita index 520ee67f8c8..bb29cbeacda 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -34,7 +34,8 @@

After calling this method, if you receive the event in the callback, the preload is successful; If you receive the event in the callback, the preload fails.

If the preload is successful and you want to play the media resource, call ; if you want to clear the playlist, call .

-

Agora does not support preloading duplicate media resources to the playlist. However, you can preload the media resources that are being played to the playlist again.

+
Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita index 0c67be986c5..d2192ab82a6 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapture.dita @@ -73,7 +73,7 @@ parameters screenCaptureParameters captureParams - The screen sharing encoding parameters. The default video dimension is 1920 x 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See . + The screen sharing encoding parameters. See .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita index 3427266a94a..088de712d22 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita @@ -44,7 +44,7 @@ parameters captureParams - The screen sharing encoding parameters. The default video resolution is 1920 × 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See . + The screen sharing encoding parameters. See .
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita index 98008c024cd..464a56c4118 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureparameters.dita @@ -45,7 +45,7 @@ screenCaptureParameters captureParams - The screen sharing encoding parameters. The default video resolution is 1920 × 1080, that is, 2,073,600 pixels. Agora uses the value of this parameter to calculate the charges. See .The video properties of the screen sharing stream only need to be set through this parameter, and are unrelated to . + The screen sharing encoding parameters. See .The video properties of the screen sharing stream only need to be set through this parameter, and are unrelated to .
diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index 327c62df971..ee43bbee716 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -47,7 +47,7 @@

This callback reports the last mile network conditions of each user in the channel. Last mile refers to the connection between the local device and Agora's edge server.

The SDK triggers this callback once every two seconds. If a channel includes multiple users, the SDK triggers this callback as many times.

This callback provides feedback on network quality through sending and receiving broadcast packets within the channel. Excessive broadcast packets can lead to broadcast storms. To prevent broadcast storms from causing a large amount of data transmission within the channel, this callback supports feedback on the network quality of up to 4 remote hosts simultaneously by default.

- txQuality is UNKNOWNUnknown when the user is not sending a stream; rxQuality is UNKNOWNUnknown when the user is not receiving a stream. + txQuality is UNKNOWNUnknown when the user is not sending a stream; rxQuality is UNKNOWNUnknown when the user is not receiving a stream.
<ph keyref="callback-section-title" /> From f666a9016175978968abe49580bf137d7223e16f Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 25 Oct 2024 13:13:34 +0800 Subject: [PATCH 02/35] New translations From c0c1a9e25ac294c778e14e699052dd3cc0689897 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:14:11 +0800 Subject: [PATCH 03/35] New translations --- en-US/dita/RTC-NG/API/rtc_api_overview.dita | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en-US/dita/RTC-NG/API/rtc_api_overview.dita b/en-US/dita/RTC-NG/API/rtc_api_overview.dita index 64106493783..75be940acfa 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_overview.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_overview.dita @@ -1658,7 +1658,7 @@
-
+
<ph props="cn">DRM-protected music</ph>

This group of methods is for Android and iOS only.

From f24bad6f6dc83d5f04ae811c3f45e704f9ce5ecd Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 6 Nov 2024 11:23:31 +0800 Subject: [PATCH 04/35] New translations From c853737512385cafbd707569a64c96cd7ec4a523 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 6 Nov 2024 16:02:19 +0800 Subject: [PATCH 05/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_addview.dita | 78 + en-US/dita/RTC-NG/API/api_canvas_canvas.dita | 56 + .../RTC-NG/API/api_canvas_getconfigs.dita | 61 + .../RTC-NG/API/api_canvas_removeview.dita | 69 + .../RTC-NG/API/api_canvas_setconfigs.dita | 61 + .../API/api_canvasconfig_getmirrormode.dita | 53 + .../API/api_canvasconfig_getrendermode.dita | 59 + .../API/api_canvasconfig_setmirrormode.dita | 59 + .../API/api_canvasconfig_setrendermode.dita | 57 + .../dita/RTC-NG/API/api_config_getappid.dita | 56 + .../API/api_config_getjsonparameter.dita | 64 + .../dita/RTC-NG/API/api_config_setappid.dita | 58 + .../API/api_config_setjsonparameter.dita | 63 + en-US/dita/RTC-NG/API/api_error_code.dita | 48 + en-US/dita/RTC-NG/API/api_error_message.dita | 47 + ...pi_irtcengine_enablevirtualbackground.dita | 9 +- .../api_irtcengine_getextensionproperty.dita | 6 +- .../api_irtcengine_getextensionproperty2.dita | 6 +- ...pi_irtcengine_getfaceshapeareaoptions.dita | 95 + ...i_irtcengine_getfaceshapeareaoptions2.dita | 58 + ..._irtcengine_getfaceshapebeautyoptions.dita | 73 + ...irtcengine_getfaceshapebeautyoptions2.dita | 56 + .../API/api_irtcengine_registerextension.dita | 4 +- ...api_irtcengine_setbeautyeffectoptions.dita | 6 +- ...api_irtcengine_setcolorenhanceoptions.dita | 4 - ...irtcengine_setexternalmediaprojection.dita | 69 + ...rtcengine_setexternalremoteeglcontext.dita | 65 + ...pi_irtcengine_setfaceshapeareaoptions.dita | 71 + ...i_irtcengine_setfaceshapeareaoptions2.dita | 69 + ..._irtcengine_setfaceshapebeautyoptions.dita | 85 + ...irtcengine_setfaceshapebeautyoptions2.dita | 71 + ...api_irtcengine_setfiltereffectoptions.dita | 80 + ...pi_irtcengine_setfiltereffectoptions2.dita | 57 + ...pi_irtcengine_setlocalrendertargetfps.dita | 68 + ..._irtcengine_setlowlightenhanceoptions.dita | 40 +- ...i_irtcengine_setremoterendertargetfps.dita | 63 + ...pi_irtcengine_setvideodenoiseroptions.dita | 37 +- .../api_irtcengine_startlocalaudiomixer.dita | 71 + .../api_irtcengine_stoplocalaudiomixer.dita | 53 + .../API/api_irtcengine_takesnapshot2.dita | 66 + ...ne_updatelocalaudiomixerconfiguration.dita | 60 + .../API/api_irtcengineex_takesnapshotex2.dita | 58 + .../RTC-NG/API/api_player_getconfigs.dita | 62 + en-US/dita/RTC-NG/API/api_player_getinfo.dita | 68 + .../dita/RTC-NG/API/api_player_getstats.dita | 58 + .../dita/RTC-NG/API/api_player_muteaudio.dita | 73 + .../dita/RTC-NG/API/api_player_mutevideo.dita | 73 + .../RTC-NG/API/api_player_openwithurl.dita | 70 + en-US/dita/RTC-NG/API/api_player_pause.dita | 65 + en-US/dita/RTC-NG/API/api_player_play.dita | 68 + en-US/dita/RTC-NG/API/api_player_player.dita | 58 + .../RTC-NG/API/api_player_preloadwithurl.dita | 73 + .../API/api_player_registerobserver.dita | 67 + .../dita/RTC-NG/API/api_player_setcanvas.dita | 65 + .../RTC-NG/API/api_player_setconfigs.dita | 68 + en-US/dita/RTC-NG/API/api_player_stop.dita | 69 + .../API/api_player_unregisterobserver.dita | 68 + .../API/api_playerconfig_getautoplay.dita | 64 + .../API/api_playerconfig_setautoplay.dita | 62 + en-US/dita/RTC-NG/API/api_rte_getconfigs.dita | 68 + .../RTC-NG/API/api_rte_getfrombridge.dita | 59 + .../RTC-NG/API/api_rte_initmediaengine.dita | 74 + .../RTC-NG/API/api_rte_registerobserver.dita | 71 + en-US/dita/RTC-NG/API/api_rte_rte.dita | 60 + en-US/dita/RTC-NG/API/api_rte_setconfigs.dita | 72 + .../API/api_rte_unregisterobserver.dita | 65 + .../API/api_rteexception_errorcode.dita | 41 + .../API/callback_asynccallback_onresult.dita | 53 + ...eventhandler_onlocalvideostatechanged.dita | 1 + ...lback_playergetstatscallback_onresult.dita | 57 + ...layerobserver_onaudiovolumeindication.dita | 52 + .../API/callback_playerobserver_onevent.dita | 53 + .../callback_playerobserver_onmetadata.dita | 62 + ...ck_playerobserver_onplayerinfoupdated.dita | 53 + ...ck_playerobserver_onresolutionchanged.dita | 57 + ...allback_playerobserver_onstatechanged.dita | 64 + .../dita/RTC-NG/API/class_asynccallback.dita | 6 + en-US/dita/RTC-NG/API/class_canvas.dita | 73 + en-US/dita/RTC-NG/API/class_canvasconfig.dita | 67 + .../RTC-NG/API/class_channelmediaoptions.dita | 8 +- en-US/dita/RTC-NG/API/class_config.dita | 68 + en-US/dita/RTC-NG/API/class_error.dita | 55 + .../API/class_faceshapeareaoptions.dita | 96 + .../API/class_faceshapebeautyoptions.dita | 62 + .../RTC-NG/API/class_filtereffectoptions.dita | 62 + .../class_imediafilterextensiondelegate.dita | 10 +- .../class_localaudiomixerconfiguration.dita | 75 + .../RTC-NG/API/class_mixedaudiostream.dita | 94 + en-US/dita/RTC-NG/API/class_player.dita | 6 + en-US/dita/RTC-NG/API/class_playerconfig.dita | 79 + .../API/class_playergetstatscallback.dita | 6 + .../dita/RTC-NG/API/class_playerobserver.dita | 6 + en-US/dita/RTC-NG/API/class_rte.dita | 6 + en-US/dita/RTC-NG/API/class_rteexception.dita | 41 + .../dita/RTC-NG/API/class_rteplayerinfo.dita | 141 ++ .../dita/RTC-NG/API/class_rteplayerstats.dita | 71 + .../API/class_screencapturesourceinfo.dita | 29 +- .../dita/RTC-NG/API/class_snapshotconfig.dita | 44 + .../API/class_videoencoderconfiguration.dita | 55 +- en-US/dita/RTC-NG/API/class_videoframe.dita | 253 ++- .../dita/RTC-NG/API/enum_audiosourcetype.dita | 53 + en-US/dita/RTC-NG/API/enum_faceshapearea.dita | 72 + .../RTC-NG/API/enum_faceshapebeautystyle.dita | 28 + en-US/dita/RTC-NG/API/enum_rteerrorcode.dita | 48 + .../dita/RTC-NG/API/enum_rteplayerevent.dita | 40 + .../API/enum_rteplayermetadatatype.dita | 24 + .../dita/RTC-NG/API/enum_rteplayerstate.dita | 52 + .../RTC-NG/API/enum_rtevideomirrormode.dita | 35 + .../RTC-NG/API/enum_rtevideorendermode.dita | 28 + .../RTC-NG/API/enum_videodenoiserlevel.dita | 10 +- en-US/dita/RTC-NG/API/rtc_api_data_type.dita | 100 +- en-US/dita/RTC-NG/API/toc_audiomixer.dita | 7 + en-US/dita/RTC-NG/API/toc_rte_player.dita | 6 + .../RTC-NG/API/api_imediaplayer_mute.dita | 57 + .../API/api_irtcengine_enableencryption.dita | 74 + .../API/api_irtcengine_enableextension.dita | 102 + .../api_irtcengine_enablefacedetection.dita | 67 + .../api_irtcengine_enablevoiceaituner.dita | 72 + .../api_irtcengine_getextensionproperty.dita | 66 + .../api_irtcengine_getextensionproperty2.dita | 107 + ...gine_querycamerafocallengthcapability.dita | 74 + .../api_irtcengine_querycodeccapability.dita | 78 + .../API/api_irtcengine_registerextension.dita | 96 + .../api_irtcengine_setextensionproperty.dita | 98 + ...tcengine_setextensionproviderproperty.dita | 76 + ...cengine_startscreencapturebydisplayid.dita | 98 + ...tcengine_startscreencapturebywindowid.dita | 235 +++ .../api_irtcengineex_enableencryptionex.dita | 75 + ...nthandler_onextensionerrorwithcontext.dita | 64 + ...nthandler_onextensioneventwithcontext.dita | 63 + ...handler_onextensionstartedwithcontext.dita | 42 + ...handler_onextensionstoppedwithcontext.dita | 42 + .../dita/RTC-NG/API/class_audiopcmframe.dita | 155 ++ .../RTC-NG/API/class_audiotrackconfig.dita | 96 + .../RTC-NG/API/class_channelmediaoptions.dita | 1728 +++++++++++++++++ .../RTC-NG/API/class_externalvideoframe.dita | 514 +++++ .../class_imediafilterextensiondelegate.dita | 30 + .../API/class_mediarecorderconfiguration.dita | 242 +++ .../RTC-NG/API/class_recorderstreaminfo.dita | 104 + .../API/class_screencaptureconfiguration.dita | 142 ++ .../API/class_screencapturesourceinfo.dita | 266 +++ .../API/class_videoencoderconfiguration.dita | 677 +++++++ .../dita/RTC-NG/API/class_videoframe.dita | 910 +++++++++ .../API/class_videosubscriptionoptions.dita | 106 + 144 files changed, 12697 insertions(+), 157 deletions(-) create mode 100644 en-US/dita/RTC-NG/API/api_canvas_addview.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvas_canvas.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvas_removeview.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita create mode 100644 en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita create mode 100644 en-US/dita/RTC-NG/API/api_config_getappid.dita create mode 100644 en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita create mode 100644 en-US/dita/RTC-NG/API/api_config_setappid.dita create mode 100644 en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita create mode 100644 en-US/dita/RTC-NG/API/api_error_code.dita create mode 100644 en-US/dita/RTC-NG/API/api_error_message.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita create mode 100644 en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_getconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_getinfo.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_getstats.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_muteaudio.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_mutevideo.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_openwithurl.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_pause.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_play.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_player.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_registerobserver.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_setcanvas.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_setconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_stop.dita create mode 100644 en-US/dita/RTC-NG/API/api_player_unregisterobserver.dita create mode 100644 en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita create mode 100644 en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_getconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_registerobserver.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_rte.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_setconfigs.dita create mode 100644 en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita create mode 100644 en-US/dita/RTC-NG/API/api_rteexception_errorcode.dita create mode 100644 en-US/dita/RTC-NG/API/callback_asynccallback_onresult.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onaudiovolumeindication.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onevent.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onresolutionchanged.dita create mode 100644 en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita create mode 100644 en-US/dita/RTC-NG/API/class_asynccallback.dita create mode 100644 en-US/dita/RTC-NG/API/class_canvas.dita create mode 100644 en-US/dita/RTC-NG/API/class_canvasconfig.dita create mode 100644 en-US/dita/RTC-NG/API/class_config.dita create mode 100644 en-US/dita/RTC-NG/API/class_error.dita create mode 100644 en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita create mode 100644 en-US/dita/RTC-NG/API/class_faceshapebeautyoptions.dita create mode 100644 en-US/dita/RTC-NG/API/class_filtereffectoptions.dita create mode 100644 en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita create mode 100644 en-US/dita/RTC-NG/API/class_mixedaudiostream.dita create mode 100644 en-US/dita/RTC-NG/API/class_player.dita create mode 100644 en-US/dita/RTC-NG/API/class_playerconfig.dita create mode 100644 en-US/dita/RTC-NG/API/class_playergetstatscallback.dita create mode 100644 en-US/dita/RTC-NG/API/class_playerobserver.dita create mode 100644 en-US/dita/RTC-NG/API/class_rte.dita create mode 100644 en-US/dita/RTC-NG/API/class_rteexception.dita create mode 100644 en-US/dita/RTC-NG/API/class_rteplayerinfo.dita create mode 100644 en-US/dita/RTC-NG/API/class_rteplayerstats.dita create mode 100644 en-US/dita/RTC-NG/API/class_snapshotconfig.dita create mode 100644 en-US/dita/RTC-NG/API/enum_audiosourcetype.dita create mode 100644 en-US/dita/RTC-NG/API/enum_faceshapearea.dita create mode 100644 en-US/dita/RTC-NG/API/enum_faceshapebeautystyle.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rteerrorcode.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rteplayerevent.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rteplayermetadatatype.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rteplayerstate.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rtevideomirrormode.dita create mode 100644 en-US/dita/RTC-NG/API/enum_rtevideorendermode.dita create mode 100644 en-US/dita/RTC-NG/API/toc_audiomixer.dita create mode 100644 en-US/dita/RTC-NG/API/toc_rte_player.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_imediaplayer_mute.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_enableencryption.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_enableextension.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_enablefacedetection.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_enablevoiceaituner.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_querycamerafocallengthcapability.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_querycodeccapability.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproperty.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_setextensionproviderproperty.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebywindowid.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/api_irtcengineex_enableencryptionex.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionerrorwithcontext.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensioneventwithcontext.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstartedwithcontext.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onextensionstoppedwithcontext.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_audiopcmframe.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_channelmediaoptions.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_externalvideoframe.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_imediafilterextensiondelegate.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_mediarecorderconfiguration.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_recorderstreaminfo.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_videoframe.dita create mode 100644 en-US/en-US/dita/RTC-NG/API/class_videosubscriptionoptions.dita diff --git a/en-US/dita/RTC-NG/API/api_canvas_addview.dita b/en-US/dita/RTC-NG/API/api_canvas_addview.dita new file mode 100644 index 00000000000..532d4cdd326 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvas_addview.dita @@ -0,0 +1,78 @@ + + + + <ph keyref="AddView"/> + 添加渲染视图。 + + + + + + + + +
+

+ public void addView(View view, ViewConfig viewConfig) throws RteException; + + - (BOOL)addView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; + bool AddView(View *view, ViewConfig *config, rte::Error *err) + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Applicable scenarios +

当你需要使用播放器播放视频,你可以调用该方法将一个视图(view)添加到视频渲染器中,以便显示视频内容。

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

当前仅支持添加一个视图。

+
+
+ Parameters + + + view + HWND 窗口句柄值。 + SurfaceView 对象。 + UIView 对象。 + NSView 对象。 + + + config + View 对象的设置,目前请传空。 + + + + + +
+
+ <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.

+

添加视图是否成功:

    +
  • :添加视图成功。
  • +
  • :添加视图失败。
  • +
+

+
+ +

+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_canvas_canvas.dita b/en-US/dita/RTC-NG/API/api_canvas_canvas.dita new file mode 100644 index 00000000000..cb4bc0959e4 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvas_canvas.dita @@ -0,0 +1,56 @@ + + + + <ph keyref="Canvas_Canvas"/> + 构造一个 Canvas 对象。 + + + + + + + + +
+

+ public Canvas(Rte rte, CanvasInitialConfig config); + + - (instancetype _Nonnull)initWithRte:(AgoraRte* _Nonnull)rte initialConfig:(AgoraRteCanvasInitialConfig * _Nullable)config; + Canvas(Rte *rte, CanvasInitialConfig *initial_config); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + + + + + initial_config + config + Canvas 的对象配置,目前可传空。 + +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita new file mode 100644 index 00000000000..11efd281f0d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita @@ -0,0 +1,61 @@ + + + + <ph keyref="GetConfigs_Canvas"/> + 获取当前的播放器视频渲染配置。 + + + + + + + + +
+

+ public void getConfigs(CanvasConfig config) throws RteException; + + - (BOOL)getConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; + bool GetConfigs(CanvasConfig *config, Error *err); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + + + + + + + +
+
+
+ +

+
+ + diff --git a/en-US/dita/RTC-NG/API/api_canvas_removeview.dita b/en-US/dita/RTC-NG/API/api_canvas_removeview.dita new file mode 100644 index 00000000000..577e21d27cf --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvas_removeview.dita @@ -0,0 +1,69 @@ + + + + <ph keyref="RemoveView"/> + 移除渲染视图。 + + + + + + + + +
+

+ public void removeView(View view, ViewConfig viewConfig) throws RteException; + + - (BOOL)removeView:(AgoraRteView * _Nonnull)view config:(AgoraRteViewConfig* _Nullable)config error:(AgoraRteError* _Nullable)error; + bool RemoveView(View *view, ViewConfig *config, rte::Error *err); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

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

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

一次只能移除一个视图。

+
+
+ Parameters + + + view + 需要移除的视图对象。 + + + + + + + + + +
+
+ <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.

+

移除视图是否成功:

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

+
+ + diff --git a/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita b/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita new file mode 100644 index 00000000000..0d5f1cde4cb --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita @@ -0,0 +1,61 @@ + + + + <ph keyref="SetConfigs_Canvas"/> + 设置播放器视频渲染配置。 + + + + + + + + +
+

+ public void setConfigs(CanvasConfig config) throws RteException; + + - (BOOL)setConfigs:(AgoraRteCanvasConfig* _Nonnull)config error:(AgoraRteError* _Nullable)error; + bool SetConfigs(CanvasConfig *config, Error *err); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + config + Canvas 对象的设置,详见 + + + + + +
+
+
+ +

+
+ + diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita new file mode 100644 index 00000000000..86faf05bafa --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita @@ -0,0 +1,53 @@ + + + + <ph keyref="GetMirrorMode"/> + 获取当前设置的镜像模式。 + + + + + + + + +
+

+ public Constants.VideoMirrorMode getVideoMirrorMode() throws RteException ; + + - (AgoraRteVideoMirrorMode)videoMirrorMode:(AgoraRteError * _Nullable)error; + VideoMirrorMode GetMirrorMode(Error *err = nullptr); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+
+ Restrictions +

None.

+
+
+ <ph props="cpp apple framework">Parameters</ph> + + + + + +
+
+ <ph keyref="return-section-title"/> +

当前设置的镜像模式,详见

+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita new file mode 100644 index 00000000000..2bf3d4e6dc4 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita @@ -0,0 +1,59 @@ + + + + <ph keyref="GetRenderMode"/> + 获取当前设置的视频渲染模式。 + + + + + + + + +
+

+ public Constants.VideoRenderMode getVideoRenderMode() throws RteException ; + + - (AgoraRteVideoRenderMode)videoRenderMode:(AgoraRteError * _Nullable)error; + VideoRenderMode GetRenderMode(Error *err = nullptr) + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ <ph props="cpp apple framework">Parameters</ph> + + + + + +
+
+ <ph keyref="return-section-title"/> +

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

+
+
+ +

+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita new file mode 100644 index 00000000000..95ff7ff6945 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita @@ -0,0 +1,59 @@ + + + + <ph keyref="SetMirrorMode"/> + 设置视频的镜像模式。 + + + + + + + + +
+

+ public void setVideoMirrorMode(Constants.VideoMirrorMode mode) throws RteException ; + + - (void)setVideoMirrorMode:(AgoraRteVideoMirrorMode)mode error:(AgoraRteError* _Nullable)error; + void SetMirrorMode(VideoMirrorMode mode, Error *err = nullptr); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + mode + Mirror mode. See . 默认为 ,即由 SDK 决定镜像模式。 The SDK disables mirror mode by default. + + + + + +
+
+ +

+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita new file mode 100644 index 00000000000..e7fab6b5e67 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita @@ -0,0 +1,57 @@ + + + + <ph keyref="SetRenderMode_CanvasConfig"/> + 设置视频的渲染模式。 + + + + + + + + +
+

+ public void setVideoRenderMode(Constants.VideoRenderMode mode) throws RteException ; + + - (void)setVideoMirrorMode:(AgoraRteVideoMirrorMode)mode error:(AgoraRteError* _Nullable)error; + void SetRenderMode(VideoRenderMode mode, Error *err = nullptr); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + mode + The video rendering mode. See . 默认的渲染模式为 ,即视频尺寸等比缩放,优先保证视窗被填满。 + + + + + +
+
+ + diff --git a/en-US/dita/RTC-NG/API/api_config_getappid.dita b/en-US/dita/RTC-NG/API/api_config_getappid.dita new file mode 100644 index 00000000000..e115001e28d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_config_getappid.dita @@ -0,0 +1,56 @@ + + + + <ph keyref="GetAppId"/> + 获取设置的 App ID。 + + + + + + + + +
+

+ public String getAppId() throws RteException; + + - (NSString* _Nullable)appId:( AgoraRteError * _Nullable)error; + const char* GetAppId(Error *err); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+ Restrictions +

None.

+
+
+ <ph props="cpp apple framework">Parameters</ph> + + + + + +
+
+ <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。
  • +
  • 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 new file mode 100644 index 00000000000..76b171ba184 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita @@ -0,0 +1,64 @@ + + + + <ph keyref="GetJsonParameter_Config"/> + 获取已设置的 SDK JSON 配置信息。 + + + + + + + + +
+

+ public String getJsonParameter() throws RteException; + + - (NSString * _Nullable)jsonParameter:(AgoraRteError * _Nullable)error; + std::string GetJsonParameter(Error *err = nullptr) + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

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

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ <ph props="cpp apple framework">Parameters</ph> + + + + + +
+
+ <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 配置信息。
  • +
  • An empty string, if the method call fails.
  • +
+

设置的 JSON 配置信息。

+
+ +

+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_config_setappid.dita b/en-US/dita/RTC-NG/API/api_config_setappid.dita new file mode 100644 index 00000000000..cb27e55cd4d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_config_setappid.dita @@ -0,0 +1,58 @@ + + + + <ph keyref="SetAppId"/> + Request an App ID. + + + + + + + + +
+

+ public void setAppId(String appId) throws RteException; + + - (void)setAppId:(NSString * _Nullable)appId error:(AgoraRteError * _Nullable)error; + void SetAppId(const char *app_id, Error *err); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + appId + 你的项目的 App ID,在声网控制台获取。 + + + + + +
+
+ Exception +

调用该方法失败时,SDK 会抛出 异常,并返回相应的错误信息。 你需要捕获异常并进行处理。

+
+
diff --git a/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita b/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita new file mode 100644 index 00000000000..58a4be58405 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita @@ -0,0 +1,63 @@ + + + + <ph keyref="SetJsonParameter_Config"/> + Provides the technical preview functionalities or special customizations by configuring the SDK with JSON options. + + + + + + + + +
+

+ public void setJsonParameter(String jsonParameter) throws RteException; + + - (void)setJsonParameter:(NSString * _Nullable)jsonParameter error:(AgoraRteError * _Nullable)error; + void SetJsonParameter(const char *json_parameter, Error *err = nullptr); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+ Applicable scenarios +

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

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + jsonParameter + json_parameter + Pointer to the set parameters in a JSON string. + + + + + +
+
+
+
+
diff --git a/en-US/dita/RTC-NG/API/api_error_code.dita b/en-US/dita/RTC-NG/API/api_error_code.dita new file mode 100644 index 00000000000..8dec5a50b2f --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_error_code.dita @@ -0,0 +1,48 @@ + + + + <ph keyref="Code"/> + 获取接口调用返回的错误码。 + + + + + + + + +
+

+ public Constants.ErrorCode code(); + + - (AgoraRteErrorCode)code; + ErrorCode Code(); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+
+
+ Call timing +

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

+
+
+ Restrictions +

None.

+
+
+ <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.

+

Error code. See .

+
+
diff --git a/en-US/dita/RTC-NG/API/api_error_message.dita b/en-US/dita/RTC-NG/API/api_error_message.dita new file mode 100644 index 00000000000..47563c46d35 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_error_message.dita @@ -0,0 +1,47 @@ + + + + <ph keyref="Message"/> + 获取详细的错误信息。 + + + + + + + + +
+

+ public String message(); + + - (NSString * _Nullable)message; + const char *Message(); + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+
+
+ Call timing +

当 API 调用失败后,你可以调用该方法获取错误信息来帮助排查问题。

+
+
+ Restrictions +

None.

+
+
+ <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.

+

The error message.

+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita index 2397943808d..99aaa35b84b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enablevirtualbackground.dita @@ -90,12 +90,9 @@ segData Processing properties for background images. See . - - type - The type of the video source. See .In this method, this parameter supports only the following two settings:
    -
  • The default value is .
  • -
  • If you want to use the second camera to capture video, set this parameter to .
  • -
+ + +
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita index 27f01aee09b..6d3c08659ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty.dita @@ -16,9 +16,9 @@ public abstract String getExtensionProperty(String provider, String extension, String key); - - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider - extension:(NSString * __nonnull)extension - key:(NSString * __nonnull)key; + - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * _Nonnull)provider + extension:(NSString * _Nonnull)extension + key:(NSString * _Nonnull)key; diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita index 4f2cb6fd689..8c5ca3c2a6d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getextensionproperty2.dita @@ -17,9 +17,9 @@ String provider, String extension, String key, Constants.MediaSourceType sourceType); - - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * __nonnull)provider - extension:(NSString * __nonnull)extension - key:(NSString * __nonnull)key + - (NSString * _Nullable)getExtensionPropertyWithVendor:(NSString * _Nonnull)provider + extension:(NSString * _Nonnull)extension + key:(NSString * _Nonnull)key sourceType:(AgoraMediaSourceType)sourceType; virtual int getExtensionProperty( diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita new file mode 100644 index 00000000000..c1d98c4d4c2 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita @@ -0,0 +1,95 @@ + + + + <ph keyref="getFaceShapeAreaOptions" /> + 获取美型部位选项。 + + + + + + + + +
+

+ public abstract FaceShapeAreaOptions getFaceShapeAreaOptions( + int shapeArea, Constants.MediaSourceType sourceType); + + - (AgoraFaceShapeAreaOptions * _Nullable)getFaceShapeAreaOptions:(AgoraFaceShapeArea) area sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(getFaceShapeAreaOptions(_:sourceType:)); + virtual int getFaceShapeAreaOptions(agora::rtc::FaceShapeAreaOptions::FACE_SHAPE_AREA shapeArea, FaceShapeAreaOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

调用该方法可以获取美型部位当前设置的参数信息。

+
+
+ Applicable scenarios +

用户在 App 中打开美型部位和修饰力度菜单时,你可以调用该方法获取当前的美型部位选项,然后根据结果刷新用户界面中的菜单,并更新 UI。

+
+
+ Call timing +

Call this method after calling .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + shapeArea + area + +

美型部位。 See .

+

美型部位:

    +
  • (-1):(默认)无效部位,美型不生效。
  • +
  • (0):头部,用于实现小头效果。 对应修饰力度范围为 [0,100],值越大头越小,预设值为 100。
  • +
  • (1):额头,修饰发际线高度。 对应修饰力度范围为 [-100,100],正值为调高,负值为调低,绝对值越大修饰效果越强,预设值为 50。
  • +
  • (2):脸部轮廓,用于实现瘦脸效果。 对应修饰力度范围为 [0,100],值越大瘦脸效果越强,预设值为 10。
  • +
  • (3):脸部长度,用于实现长脸效果。 对应修饰力度范围为 [-100,100],正值为拉长,负值为变短,绝对值越大修饰效果越强,预设值为 0。
  • +
  • (4):脸部宽度,用于实现窄脸效果。 对应修饰力度范围为 [0,100],值越大窄脸效果越强,预设值为 10。
  • +
  • (5):颧骨,修饰颧骨宽度。 对应修饰力度范围为 [0,100],值越大颧骨越窄,预设值为 43。
  • +
  • (6):脸颊,修饰脸颊宽度。 对应修饰力度范围为 [0,100],值越大脸颊越窄,预设值为 50。
  • +
  • (7):下巴,修饰下巴长度。 对应修饰力度范围为 [-100,100],正值为拉长,负值为变短,绝对值越大修饰效果越强,预设值为 -20。
  • +
  • (8):眼睛,用于实现大眼效果。 对应修饰力度范围为 [0,100],值越大,眼睛越大,预设值为 53。
  • +
  • (9):鼻子长度,用于实现长鼻效果。 对应修饰力度范围为 [-100,100],正值为拉长,负值为变短,绝对值越大修饰效果越强,预设值为 -10。
  • +
  • (10):鼻子宽度,用于实现瘦鼻效果。 对应修饰力度范围为 [-100,100],正值为变宽,负值为变窄,绝对值越大修饰效果越强,预设值为 72。
  • +
  • (11):嘴巴,修饰嘴巴大小。 对应修饰力度范围为 [-100,100],正值为变大,负值为变小,绝对值越大修饰效果越强,预设值为 20。
  • +
+

+
+
+ + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
    +
  • A pointer to the instance, if the method call succeeds.
  • +
  • If the call fails, returns .
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita new file mode 100644 index 00000000000..c340c93c04d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita @@ -0,0 +1,58 @@ + + + + <ph keyref="getFaceShapeAreaOptions2" /> + 获取美型部位选项。 + + + + + + + + +
+

+ public abstract FaceShapeAreaOptions getFaceShapeAreaOptions(int shapeArea); + + - (AgoraFaceShapeAreaOptions * _Nullable)getFaceShapeAreaOptions:(AgoraFaceShapeArea) area NS_SWIFT_NAME(getFaceShapeAreaOptions(_:)); + + + + + +

+
+
+
+
+
+
+ Parameters + + + + + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
    +
  • A pointer to the instance, if the method call succeeds.
  • +
  • If the call fails, returns .
  • +
+ + diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita new file mode 100644 index 00000000000..76ac5c682fe --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita @@ -0,0 +1,73 @@ + + + + <ph keyref="getFaceShapeBeautyOptions" /> + 获取美型效果选项。 + + + + + + + + +
+

+ public abstract FaceShapeBeautyOptions getFaceShapeBeautyOptions( + Constants.MediaSourceType sourceType); + + - (AgoraFaceShapeBeautyOptions * _Nullable)getFaceShapeBeautyOptions:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(getFaceShapeBeautyOptions(_:)); + virtual int getFaceShapeBeautyOptions(FaceShapeBeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

调用该方法可以获取美型效果当前设置的参数信息。

+
+
+ Applicable scenarios +

用户在 App 中打开美型风格和风格强度菜单时,你可以调用该方法获取当前的美型效果选项,然后根据结果刷新用户界面中的菜单,并更新 UI。

+
+
+ Call timing +

Call this method after calling .

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
    +
  • A pointer to the instance, if the method call succeeds.
  • +
  • If the call fails, returns .
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita new file mode 100644 index 00000000000..4404058fd61 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita @@ -0,0 +1,56 @@ + + + + <ph keyref="getFaceShapeBeautyOptions" /> + 获取美型效果选项。 + + + + + + + + +
+

+ public abstract FaceShapeBeautyOptions getFaceShapeBeautyOptions( + Constants.MediaSourceType sourceType); + + - (AgoraFaceShapeBeautyOptions * _Nullable)getFaceShapeBeautyOptions:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(getFaceShapeBeautyOptions(_:)); + virtual int getFaceShapeBeautyOptions(FaceShapeBeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+
+
+
+ Parameters + + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
    +
  • A pointer to the instance, if the method call succeeds.
  • +
  • If the call fails, returns .
  • +
+ + diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita index 84400d5e451..beeace6b14e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registerextension.dita @@ -16,8 +16,8 @@ public abstract int registerExtension( String provider, String extension, Constants.MediaSourceType sourceType); - - (int)registerExtensionWithVendor:(NSString * __nonnull)provider - extension:(NSString * __nonnull)extension + - (int)registerExtensionWithVendor:(NSString * _Nonnull)provider + extension:(NSString * _Nonnull)extension sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(registerExtension(withVendor:extension:sourceType:)); virtual int registerExtension(const char* provider, const char* extension, agora::media::MEDIA_SOURCE_TYPE type = agora::media::UNKNOWN_MEDIA_SOURCE) = 0; diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita index 1bf8acec497..141856f0d47 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setbeautyeffectoptions.dita @@ -66,9 +66,9 @@ options The image enhancement options. See . - - - + + +
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita index d9b200d2115..ac2c5af362b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setcolorenhanceoptions.dita @@ -46,10 +46,6 @@
  • Call this method after calling .
  • The color enhancement feature has certain performance requirements on devices. With color enhancement turned on, Agora recommends that you change the color enhancement level to one that consumes less performance or turn off color enhancement if your device is experiencing severe heat problems.
  • -
  • Both this method and can enable color enhancement:
      -
    • When you use the SDK to capture video, Agora recommends this method (this method only works for video captured by the SDK).
    • -
    • When you use an external video source to implement custom video capture, or send an external video source to the SDK, Agora recommends using .
    • -
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita new file mode 100644 index 00000000000..50bf9e92c99 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -0,0 +1,69 @@ + + + + <ph keyref="setExternalMediaProjection"/> + 设置 SDK 外部的 MediaProjection 采集屏幕视频流。 + + + + + + + + +
+

+ public abstract int setExternalMediaProjection(MediaProjection mediaProjection); + + + virtual int setExternalMediaProjection(void* mediaProjection) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+ This method is for Android only. +

成功调用该方法后,你设置的外部 MediaProjection 会替换掉 SDK 申请的 MediaProjection 采集屏幕视频流。

+

当停止屏幕共享或销毁 时,SDK 会自动释放 MediaProjection。

+
+
+ Applicable scenarios +

如果你具备自行申请 MediaProjection 的开发能力,可以直接使用该 MediaProjection 取代 SDK 申请的 MediaProjection 。 以下列出两种使用场景:

    +
  • 在定制系统的设备上,可避免系统弹窗(即需要用户授予屏幕采集权限),直接开始采集屏幕视频流。
  • +
  • 一个屏幕共享进程中存在一个或多个子进程,避免在子进程中自行创建对象的过程出错而导致采集失败。
  • +

+

For detailed implementation steps, please refer to .

+
+
+ Call timing +

Call this method after .

+
+
+ Restrictions +

在调用该方法前,必须先申请 MediaProjection 权限。

+
+
+ Parameters + + + mediaProjection + 一个 对象,用于采集屏幕视频流。 + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita new file mode 100644 index 00000000000..9ea47749959 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita @@ -0,0 +1,65 @@ + + + + <ph keyref="setExternalRemoteEglContext"/> + 设置远端视频流渲染的 EGL 环境上下文。 + + + + + + + + +
+

+ public abstract int setExternalRemoteEglContext(Object eglContext); + + + virtual int setExternalRemoteEglContext(void* eglContext) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

通过设置该方法,开发者可以替换 SDK 内部默认的远端 EGL 环境上下文,便于实现统一的 EGL 上下文管理。

+

引擎销毁时,SDK 会自动释放 EGL 环境上下文。

+ This method is for Android only. +
+
+ Applicable scenarios +

该方法适用于使用 Texture 格式的视频数据进行远端视频自渲染的场景。

+
+
+ Call timing +

Call this method before joining a channel.

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + eglContext + 用于远端视频流渲染的 EGL 环境上下文对象。 + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
+
\ No newline at end of file diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita new file mode 100644 index 00000000000..bc5cb113748 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions.dita @@ -0,0 +1,71 @@ + + + + <ph keyref="setFaceShapeAreaOptions" /> + Sets the image enhancement options and specifies the media source. + + + + + + + + +
+

+ public abstract int setFaceShapeAreaOptions( + FaceShapeAreaOptions options, Constants.MediaSourceType sourceType); + + - (int)setFaceShapeAreaOptions:(AgoraFaceShapeAreaOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFaceShapeAreaOptions(_:sourceType:)); + virtual int setFaceShapeAreaOptions(const FaceShapeAreaOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果,详见

+

该方法和 均可用于设置美型部位选项,区别在于该方法支持指定应用美型效果的媒体源。

+ +
+
+ Call timing +

Call this method after calling or .

+
+
+
+
+ Parameters + + + options + 美型部位选项,详见 + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
      +
    • -4: The current device does not support this feature. Possible reasons include:
        +
      • The current device capabilities do not meet the requirements for image enhancement. Agora recommends you replace it with a high-performance device.
      • +
      • The current device version is lower than Android 5.0 and does not support this feature. Agora recommends you replace the device or upgrade the operating system.
      • +
      +
    • +
    +
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita new file mode 100644 index 00000000000..b931fcc29af --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapeareaoptions2.dita @@ -0,0 +1,69 @@ + + + + <ph keyref="setFaceShapeAreaOptions" /> + 设置美型部位选项。 + + + + + + + + +
+

+ public abstract int setFaceShapeAreaOptions(FaceShapeAreaOptions options); + + - (int)setFaceShapeAreaOptions:(AgoraFaceShapeAreaOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFaceShapeAreaOptions(_:sourceType:)); + virtual int setFaceShapeAreaOptions(const FaceShapeAreaOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

如果在 方法中实现的预设美型效果达不到预期,你可以通过该方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果,详见

+ +
+
+ Call timing +

Call this method after calling or .

+
+
+
+
+ Parameters + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
      +
    • -4: The current device does not support this feature. Possible reasons include:
        +
      • The current device capabilities do not meet the requirements for image enhancement. Agora recommends you replace it with a high-performance device.
      • +
      • The current device version is lower than Android 5.0 and does not support this feature. Agora recommends you replace the device or upgrade the operating system.
      • +
      +
    • +
    +
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita new file mode 100644 index 00000000000..10897626f6a --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita @@ -0,0 +1,85 @@ + + + + <ph keyref="setFaceShapeBeautyOptions" /> + Sets the image enhancement options and specifies the media source. + + + + + + + + +
+

+ public abstract int setFaceShapeBeautyOptions( + boolean enabled, FaceShapeBeautyOptions options, Constants.MediaSourceType sourceType); + + - (int)setFaceShapeBeautyOptions:(BOOL)enable options:(AgoraFaceShapeBeautyOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFaceShapeBeautyOptions(_:options:sourceType:)); + virtual int setFaceShapeBeautyOptions(bool enabled, const FaceShapeBeautyOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

调用该方法可对人脸各部位进行修饰,使用预设的参数一次性实现瘦脸、大眼、瘦鼻等微整形效果,支持微调整体的修饰力度,详见

+

该方法和 均可用于设置美型效果选项,区别在于该方法支持指定应用美型效果的媒体源。

+ 美型属于增值服务,计费方式详见 +
+
+ Call timing +

Call this method after calling .

+
+
+ Restrictions +
    +
  • This method only applies to Android 4.4 or later.
  • +
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • +
  • This feature has high requirements on device performance. When calling this method, the SDK automatically checks the capabilities of the current device.
  • +
+
+
+ Parameters + + + enabled + enable + 是否开启美型效果:
    +
  • : Enable the image enhancement function.
  • +
  • : (Default) Disable the image enhancement function.
  • +
+
+ + options + 美型风格选项,详见 + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
      +
    • -4: The current device does not support this feature. Possible reasons include:
        +
      • The current device capabilities do not meet the requirements for image enhancement. Agora recommends you replace it with a high-performance device.
      • +
      • The current device version is lower than Android 5.0 and does not support this feature. Agora recommends you replace the device or upgrade the operating system.
      • +
      +
    • +
    +
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita new file mode 100644 index 00000000000..5d4b93c21a4 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions2.dita @@ -0,0 +1,71 @@ + + + + <ph keyref="setFaceShapeBeautyOptions2" /> + Sets the image enhancement options. + + + + + + + + +
+

+ public abstract int setFaceShapeBeautyOptions(boolean enabled, FaceShapeBeautyOptions options); + + - (int)setFaceShapeBeautyOptions:(BOOL)enable options:(AgoraFaceShapeBeautyOptions* _Nullable)options NS_SWIFT_NAME(setFaceShapeBeautyOptions(_:options:)); + + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

调用该方法可对脸部指定部位进行调整,从而实现瘦脸、大眼、瘦鼻等微整形效果,详见

+ +
+
+
+
+
+
+ Parameters + + + + + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
      +
    • -4: The current device does not support this feature. Possible reasons include:
        +
      • The current device capabilities do not meet the requirements for image enhancement. Agora recommends you replace it with a high-performance device.
      • +
      • The current device version is lower than Android 5.0 and does not support this feature. Agora recommends you replace the device or upgrade the operating system.
      • +
      +
    • +
    +
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita new file mode 100644 index 00000000000..3c788931660 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita @@ -0,0 +1,80 @@ + + + + <ph keyref="setFilterEffectOptions"/> + 设置滤镜效果选项。 + + + + + + + + +
+

+ public abstract int setFilterEffectOptions( + boolean enabled, FilterEffectOptions options, Constants.MediaSourceType sourceType); + + - (int)setFilterEffectOptions:(BOOL)enable options:(AgoraFilterEffectOptions* _Nullable)options sourceType:(AgoraMediaSourceType)sourceType NS_SWIFT_NAME(setFilterEffectOptions(_:options:sourceType:)); + virtual int setFilterEffectOptions(bool enabled, const FilterEffectOptions& options, agora::media::MEDIA_SOURCE_TYPE type = agora::media::PRIMARY_CAMERA_SOURCE) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

Both this method and set image enhancement options, but this method allows you to specify the media source to which the image enhancement is applied.

+
+
+ Call timing +

Call this method after calling .

+
+
+ Restrictions +
    +
  • This method only applies to Android 5.0 or later.
  • +
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • +
  • This feature has high requirements on device performance. When calling this method, the SDK automatically checks the capabilities of the current device.
  • +
+
+
+ Parameters + + + enabled + enable + 是否开启滤镜效果:
    +
  • : 开启滤镜功能。
  • +
  • : (Default) Disable the image enhancement function.
  • +
+
+ + options + 滤镜选项,详见 + + + type + sourceType + 效果应用的媒体源类型。 See .In this method, this parameter supports only the following two settings:
    +
  • 使用摄像头采集本地视频时,请保持默认值
  • +
  • 如果要使用自定义采集的视频,将该参数设置为
  • +
+
+
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita new file mode 100644 index 00000000000..98b1ecd8478 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita @@ -0,0 +1,57 @@ + + + + <ph keyref="setFilterEffectOptions2"/> + 设置滤镜效果选项。 + + + + + + + + +
+

+ public abstract int setFilterEffectOptions(boolean enabled, FilterEffectOptions options); + + - (int)setFilterEffectOptions:(BOOL)enable options:(AgoraFilterEffectOptions* _Nullable)options NS_SWIFT_NAME(setFilterEffectOptions(_:options:)); + + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+
+
+ Parameters + + + + + + + + + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+ + diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita new file mode 100644 index 00000000000..ea323fa1b4d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita @@ -0,0 +1,68 @@ + + + + <ph keyref="setLocalRenderTargetFps"/> + 设置本地视频渲染的最大帧率。 + + + + + + + + +
+

+ (int)setLocalRenderTargetFps:(AgoraVideoSourceType)sourceType +targetFps:(int)targetFps; + + public abstract int setLocalRenderTargetFps(Constants.VideoSourceType sourceType, int targetFps); + virtual int setLocalRenderTargetFps(VIDEO_SOURCE_TYPE sourceType, int targetFps) = 0; + + + + +

+
+
+
+ +
Since
+
v4.5.0
+
+
+

+

+
+ Applicable scenarios +

在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)下,你可以调用该方法设置本地视频渲染的最大帧率,SDK 进行本地渲染的实际帧率会尽量接近该值,从而减小 CPU 消耗、提升系统性能。

+
+
+ Call timing +

You can call this method either before or after joining a channel.

+
+
+ Restrictions +

None.

+
+
+ Parameters + + + + + + + targetFps + The capture frame rate (fps) of the local video. 支持的参数值为:1、7、10、15、24、30、60。请将此参数设置为低于视频实际帧率的渲染帧率,否则设置将不会生效。 + +
+
+ <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.

+
    +
  • 0: Success.
  • +
  • < 0: Failure. See for details and resolution suggestions.
  • +
+
+
diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index e4a996e0848..152934d5cf9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -38,21 +38,30 @@ MediaSourceType type = MediaSourceType.primaryCameraSource});

-
- Details -

The low-light enhancement feature can adaptively adjust the brightness value of the video captured in situations with low or uneven lighting, such as backlit, cloudy, or dark scenes. It restores or highlights the image details and improves the overall visual effect of the video.

+

You can call this method to enable the color enhancement feature and set the options of the color enhancement effect.

- +
+
+ 适用场景 +

The low-light enhancement feature can adaptively adjust the brightness value of the video captured in situations with low or uneven lighting, such as backlit, cloudy, or dark scenes. It restores or highlights the image details and improves the overall visual effect of the video.

+
+
+ 调用时机 +

Call this method after calling .

+
+
+ 调用限制
    -
  • Call this method after calling .
  • -
  • Dark light enhancement has certain requirements for equipment performance. The low-light enhancement feature has certain performance requirements on devices. If your device overheats after you enable low-light enhancement, Agora recommends modifying the low-light enhancement options to a less performance-consuming level or disabling low-light enhancement entirely.
  • -
  • Both this method and can turn on low-light enhancement:
      -
    • When you use the SDK to capture video, Agora recommends this method (this method only works for video captured by the SDK).
    • -
    • When you use an external video source to implement custom video capture, or send an external video source to the SDK, Agora recommends using .
    • -
  • -
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • -
-
+
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • +
  • Dark light enhancement has certain requirements for equipment performance. The low-light enhancement feature has certain performance requirements on devices. If your device overheats after you enable low-light enhancement, Agora recommends modifying the low-light enhancement options to a less performance-consuming level or disabling low-light enhancement entirely.
  • +
  • 如果要实现优先画质 () 的暗光增强,需要先调用 实现视频降噪,具体对应关系如下:
      +
    • 暗光增强为自动模式 () 时,视频降噪需设置为优先画质 ()、自动模式 ()。
    • +
    • 暗光增强为手动模式 () 时,视频降噪需设置为优先画质 ()、手动模式 ()。
    • +
    +
  • + +
    +
    Parameters @@ -69,7 +78,10 @@ type - The type of the video source. See . + 效果应用的媒体源类型。 See .在该方法中,该参数仅支持以下两种设置:
      +
    • 使用摄像头采集本地视频时,请保持默认值
    • +
    • 如果要使用自定义采集的视频,将该参数设置为
    • +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita new file mode 100644 index 00000000000..a04a03e7c0d --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita @@ -0,0 +1,63 @@ + + + + <ph keyref="setRemoteRenderTargetFps"/> + 设置视频在远端渲染的最大帧率。 + + + + + + + + +
    +

    + public abstract int setRemoteRenderTargetFps(int targetFps); + + - (int)setRemoteRenderTargetFps:(int)targetFps; + virtual int setRemoteRenderTargetFps(int targetFps) = 0; + + + + +

    +
    +
    +
    + +
    Since
    +
    v4.5.0
    +
    +
    +

    +

    +
    + Applicable scenarios +

    在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以调用该方法设置视频在远端渲染的最大帧率,SDK 进行远端视频渲染的实际帧率会尽量接近该值,从而减小 CPU 消耗、提升系统性能。

    +
    +
    + Call timing +

    You can call this method either before or after joining a channel.

    +
    +
    + Restrictions +

    None.

    +
    +
    + Parameters + + + + + +
    +
    + <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.

    +
      +
    • 0: Success.
    • +
    • < 0: Failure. See for details and resolution suggestions.
    • +
    +
    +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 0e0c4c6dcc2..e30642da138 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -38,21 +38,32 @@ MediaSourceType type = MediaSourceType.primaryCameraSource});

    -
    - Details -

    Underlit environments and low-end video capture devices can cause video images to contain significant noise, which affects video quality. In real-time interactive scenarios, video noise also consumes bitstream resources and reduces encoding efficiency during encoding.

    +

    You can call this method to enable the video noise reduction feature and set the options of the video noise reduction effect.

    - + 如果该方法实现的降噪强度无法满足你的需求,声网推荐你调用 方法启用美颜磨皮功能,以获得更好的视频降噪效果。 强效降噪效果的 推荐设置如下:
      +
    • lighteningContrastLevel
    • +
    • lighteningLevel:0.0
    • +
    • smoothnessLevel:0.5
    • +
    • rednessLevel:0.0
    • +
    • sharpnessLevel:0.1
    • +
    +
    +
    + 适用场景 +

    Underlit environments and low-end video capture devices can cause video images to contain significant noise, which affects video quality. In real-time interactive scenarios, video noise also consumes bitstream resources and reduces encoding efficiency during encoding.

    +
    +
    + 调用时机 +

    Call this method after calling .

    +
    +
    + 调用限制
      -
    • Call this method after calling .
    • -
    • Video noise reduction has certain requirements for equipment performance. If your device overheats after you enable video noise reduction, Agora recommends modifying the video noise reduction options to a less performance-consuming level or disabling video noise reduction entirely.
    • -
    • Both this method and can turn on video noise reduction function:
        -
      • When you use the SDK to capture video, Agora recommends this method (this method only works for video captured by the SDK).
      • -
      • When you use an external video source to implement custom video capture, or send an external video source to the SDK, Agora recommends using .
      • -
    • -
    • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
    • -
    -
    +
  • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
  • +
  • Video noise reduction has certain requirements for equipment performance. If your device overheats after you enable video noise reduction, Agora recommends modifying the video noise reduction options to a less performance-consuming level or disabling video noise reduction entirely.
  • + +
    +
    Parameters diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita new file mode 100644 index 00000000000..6f1e4758718 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita @@ -0,0 +1,71 @@ + + + + <ph keyref="startLocalAudioMixer"/> + 开启本地音频合流。 + + + + + + + + +
    +

    + public abstract int startLocalAudioMixer(LocalAudioMixerConfiguration config); + + - (int)startLocalAudioMixer:(AgoraLocalAudioMixerConfiguration* _Nonnull)config NS_SWIFT_NAME(startLocalAudioMixer(_:)); + virtual int startLocalAudioMixer(const LocalAudioMixerConfiguration& config) = 0; + + + + +

    +
    +
    +
    + +
    Since
    +
    v4.5.0
    +
    +
    +

    该方法支持在本地将多路音频流合并为一路音频流。 例如:将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,然后将合流后的音频流发布到频道中。

      +
    • 如果你要对本地采集的音频流进行合流,可以将 中的 publishMixedAudioTrack 设置为 ,则可将合流后的音频流发布到频道中。
    • +
    • 如果你要对远端音频流进行合流,需确保远端音频流已在频道内发布并且已被订阅。
    • +

    +
    +
    + Applicable scenarios +

    你可以在如下场景中开启该功能:

      +
    • 结合本地合图功能一起使用,可将合图视频流相关的音频流同步采集和发布。
    • +
    • 在直播场景下,用户接收频道内的音频流,在本地进行多路音频流合流后转发到其他频道。
    • +
    • 在教育场景下,老师可将跟学生连麦互动的音频在本地进行合流,然后将合并的音频流转发到其他频道。
    • +

    +
    +
    + Call timing +

    You can call this method either before or after joining a channel.

    +
    +
    + Restrictions +

    为了保证音频质量,建议参与本地合流的音频流数量不超过 10 个。

    +
    +
    + Parameters + + + config + 本地音频合流的配置。 See . + +
    +
    + <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.

    +
      +
    • 0: Success.
    • +
    • < 0: Failure. See for details and resolution suggestions.
        +
      • -7: The object has not been initialized. You need to initialize the object before calling this method.
      • +
    +
    +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita new file mode 100644 index 00000000000..01f1bc1c1ad --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita @@ -0,0 +1,53 @@ + + + + <ph keyref="stopLocalAudioMixer"/> + 停止本地音频合流。 + + + + + + + + +
    +

    + public abstract int stopLocalAudioMixer(); + + - (int)stopLocalAudioMixer NS_SWIFT_NAME(stopLocalAudioMixer()); + virtual int stopLocalAudioMixer() = 0; + + + + +

    +
    +
    +
    + +
    Since
    +
    v4.5.0
    +
    +
    +

    After calling , call this method if you want to stop the local video mixing.

    +
    +
    + Call timing +

    Call this method after .

    +
    +
    + Restrictions +

    None.

    +
    +
    + <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.

    +
      +
    • 0: Success.
    • +
    • < 0: Failure. See for details and resolution suggestions.
        +
      • -7: The object has not been initialized. You need to initialize the object before calling this method.
      • +
    • +
    +
    +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita new file mode 100644 index 00000000000..4a82c5e8d32 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita @@ -0,0 +1,66 @@ + + + + <ph keyref="takeSnapshot2" /> + 在指定观测位置进行视频截图。 + + + + + + + + +
    +

    + public abstract int takeSnapshot(int uid, SnapshotConfig config); + + - (NSInteger)takeSnapshotWithConfig:(NSInteger)uid config:(AgoraSnapshotConfig* _Nonnull)config NS_SWIFT_NAME(takeSnapshotWithConfig(_:config:)); + virtual int takeSnapshot(uid_t uid, const media::SnapshotConfig& config) = 0; + + + + + +

    +
    +
    +

    This method takes a snapshot of a video stream from the specified user, generates a JPG image, and saves it to the specified path.

    +
    +
    + Call timing +

    Call this method after joining a channel.

    +
    +
    + Restrictions +
      +
    • The method is asynchronous, and the SDK has not taken the snapshot when the method call returns.
    • +
    • The SDK has not taken the snapshot when the method call returns.
    • +
    • When used for local video snapshots, this method takes a snapshot for the video streams specified in .
    • +
    +
    + +
    + Parameters + + + + + + + config + The configuration of the snaptshot, see . + +
    +
    + <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.

    +
      +
    • 0: Success.
    • +
    • < 0: Failure. See for details and resolution suggestions.
    • +
    +
    +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita new file mode 100644 index 00000000000..1adcdfdc70f --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita @@ -0,0 +1,60 @@ + + + + <ph keyref="updateLocalAudioMixerConfiguration"/> + 更新本地音频合流的配置。 + + + + + + + + +
    +

    + public abstract int updateLocalAudioMixerConfiguration(LocalAudioMixerConfiguration config); + + - (int)updateLocalAudioMixerConfiguration:(AgoraLocalAudioMixerConfiguration* _Nonnull)config NS_SWIFT_NAME(updateLocalAudioMixerConfiguration(_:)); + virtual int updateLocalAudioMixerConfiguration(const LocalAudioMixerConfiguration& config) = 0; + + + + +

    +
    +
    +
    + +
    Since
    +
    v4.5.0
    +
    +
    +

    After calling , call this method if you want to update the local video mixing configuration.

    +
    +
    + Call timing +

    Call this method after .

    +
    +
    + Restrictions +
    +
    + Parameters + + + + + +
    +
    + <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.

    +
      +
    • 0: Success.
    • +
    • < 0: Failure. See for details and resolution suggestions.
        +
      • -7: The object has not been initialized. You need to initialize the object before calling this method.
      • +
    • +
    +
    +
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita new file mode 100644 index 00000000000..5c36843a307 --- /dev/null +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita @@ -0,0 +1,58 @@ + + + + <ph keyref="takeSnapshotEx2"/> + 使用连接 ID 获取指定观测位置的视频截图。 + + + + + + + + +
    +

    + public abstract int takeSnapshotEx(RtcConnection connection, int uid, SnapshotConfig config); + + - (NSInteger)takeSnapshotExWithConfig:(AgoraRtcConnection * _Nonnull)connection uid:(NSInteger)uid config:(AgoraSnapshotConfig* _Nonnull)config NS_SWIFT_NAME(takeSnapshotExWithConfig(_:uid:config:)); + virtual int takeSnapshotEx(const RtcConnection& connection, uid_t uid, const media::SnapshotConfig& config) = 0; + + + + + +

    +
    +
    +
    + Call timing +

    Call this method after .

    +
    +
    +
    Call timing -

    Call this method after calling .

    +

    Call this method after calling .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita index 76ac5c682fe..d30b202eed1 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita @@ -39,7 +39,7 @@
    Call timing -

    Call this method after calling .

    +

    Call this method after calling .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index 50bf9e92c99..7470cb586e4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -40,7 +40,6 @@
  • 在定制系统的设备上,可避免系统弹窗(即需要用户授予屏幕采集权限),直接开始采集屏幕视频流。
  • 一个屏幕共享进程中存在一个或多个子进程,避免在子进程中自行创建对象的过程出错而导致采集失败。
  • -

    For detailed implementation steps, please refer to .

    Call timing diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita index 10897626f6a..3ff5a335f9e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfaceshapebeautyoptions.dita @@ -37,7 +37,7 @@
    Call timing -

    Call this method after calling .

    +

    Call this method after calling .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita index 3c788931660..e8b3abaf977 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita @@ -2,7 +2,7 @@ <ph keyref="setFilterEffectOptions"/> - 设置滤镜效果选项。 + Sets the image enhancement options and specifies the media source. @@ -31,11 +31,11 @@
    v4.5.0
    -

    Both this method and set image enhancement options, but this method allows you to specify the media source to which the image enhancement is applied.

    +

    Both this method and set filter effect options. The difference is that this method allows you to specify the media source to which the filter effect option is applied.

    Call timing -

    Call this method after calling .

    +

    Call this method after calling .

    Restrictions @@ -51,21 +51,21 @@ enabled enable - 是否开启滤镜效果:
      -
    • : 开启滤镜功能。
    • -
    • : (Default) Disable the image enhancement function.
    • + Whether to enable the filter effect:
        +
      • : Yes.
      • +
      • : (Default) No.
      options - 滤镜选项,详见 + The filter effect opton: . type sourceType - 效果应用的媒体源类型。 See .In this method, this parameter supports only the following two settings:
        -
      • 使用摄像头采集本地视频时,请保持默认值
      • -
      • 如果要使用自定义采集的视频,将该参数设置为
      • + The type of the media source to which the filter effect is applied. See .In this method, this parameter supports only the following two settings:
          +
        • Use the default value if you use camera to capture local video.
        • +
        • Set this parameter to if you use custom video source.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita index 98b1ecd8478..796c425433b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions2.dita @@ -2,7 +2,7 @@ <ph keyref="setFilterEffectOptions2"/> - 设置滤镜效果选项。 + Sets the filter effect options. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index be1de309376..f5809832760 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -78,9 +78,9 @@ type - 效果应用的媒体源类型。 See .In this method, this parameter supports only the following two settings:
      -
    • 使用摄像头采集本地视频时,请保持默认值
    • -
    • 如果要使用自定义采集的视频,将该参数设置为
    • + The type of the media source to which the filter effect is applied. See .In this method, this parameter supports only the following two settings:
        +
      • Use the default value if you use camera to capture local video.
      • +
      • Set this parameter to if you use custom video source.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita index a04a03e7c0d..db43c3fb6a5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoterendertargetfps.dita @@ -2,7 +2,7 @@ <ph keyref="setRemoteRenderTargetFps"/> - 设置视频在远端渲染的最大帧率。 + Sets the maximum frame rate for rendering remote video. @@ -34,7 +34,7 @@
    Applicable scenarios -

    在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以调用该方法设置视频在远端渲染的最大帧率,SDK 进行远端视频渲染的实际帧率会尽量接近该值,从而减小 CPU 消耗、提升系统性能。

    +

    In scenarios where the video rendering frame rate is not critical (e.g., screen sharing, online education) or when the remote users are using mid-to-low-end devices, you can call this method to set the maximum frame rate for video rendering on the remote client. The SDK will attempt to render the actual frame rate as close as possible to this value, which helps to reduce CPU consumption and improve system performance.

    Call timing diff --git a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita index b84b18275ca..3037d148916 100644 --- a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita @@ -35,7 +35,7 @@
    Call timing -

    Call this method after calling .

    +

    Call this method after calling .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita index 1959098e57e..82e669f32fe 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita @@ -47,7 +47,10 @@ type - 附属信息类型,详见 + 附属信息类型,详见 + 附属信息类型:
      +
    • 1: The type is SEI.
    • +
    data diff --git a/en-US/dita/RTC-NG/API/class_canvasconfig.dita b/en-US/dita/RTC-NG/API/class_canvasconfig.dita index ad8870b2067..1336bc57aec 100644 --- a/en-US/dita/RTC-NG/API/class_canvasconfig.dita +++ b/en-US/dita/RTC-NG/API/class_canvasconfig.dita @@ -59,7 +59,7 @@ 设置视频的镜像模式。 See . - + 获取当前设置的视频镜像模式。 See .
    diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index 60400984686..9fcf1e12535 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -125,7 +125,6 @@ public: Video noise reduction level. See .
    • (0): (Default) Promotes video quality during low-light enhancement. It processes the brightness, details, and noise of the video image. The performance consumption is moderate, the processing speed is moderate, and the overall video quality is optimal.
    • (1): Promotes reducing performance consumption during video noise reduction. It prioritizes reducing performance consumption over video noise reduction quality. The performance consumption is lower, and the video noise reduction speed is faster. To avoid a noticeable shadowing effect (shadows trailing behind moving objects) in the processed video, Agora recommends that you use this setting when the camera is fixed.
    • -
    • (2): Enhanced video noise reduction. It prioritizes video noise reduction quality over reducing performance consumption. The performance consumption is higher, the video noise reduction speed is slower, and the video noise reduction quality is better. If can not satisfy your video noise reduction needs, you can use this setting.
    diff --git a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita index 611a27959a2..f76a02da79e 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita @@ -1383,7 +1383,6 @@
  • -
  • diff --git a/en-US/dita/RTC-NG/API/toc_rte_player.dita b/en-US/dita/RTC-NG/API/toc_rte_player.dita index d831e303f6b..f841071b4b6 100644 --- a/en-US/dita/RTC-NG/API/toc_rte_player.dita +++ b/en-US/dita/RTC-NG/API/toc_rte_player.dita @@ -1,6 +1,6 @@ - URL 拉流播放 + URL live streaming playback From 5f5b0aff5ee64c7c750f804f53afe4392ae6e980 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:13:04 +0800 Subject: [PATCH 12/35] New translations --- .../RTC-NG/API/api_imediaplayer_getstreaminfo.dita | 2 +- .../api_irtcengine_getfaceshapeareaoptions.dita | 2 +- .../api_irtcengine_getfaceshapeareaoptions2.dita | 2 +- .../api_irtcengine_getfaceshapebeautyoptions.dita | 2 +- .../api_irtcengine_getfaceshapebeautyoptions2.dita | 2 +- .../api_irtcengine_setlocalrendertargetfps.dita | 8 ++++---- en-US/dita/RTC-NG/API/api_player_player.dita | 2 +- en-US/dita/RTC-NG/API/api_player_setcanvas.dita | 12 ++++++------ en-US/dita/RTC-NG/API/api_player_setconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_player_stop.dita | 14 +++++++------- en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita | 10 +++++----- en-US/dita/RTC-NG/API/api_rte_rte.dita | 12 ++++++------ ...allback_playerobserver_onresolutionchanged.dita | 6 +++--- .../RTC-NG/API/class_faceshapebeautyoptions.dita | 12 ++++++------ 14 files changed, 44 insertions(+), 44 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita index 74b8f0ead71..b03bde3df5b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_getstreaminfo.dita @@ -51,7 +51,7 @@ Returns
    • If the call succeeds, returns the detailed information of the media stream. See .
    • -
    • If the call fails, returns .
    • +
    • , if the method call fails.
    • 0: Success.
    • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita index e317ea9858b..ee1ca539ff4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita @@ -89,7 +89,7 @@
    • A pointer to the instance, if the method call succeeds.
    • -
    • If the call fails, returns .
    • +
    • , if the method call fails.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita index c340c93c04d..d5f801f434a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions2.dita @@ -52,7 +52,7 @@
    • A pointer to the instance, if the method call succeeds.
    • -
    • If the call fails, returns .
    • +
    • , if the method call fails.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita index d30b202eed1..fe994e723c4 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions.dita @@ -67,7 +67,7 @@
    • A pointer to the instance, if the method call succeeds.
    • -
    • If the call fails, returns .
    • +
    • , if the method call fails.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita index 4404058fd61..e6fa873a3f5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapebeautyoptions2.dita @@ -50,7 +50,7 @@
    • A pointer to the instance, if the method call succeeds.
    • -
    • If the call fails, returns .
    • +
    • , if the method call fails.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita index ea323fa1b4d..3f975712b46 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita @@ -2,7 +2,7 @@ <ph keyref="setLocalRenderTargetFps"/> - 设置本地视频渲染的最大帧率。 + Sets the maximum frame rate for rendering local video . @@ -35,7 +35,7 @@ targetFps:(int)targetFps;
    Applicable scenarios -

    在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)下,你可以调用该方法设置本地视频渲染的最大帧率,SDK 进行本地渲染的实际帧率会尽量接近该值,从而减小 CPU 消耗、提升系统性能。

    +

    In scenarios where the requirements for video rendering frame rate are not high (such as screen sharing or online education), you can call this method to set the maximum frame rate for local video rendering. The SDK will attempt to keep the actual frame rate of local rendering close to this value, which helps to reduce CPU consumption and improving system performance.

    Call timing @@ -53,8 +53,8 @@ targetFps:(int)targetFps; - targetFps - The capture frame rate (fps) of the local video. 支持的参数值为:1、7、10、15、24、30、60。请将此参数设置为低于视频实际帧率的渲染帧率,否则设置将不会生效。 + targetFpsç + The capture frame rate (fps) of the local video. Sopported values are: 1, 7, 10, 15, 24, 30, 60.Set this parameter to a value lower than the actual video frame rate; otherwise, the settings do not take effect.
    diff --git a/en-US/dita/RTC-NG/API/api_player_player.dita b/en-US/dita/RTC-NG/API/api_player_player.dita index 0678dc61d63..ef72841f74f 100644 --- a/en-US/dita/RTC-NG/API/api_player_player.dita +++ b/en-US/dita/RTC-NG/API/api_player_player.dita @@ -50,7 +50,7 @@ config - initialConfig + initialConfigç 播放器对象初始化设置,可传空指针。
    diff --git a/en-US/dita/RTC-NG/API/api_player_setcanvas.dita b/en-US/dita/RTC-NG/API/api_player_setcanvas.dita index c0232d4ec0a..c2443591b7a 100644 --- a/en-US/dita/RTC-NG/API/api_player_setcanvas.dita +++ b/en-US/dita/RTC-NG/API/api_player_setcanvas.dita @@ -2,7 +2,7 @@ <ph keyref="SetCanvas"/> - 设置视图窗口以显示视频。 + Sets the view window for displaying the video. @@ -30,7 +30,7 @@
    v4.5.0
    -

    该方法用于指定一个 Canvas 对象来显示视频。 当视频流成功播放后,视频画面会显示在这个指定的 Canvas 上。

    +

    This method specifies a Canvas object to display the video. Once the the video stream sucessfully plays, the video image will be displayed on the specified canvas.

    Call timing @@ -45,7 +45,7 @@ canvas - 用于渲染视频帧的 Canvas 对象,详见 + The Canvas object on which the video is rendered: @@ -55,9 +55,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.

    -

    设置是否成功:

      -
    • :设置成功。
    • -
    • :设置失败,可通过 errerror 参数返回的错误码了解详细信息。
    • +

      Whether the settings are successful:

        +
      • : Yes.
      • +
      • : No. Refer to the error code in errerror to get the detaled information.

    diff --git a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita index 72956e07b08..ea682b4ece7 100644 --- a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita @@ -56,7 +56,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.

    播放器设置是否成功:

      -
    • :设置成功。
    • +
    • : Yes.
    • :设置失败。

    diff --git a/en-US/dita/RTC-NG/API/api_player_stop.dita b/en-US/dita/RTC-NG/API/api_player_stop.dita index 05d7bb732e3..6dc56238b78 100644 --- a/en-US/dita/RTC-NG/API/api_player_stop.dita +++ b/en-US/dita/RTC-NG/API/api_player_stop.dita @@ -2,7 +2,7 @@ <ph keyref="Stop_Player"/> - 停止播放媒体资源。 + Stops playing media resource. @@ -30,8 +30,8 @@
    v4.5.0
    -

    当你成功打开 URL 流并调用 播放后,如果你想停止播放,可以调用此方法。 If you need to stop the playback, call .

    -

    如果你调用 打开 URL 流失败,需要先调用此方法,然后再调用 重新打开 URL。

    +

    After you successfully play the URL stream using , call this method if you want to stop playing it. If you need to stop the playback, call .

    +

    If you fail to open the URL stream using , call this method before calling to reopen the URL.

    Call timing @@ -43,7 +43,7 @@
    <ph props="cpp apple framework">Parameters</ph> @@ -56,9 +56,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 media resource stops playing:

        +
      • : Yes.
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita b/en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita index babdb0d5241..efbba97df4c 100644 --- a/en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita +++ b/en-US/dita/RTC-NG/API/api_rte_getfrombridge.dita @@ -2,7 +2,7 @@ <ph keyref="GetFromBridge"/> - 中桥接出一个 RTE 对象。 + Bridges an RTE object from . @@ -30,11 +30,11 @@
    v4.5.0
    -

    调用该方法创建的 RTE 对象,无需再通过 进行初始化。 如果你之前未创建并初始化 RTC 引擎,可以先调用 创建一个 RTE 对象,然后再调用 进行初始化。

    +

    The RTE object created by calling this method does not need to be initialized again using . If you have not created and initialized the RTC engine before, you can first call to create an RTE object, and then call to initialize it.

    Call timing -

    调用该方法前,请确保已调用 初始化 RTC 引擎。

    +

    Before calling this method, ensure that you have initialized the RTC engine using .

    Restrictions @@ -46,14 +46,14 @@ err error - 指向 对象的指针,用于接收状态及错误码。 + Pointer to the object, which receives state and error codes.
    <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.

    -

    一个 RTE 对象。

    +

    An RTE object.

    diff --git a/en-US/dita/RTC-NG/API/api_rte_rte.dita b/en-US/dita/RTC-NG/API/api_rte_rte.dita index 53ad50be162..961f6f5e19b 100644 --- a/en-US/dita/RTC-NG/API/api_rte_rte.dita +++ b/en-US/dita/RTC-NG/API/api_rte_rte.dita @@ -2,7 +2,7 @@ <ph keyref="Rte_Rte"/> - 构造一个 RTE 对象。 + Constructs an RTE object. @@ -31,7 +31,7 @@
    v4.5.0
    -

    RTE 对象用于组织和管理 Rte 内部相关资源。

    +

    The RTE object manages the internal resources of Rte.

    Call timing @@ -45,16 +45,16 @@ Parameters - initialConfig + initialConfigç config - 初始化设置,当前可传空。 + The initial configuration. Set it to null.
    <ph keyref="return-section-title"/>
      -
    • 方法调用成功,返回一个 RTE 对象。
    • -
    • If the call fails, returns .
    • +
    • An RTE object, if the method call succeeds.
    • +
    • , if the method call fails.
    diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onresolutionchanged.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onresolutionchanged.dita index 97a85ddc978..d53509efdaa 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onresolutionchanged.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onresolutionchanged.dita @@ -2,7 +2,7 @@ <ph keyref="onResolutionChanged"/> - 视频分辨率发生改变回调。 + Occurs when video resolution changes. @@ -31,11 +31,11 @@
    v4.5.0
    -

    如果你需要监控播放器所播放视频流分辨率的变化,需要先调用 注册播放器观测器的对象。

    +

    To monitor the resolution changes of the video stream being played, ensure that you call to register the player observer first.

    Trigger timing -

    当视频流的分辨率发生变化时,SDK 会触发该回调报告当前视频的宽高。

    +

    When the resolution of the video stream changes, the SDK triggers this callback to report the current width and height of the video.

    Restrictions diff --git a/en-US/dita/RTC-NG/API/class_faceshapebeautyoptions.dita b/en-US/dita/RTC-NG/API/class_faceshapebeautyoptions.dita index f8e7b4bc64a..7a816c01138 100644 --- a/en-US/dita/RTC-NG/API/class_faceshapebeautyoptions.dita +++ b/en-US/dita/RTC-NG/API/class_faceshapebeautyoptions.dita @@ -2,7 +2,7 @@ <ph keyref="FaceShapeBeautyOptions" /> - 美型风格选项。 + The face shape beauty style options.

    @@ -45,17 +45,17 @@ shapeStyle -

    美型风格,详见

    -

    美型风格:

      -
    • (0):(默认)女性风格。
    • -
    • (1):男性风格。
    • +

      Face shape beauty style options: .

      +

      The face shape beauty style:

        +
      • (0): (Default) Female.
      • +
      • (1): Male.

      styleIntensity - 美型风格强度,取值范围为 [0.0,1.0],其中默认值为 0.0,表示无美型效果。 取值越大,修饰部位的改变越明显。 + The intensity of the face shape beauty style, with a value range oof [0.0,0.1]. The default value is 0.0, which means no face shape beauty effect. The higher the value, the more obvious the face shape beauty effect.
    From a6fcfd975f2cbf56a57651c803c8271f18a83f1e Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Thu, 7 Nov 2024 19:15:19 +0800 Subject: [PATCH 13/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_addview.dita | 2 +- .../RTC-NG/API/api_canvas_setconfigs.dita | 2 +- .../API/api_canvasconfig_setmirrormode.dita | 2 +- .../API/api_canvasconfig_setrendermode.dita | 2 +- .../dita/RTC-NG/API/api_config_setappid.dita | 2 +- .../API/api_config_setjsonparameter.dita | 2 +- ...irtcengine_setexternalmediaprojection.dita | 2 +- en-US/dita/RTC-NG/API/api_player_getinfo.dita | 2 +- .../RTC-NG/API/api_player_preloadwithurl.dita | 2 +- .../RTC-NG/API/api_player_setconfigs.dita | 10 +++++----- .../API/api_playerconfig_getautoplay.dita | 4 ++-- .../API/api_playerconfig_setautoplay.dita | 10 +++++----- en-US/dita/RTC-NG/API/api_rte_getconfigs.dita | 8 ++++---- .../RTC-NG/API/api_rte_initmediaengine.dita | 20 +++++++++---------- .../RTC-NG/API/api_rte_registerobserver.dita | 8 ++++---- en-US/dita/RTC-NG/API/api_rte_setconfigs.dita | 14 ++++++------- ...diaplayersourceobserver_onplayerevent.dita | 2 +- ...layerobserver_onaudiovolumeindication.dita | 6 +++--- .../API/callback_playerobserver_onevent.dita | 8 ++++---- .../callback_playerobserver_onmetadata.dita | 12 +++++------ ...ck_playerobserver_onplayerinfoupdated.dita | 8 ++++---- ...allback_playerobserver_onstatechanged.dita | 2 +- en-US/dita/RTC-NG/API/class_mediasource.dita | 4 ++-- en-US/dita/RTC-NG/API/class_playerconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_rteexception.dita | 2 +- 25 files changed, 69 insertions(+), 69 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_addview.dita b/en-US/dita/RTC-NG/API/api_canvas_addview.dita index 532d4cdd326..09a9fb2b2a2 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_addview.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_addview.dita @@ -37,7 +37,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions 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 0d5f1cde4cb..03175a383a1 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita @@ -34,7 +34,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions 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 95ff7ff6945..73423fbcfe0 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setmirrormode.dita @@ -33,7 +33,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita index e7fab6b5e67..e11be5716b8 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita @@ -34,7 +34,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_config_setappid.dita b/en-US/dita/RTC-NG/API/api_config_setappid.dita index cb27e55cd4d..77378667b92 100644 --- a/en-US/dita/RTC-NG/API/api_config_setappid.dita +++ b/en-US/dita/RTC-NG/API/api_config_setappid.dita @@ -33,7 +33,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions 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 58a4be58405..f8827af70d8 100644 --- a/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita +++ b/en-US/dita/RTC-NG/API/api_config_setjsonparameter.dita @@ -38,7 +38,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index 7470cb586e4..a25613ef401 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -43,7 +43,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_player_getinfo.dita b/en-US/dita/RTC-NG/API/api_player_getinfo.dita index a0e1e619ccb..1316e15fe2a 100644 --- a/en-US/dita/RTC-NG/API/api_player_getinfo.dita +++ b/en-US/dita/RTC-NG/API/api_player_getinfo.dita @@ -45,7 +45,7 @@ info - 播放器及媒体流的相关信息,详见 + The information of the player and the media stream: . diff --git a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita index 2eded3f8ef2..7e159781681 100644 --- a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita +++ b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita @@ -39,7 +39,7 @@
    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita index ea682b4ece7..ff2844e3fd1 100644 --- a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="SetConfigs_Player"/> - 播放器配置。 + Sets the player configurations. @@ -30,7 +30,7 @@
    v4.5.0
    -

    你可以调用该方法来进行播放器设置,如开启自动播放、订阅不同分辨率和码率的视频流等。

    +

    You can call this method to configuer the player, such as enableing autoplay and subscribing to video streams of different resolutions and bitrate.

    Call timing @@ -45,7 +45,7 @@ config - 播放器设置的对象,详见 + The player configuration object: . @@ -55,9 +55,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 player is configured successfully:

      • : Yes.
      • -
      • :设置失败。
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita b/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita index bccd30e143c..88a12b64ea9 100644 --- a/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita +++ b/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita @@ -52,8 +52,8 @@ <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.

    获取自动播放设置是否成功:

      -
    • :获取成功。
    • -
    • :获取失败。
    • +
    • : Yes.
    • +
    • : No.

    diff --git a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita index f397133f42f..709ad8dbc49 100644 --- a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita +++ b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita @@ -2,7 +2,7 @@ <ph keyref="SetAutoPlay"/> - 设置是否自动播放。 + Sets whether to enable autoplay. @@ -30,11 +30,11 @@
    v4.5.0
    -

    当你调用 打开媒体流之前,你可以调用该方法设置是否自动播放。 如不设置,默认会启用自动播放。

    +

    Before you call to open the media stream, you can call this method to set whether to enale autoplay. The default setting is to enable autoplay.

    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions @@ -46,8 +46,8 @@ autoPlay auto_play - 是否自动播放:
    • : (Default) Enables autoplay.
    • -
    • : Disables autoplay.
    + Whether to enable autoplay:
    • : (Default) Yes.
    • +
    • : No.
    diff --git a/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita b/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita index 8292499f639..f1e7bda60cc 100644 --- a/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Rte"/> - 获取 RTE 对象的配置信息。 + Gets the configuration information of the RTE object. @@ -55,9 +55,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 RTE object is configured successfully:

        +
      • : Yes.
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita b/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita index adadafb42d4..c5f32c9b7e0 100644 --- a/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita +++ b/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita @@ -2,7 +2,7 @@ <ph keyref="InitMediaEngine"/> - 初始化 RTE 引擎。 + Initializes the RTE engine. @@ -30,11 +30,11 @@
    v4.5.0
    -

    此方法为异步方法,通过回调函数返回初始化结果。

    +

    This method is asynchronous, which means that the result of initialization is retured through a callback.

    Call timing -

    该方法需要在创建 RTE 对象并设置 App ID 后调用。

    +

    Call this method after the intializing the RTE object and sets the App ID.

    Restrictions @@ -45,27 +45,27 @@ cb - 一个异步回调函数,用于返回引擎初始化结果。 你可以通过该回调的 err 参数得知引擎初始化的结果或错误码信息,详见 + An asynchronous callback, which is used to return the initializtion result. You can get the initialization result or the error code using the err parameter of this callback. For details, see . callback - 一个异步回调函数,用于返回引擎初始化结果。 See . + An asynchronous callback, which is used to return the initializtion result. See . err error - 初始化过程中的错误信息,详见 。 在调用 方法初始化时,如果过程遇到立即可检测的错误(如参数无效、资源不足等),SDK 会通过此参数同步返回错误信息。 + The error information during initializtion: . When initializing the RTE engine using , if errors that can be instantly detected occur, such as an invalid parameter or insufficient resource, the SDK synchronizes the error information in this parameter.
    <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 asynchronous operation is added to the queue:

        +
      • : Yes.
      • +
      • : No.
      - 该返回值仅表示初始化操作是否成功地被安排在异步任务队列中,不表示初始化是否成功。

    + The return value indicates whether initialization is added in the asynchronous queue; it does not point to whether the initialization is successful or not.

    diff --git a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita index b8d3bcd68a8..89a563c643b 100644 --- a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita @@ -2,7 +2,7 @@ <ph keyref="RegisterObserver_Rte"/> - 注册 RTE 事件观测器对象。 + Registers an RTE event observer object. @@ -31,8 +31,8 @@

    //TODO rte Observer 回调类文档不暴露的话,只暴露这个接口是否有意义?

    -

    成功注册观测器对象后,你可以接收 类下的回调事件。

    -

    如果注册失败,SDK 会抛出 异常,并返回相应的错误信息。 你需要捕获异常并进行处理。

    +

    After you successfully register the observer object, you can receive callback events in the class.

    +

    If the registration fails, the SDK throws and returns relevant information. 你需要捕获异常并进行处理。

    Call timing @@ -56,7 +56,7 @@ err error - 状态或错误信息,详见 + The state or error information: .
    diff --git a/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita b/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita index 7fc1d66e88a..ae989b831ea 100644 --- a/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="SetConfigs_Rte"/> - 配置 RTE 对象的信息。 + Configures the information of the RTE object. @@ -30,7 +30,7 @@
    v4.5.0
    -

    你可以调用该方法来设置 App ID 等信息。

    +

    You can use this method to set information such as the App ID.

    @@ -46,21 +46,21 @@ config - RTE 对象的设置,详见 + Configurations of the RTE object: . err error - 状态或错误信息,详见 + The state or error information: .
    <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 RTE object is configured successfully:

        +
      • : Yes.
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita index 2f5fef7fa9f..99522bd8497 100644 --- a/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita +++ b/en-US/dita/RTC-NG/API/callback_imediaplayersourceobserver_onplayerevent.dita @@ -55,7 +55,7 @@
    eventCode - The player events. See . + The player event. See . elapsedTime diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onaudiovolumeindication.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onaudiovolumeindication.dita index 5e32d59d33b..f1170df1c75 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onaudiovolumeindication.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onaudiovolumeindication.dita @@ -2,7 +2,7 @@ <ph keyref="onAudioVolumeIndication_PlayerObserver"/> - 主播音量提示回调。 + Reports the volume indication of the broadcaster. @@ -34,7 +34,7 @@
    Trigger timing -

    当主播的音量发生变化时,SDK 会触发该回调。

    +

    The SDK triggers this callback when the volumn of the broadcaster changes.

    Restrictions @@ -45,7 +45,7 @@ volume - 主播当前的音量,取值范围为 [0,225]。 + The current volumn of the broadcaster. The value range is [0,225].
    diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onevent.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onevent.dita index d7ce9265c19..b7d9de5388a 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onevent.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onevent.dita @@ -2,7 +2,7 @@ <ph keyref="onEvent"/> - 播放器事件回调。 + The player event callback. @@ -31,11 +31,11 @@
    v4.5.0
    -

    如果你需要监控播放器事件,需要先调用 注册播放器观测器的对象。

    +

    To monitor player events, you need to call to register a player observer object.

    Trigger timing -

    当播放器事件发生变化时,SDK 会触发该回调。

    +

    The SDK triggers this callback when the player event changes.

    Restrictions @@ -46,7 +46,7 @@ event - The player events. See . + The player event. See .
    diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita index 82e669f32fe..3f31d3caac3 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita @@ -2,7 +2,7 @@ <ph keyref="onMetadata_PlayerObserver"/> - 已获取媒体附属信息回调。 + Occurs when the metadata is received. @@ -32,11 +32,11 @@
    v4.5.0
    -

    如果你需要获取媒体流的附属信息,需要先调用 注册播放器观测器的对象。

    +

    To receive the metadata of the media stream, call to register a player observer object first.

    Trigger timing -

    在 SDK 解析播放器所播放的媒体流的附属信息后,会触发该回调报告数据的类型及其具体内容。

    +

    After the SDK parses the metadata of the media stream being played, it triggers this callback to report the data type and its content.

    Restrictions @@ -47,14 +47,14 @@ type - 附属信息类型,详见 - 附属信息类型:
      + The metadata type: . + The metadata type.
      • 1: The type is SEI.
      data - 解析的附属信息。 + The metadata. length diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita index 3d15d8538d4..9570f00c906 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita @@ -2,7 +2,7 @@ <ph keyref="onPlayerInfoUpdated_PlayerObserver"/> - 播放器及媒体流的相关信息发生变化回调。 + Occurs when the information of the player and the media stream changes. @@ -31,11 +31,11 @@
      v4.5.0
      -

      如果你需要获取播放器、媒体流的相关信息,需要先调用 注册播放器观测器的对象。 你也可以直接通过 方法来获取。

      +

      To receive the information of the player and the media stream, call to register a player observer object first. You can also get the infomation by calling .

    Trigger timing -

    当播放器及媒体流的相关信息发生变化时,SDK 会触发该回调。

    +

    The SDK triggers this callback when the information of the player and the media stream changes.

    Restrictions @@ -46,7 +46,7 @@ info - 播放器及媒体流的相关信息,详见 + The information of the player and the media stream: .
    diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita index fab97d7350d..08d9ff5f489 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita @@ -57,7 +57,7 @@ error err - 状态或错误信息,详见 + The state or error information: .
    diff --git a/en-US/dita/RTC-NG/API/class_mediasource.dita b/en-US/dita/RTC-NG/API/class_mediasource.dita index 713c648f64a..729c33c15cc 100644 --- a/en-US/dita/RTC-NG/API/class_mediasource.dita +++ b/en-US/dita/RTC-NG/API/class_mediasource.dita @@ -228,8 +228,8 @@ public: autoPlay Whether to enable autoplay once the media file is opened:
      -
    • : (Default) Enables autoplay.
    • -
    • : Disables autoplay.
    • +
    • : (Default) Yes.
    • +
    • : No.

    If autoplay is disabled, you need to call the method to play a media file after it is opened.

    diff --git a/en-US/dita/RTC-NG/API/class_playerconfig.dita b/en-US/dita/RTC-NG/API/class_playerconfig.dita index f589b73bc2f..92389459b08 100644 --- a/en-US/dita/RTC-NG/API/class_playerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_playerconfig.dita @@ -52,7 +52,7 @@ - 设置是否自动播放。 See . + Sets whether to enable autoplay. See . diff --git a/en-US/dita/RTC-NG/API/class_rteexception.dita b/en-US/dita/RTC-NG/API/class_rteexception.dita index 6d45dd75e1b..251aec32503 100644 --- a/en-US/dita/RTC-NG/API/class_rteexception.dita +++ b/en-US/dita/RTC-NG/API/class_rteexception.dita @@ -33,7 +33,7 @@ - 设置是否自动播放。 See . + Sets whether to enable autoplay. See .
    From b5858045e756921d5a81aaa7b4f8041ae78e30c7 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:19:33 +0800 Subject: [PATCH 14/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_addview.dita | 14 +++++++------- ...eventhandler_onvideorenderingtracingresult.dita | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_addview.dita b/en-US/dita/RTC-NG/API/api_canvas_addview.dita index 09a9fb2b2a2..1dd364c22bc 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_addview.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_addview.dita @@ -2,7 +2,7 @@ <ph keyref="AddView"/> - 添加渲染视图。 + Adds a view to be rendered. @@ -33,7 +33,7 @@
    Applicable scenarios -

    当你需要使用播放器播放视频,你可以调用该方法将一个视图(view)添加到视频渲染器中,以便显示视频内容。

    +

    When you need to use a player to play a video, you can call this method to add a view to the video renderer for displaying.

    Call timing @@ -41,17 +41,17 @@
    Restrictions -

    当前仅支持添加一个视图。

    +

    Only one view can be added.

    Parameters view - HWND 窗口句柄值。 - SurfaceView 对象。 - UIView 对象。 - NSView 对象。 + HWND window handle value. + SurfaceView object. + UIView object. + NSView object. config diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita index 3c4f68ba6c8..6524df84ff5 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onvideorenderingtracingresult.dita @@ -50,7 +50,7 @@
    v4.1.1
    -

    After calling the method or joining the channel, the SDK triggers this callback to report the events of video frame rendering and the indicators during the rendering process. Developers can optimize the indicators to improve the efficiency of the first video frame rendering.

    +

    After calling the method or joining a channel, the SDK triggers this callback to report the events of video frame rendering and the indicators during the rendering process. Developers can optimize the indicators to improve the efficiency of the first video frame rendering.

    <ph keyref="callback-section-title"/> From f1135b4635f373d1105333e6b9a7253ac5fd7de8 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 8 Nov 2024 12:20:04 +0800 Subject: [PATCH 15/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_addview.dita | 8 ++++---- .../RTC-NG/API/api_canvasconfig_setrendermode.dita | 4 ++-- en-US/dita/RTC-NG/API/api_config_setappid.dita | 6 +++--- en-US/dita/RTC-NG/API/api_error_message.dita | 4 ++-- .../API/api_irtcengine_setexternalmediaprojection.dita | 4 ++-- .../api_irtcengine_setexternalremoteeglcontext.dita | 10 +++++----- en-US/dita/RTC-NG/API/api_rte_registerobserver.dita | 2 +- en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita | 2 +- en-US/dita/RTC-NG/API/class_canvas.dita | 2 +- en-US/dita/RTC-NG/API/class_canvasconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_config.dita | 2 +- 11 files changed, 23 insertions(+), 23 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_addview.dita b/en-US/dita/RTC-NG/API/api_canvas_addview.dita index 1dd364c22bc..f6d3af8d8f0 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_addview.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_addview.dita @@ -55,7 +55,7 @@ config - View 对象的设置,目前请传空。 + The configuration of View object. Currently, you need to set it to null. @@ -65,9 +65,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 added successfully:

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

    diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita index e11be5716b8..5798eb3275b 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita @@ -2,7 +2,7 @@ <ph keyref="SetRenderMode_CanvasConfig"/> - 设置视频的渲染模式。 + Sets the rendering mode of the video. @@ -45,7 +45,7 @@ mode - The video rendering mode. See . 默认的渲染模式为 ,即视频尺寸等比缩放,优先保证视窗被填满。 + The video rendering mode. See . The default rendering mode is , which means that the video size is scaled proportionally to fill the view. diff --git a/en-US/dita/RTC-NG/API/api_config_setappid.dita b/en-US/dita/RTC-NG/API/api_config_setappid.dita index 77378667b92..71a815cbe6f 100644 --- a/en-US/dita/RTC-NG/API/api_config_setappid.dita +++ b/en-US/dita/RTC-NG/API/api_config_setappid.dita @@ -2,7 +2,7 @@ <ph keyref="SetAppId"/> - Request an App ID. + Sets an App ID. @@ -44,7 +44,7 @@ appId - 你的项目的 App ID,在声网控制台获取。 + Your project's App ID, which can be obtained from Agora Console. @@ -53,6 +53,6 @@
    Exception -

    调用该方法失败时,SDK 会抛出 异常,并返回相应的错误信息。 你需要捕获异常并进行处理。

    +

    If the method call fails, the SDK throws and returns an error message. You need to catch the exception and handle it.

    diff --git a/en-US/dita/RTC-NG/API/api_error_message.dita b/en-US/dita/RTC-NG/API/api_error_message.dita index 47563c46d35..573591e0396 100644 --- a/en-US/dita/RTC-NG/API/api_error_message.dita +++ b/en-US/dita/RTC-NG/API/api_error_message.dita @@ -2,7 +2,7 @@ <ph keyref="Message"/> - 获取详细的错误信息。 + Gets the error message. @@ -33,7 +33,7 @@
    Call timing -

    当 API 调用失败后,你可以调用该方法获取错误信息来帮助排查问题。

    +

    When an API call fails, you can use this method to retrieve error information to help troubleshoot the issue.

    Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index a25613ef401..44fe24752de 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -2,7 +2,7 @@ <ph keyref="setExternalMediaProjection"/> - 设置 SDK 外部的 MediaProjection 采集屏幕视频流。 + Uses the video streams captured by the MediaProjection. @@ -31,7 +31,7 @@ This method is for Android only. -

    成功调用该方法后,你设置的外部 MediaProjection 会替换掉 SDK 申请的 MediaProjection 采集屏幕视频流。

    +

    After successfully calling this method, the external MediaProjection you set will replace the MediaProjection requested by the SDK to capture the screen video stream.

    当停止屏幕共享或销毁 时,SDK 会自动释放 MediaProjection。

    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita index 9ea47749959..f62a8770924 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita @@ -2,7 +2,7 @@ <ph keyref="setExternalRemoteEglContext"/> - 设置远端视频流渲染的 EGL 环境上下文。 + Set the EGL context for rendering remote video streams. @@ -30,13 +30,13 @@
    v4.5.0
    -

    通过设置该方法,开发者可以替换 SDK 内部默认的远端 EGL 环境上下文,便于实现统一的 EGL 上下文管理。

    -

    引擎销毁时,SDK 会自动释放 EGL 环境上下文。

    +

    This method can replace the default remote EGL context within the SDK, making it easier to manage the EGL context.

    +

    When the engine is destroyed, the SDK will automatically release the EGL context.

    This method is for Android only.
    Applicable scenarios -

    该方法适用于使用 Texture 格式的视频数据进行远端视频自渲染的场景。

    +

    This method is suitable for using a custom video rendering method instead of the default SDK rendering method to render remote video frames in Texture format.

    Call timing @@ -51,7 +51,7 @@ eglContext - 用于远端视频流渲染的 EGL 环境上下文对象。 + The EGL context for rendering remote video streams.
    diff --git a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita index 89a563c643b..751dd297b33 100644 --- a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita @@ -32,7 +32,7 @@

    //TODO rte Observer 回调类文档不暴露的话,只暴露这个接口是否有意义?

    After you successfully register the observer object, you can receive callback events in the class.

    -

    If the registration fails, the SDK throws and returns relevant information. 你需要捕获异常并进行处理。

    +

    If the registration fails, the SDK throws and returns relevant information. You need to catch the exception and handle it.

    Call timing diff --git a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita index 3037d148916..90e574894c5 100644 --- a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita @@ -31,7 +31,7 @@

    成功调用 注册事件观测器后,如果你需要取消注册,可以调用该方法。

    -

    如果取消注册失败,SDK 会抛出 异常,并返回相应的错误信息。 你需要捕获异常并进行处理。

    +

    如果取消注册失败,SDK 会抛出 异常,并返回相应的错误信息。 You need to catch the exception and handle it.

    Call timing diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index 97ec302252d..cead1fb710f 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -54,7 +54,7 @@ - 设置视频的渲染模式。 See . + Sets the rendering mode of the video. See . diff --git a/en-US/dita/RTC-NG/API/class_canvasconfig.dita b/en-US/dita/RTC-NG/API/class_canvasconfig.dita index 1336bc57aec..c11ceacf2de 100644 --- a/en-US/dita/RTC-NG/API/class_canvasconfig.dita +++ b/en-US/dita/RTC-NG/API/class_canvasconfig.dita @@ -48,7 +48,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 8f03a050ff8..65a4e4345d0 100644 --- a/en-US/dita/RTC-NG/API/class_config.dita +++ b/en-US/dita/RTC-NG/API/class_config.dita @@ -49,7 +49,7 @@ - Request an App ID. See . + Sets an App ID. See . From 6dc997e2cb132ad2ecaa8bb228503cbb2850b74e Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Fri, 8 Nov 2024 14:20:41 +0800 Subject: [PATCH 16/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita | 2 +- .../API/api_canvasconfig_getmirrormode.dita | 4 ++-- ...pi_irtcengine_setexternalmediaprojection.dita | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita index 11efd281f0d..5ab1a76da96 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Canvas"/> - 获取当前的播放器视频渲染配置。 + Get the current video rendering configuration of the player. diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita index 86faf05bafa..009aad171a3 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita @@ -2,7 +2,7 @@ <ph keyref="GetMirrorMode"/> - 获取当前设置的镜像模式。 + Get the current image mode setting. @@ -47,7 +47,7 @@
    <ph keyref="return-section-title"/> -

    当前设置的镜像模式,详见

    +

    The current image mode. See .

    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index 44fe24752de..1296c105a23 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -2,7 +2,7 @@ <ph keyref="setExternalMediaProjection"/> - Uses the video streams captured by the MediaProjection. + Configure MediaProjection outside of the SDK to capture screen video streams @@ -31,14 +31,14 @@ This method is for Android only. -

    After successfully calling this method, the external MediaProjection you set will replace the MediaProjection requested by the SDK to capture the screen video stream.

    -

    当停止屏幕共享或销毁 时,SDK 会自动释放 MediaProjection。

    +

    After successfully calling this method, the external MediaProjection you set will replace the MediaProjection requested by the SDK to capture the screen video stream.

    +

    When the screen sharing is stopped or is destroyed, the SDK will automatically release the MediaProjection.

    Applicable scenarios -

    如果你具备自行申请 MediaProjection 的开发能力,可以直接使用该 MediaProjection 取代 SDK 申请的 MediaProjection 。 以下列出两种使用场景:

      -
    • 在定制系统的设备上,可避免系统弹窗(即需要用户授予屏幕采集权限),直接开始采集屏幕视频流。
    • -
    • 一个屏幕共享进程中存在一个或多个子进程,避免在子进程中自行创建对象的过程出错而导致采集失败。
    • +

      If you are able to apply for MediaProjection, you can directly use your MediaProjection instead of the one applied for by the SDK. The following lists two applicable scenarios:

        +
      • On custom system devices, it can avoid system pop-ups (i.e. requiring user permission to capture the screen) and directly start capturing the screen video stream.
      • +
      • In a screen sharing process that involves one or more sub-processes, it can help avoid errors that might occur when creating objects within these sub-processes, which could otherwise lead to failures in screen capturing.

    @@ -47,14 +47,14 @@
    Restrictions -

    在调用该方法前,必须先申请 MediaProjection 权限。

    +

    Before calling this method, you must first apply for MediaProjection permission.

    Parameters mediaProjection - 一个 对象,用于采集屏幕视频流。 + An object used to capture screen video streams.
    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 17/35] 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 From 3d429734ee0fe4c1ae841d8798ffd3594908168a Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:38:49 +0800 Subject: [PATCH 18/35] New translations --- .../API/api_playerconfig_getautoplay.dita | 6 ++--- .../API/api_rteexception_errorcode.dita | 4 ++-- .../API/callback_asynccallback_onresult.dita | 6 ++--- ...lback_playergetstatscallback_onresult.dita | 8 +++---- en-US/dita/RTC-NG/API/class_playerconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_rteexception.dita | 2 +- .../dita/RTC-NG/API/class_rteplayerinfo.dita | 22 +++++++++---------- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita b/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita index 88a12b64ea9..b6ae26a3654 100644 --- a/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita +++ b/en-US/dita/RTC-NG/API/api_playerconfig_getautoplay.dita @@ -2,7 +2,7 @@ <ph keyref="GetAutoPlay"/> - 获取自动播放设置。 + Gets the autoplay settings. @@ -30,7 +30,7 @@
      v4.5.0
      -

      你可以调用该方法来得知当前播放器的自动播放设置。

      +

      You can call this method to get the autoplay settings of the current player.

    Call timing @@ -51,7 +51,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.

    -

    获取自动播放设置是否成功:

      +

      Whether the autoplay settings are retrieved:

      • : Yes.
      • : No.
      diff --git a/en-US/dita/RTC-NG/API/api_rteexception_errorcode.dita b/en-US/dita/RTC-NG/API/api_rteexception_errorcode.dita index a9d4675da84..3a7e7c8930e 100644 --- a/en-US/dita/RTC-NG/API/api_rteexception_errorcode.dita +++ b/en-US/dita/RTC-NG/API/api_rteexception_errorcode.dita @@ -2,7 +2,7 @@ <ph keyref="errorCode_RteException"/> - 获取 RteException 携带的错误码。 + Retrieves the error code in RteException. @@ -35,7 +35,7 @@

    -

    此异常携带的错误码,详见

    +

    The error code contained in the exception:

    diff --git a/en-US/dita/RTC-NG/API/callback_asynccallback_onresult.dita b/en-US/dita/RTC-NG/API/callback_asynccallback_onresult.dita index 6767aa9d915..bf5dcc5ad4e 100644 --- a/en-US/dita/RTC-NG/API/callback_asynccallback_onresult.dita +++ b/en-US/dita/RTC-NG/API/callback_asynccallback_onresult.dita @@ -2,7 +2,7 @@ <ph keyref="onResult_AsyncCallback"/> - 异步操作结果回调。 + Reports the result of the asynchronous operation. @@ -35,7 +35,7 @@
    Trigger timing -

    当异步操作完成后,SDK 会触发该回调报告异步操作的结果。

    +

    After the asynchronous operation is completed, the SDK triggers this callback to report the result of the operation.

    Restrictions @@ -46,7 +46,7 @@ error - 状态或错误码,详见 + The state or error code: .
    diff --git a/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita b/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita index 2d7650d9a2e..9eb339c7fb3 100644 --- a/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita +++ b/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita @@ -2,7 +2,7 @@ <ph keyref="onResult_PlayerGetStatsCallback"/> - 该回调用于处理获取媒体资源统计信息的异步操作结果。 + Reports the result of the asynchronous operation that retrieves the statistics of the media resources. @@ -35,7 +35,7 @@
    Trigger timing -

    当获取媒体资源信息的异步操作完成后,SDK 会触发该回调报告异步操作的结果。

    +

    When the asynchronous operation that retrieves the statistics of the media resources, the SDK triggers this callback to report the result of this operation.

    Restrictions @@ -45,12 +45,12 @@ Parameters - playerStats + playerStatsç The statistics of the media file. See . error - 状态及错误信息,详见 + The state or error information: .
    diff --git a/en-US/dita/RTC-NG/API/class_playerconfig.dita b/en-US/dita/RTC-NG/API/class_playerconfig.dita index 92389459b08..f5714b0af53 100644 --- a/en-US/dita/RTC-NG/API/class_playerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_playerconfig.dita @@ -56,7 +56,7 @@ - 获取自动播放设置。 See . + Gets the autoplay settings. See . diff --git a/en-US/dita/RTC-NG/API/class_rteexception.dita b/en-US/dita/RTC-NG/API/class_rteexception.dita index 251aec32503..32ca50120cf 100644 --- a/en-US/dita/RTC-NG/API/class_rteexception.dita +++ b/en-US/dita/RTC-NG/API/class_rteexception.dita @@ -2,7 +2,7 @@ <ph keyref="RteException"/> - Rte 异常信息。 + The exception information of the Rte Object.

    diff --git a/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita b/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita index ea4e5636bb5..1d8051bdd57 100644 --- a/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita +++ b/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita @@ -2,7 +2,7 @@ <ph keyref="RtePlayerInfo"/> - 播放器及媒体流的相关信息。 + Statistics of the player and media stream.

    @@ -78,33 +78,33 @@ Reserved for future use. - stream_count + stream_countç streamCount Reserved for future use. has_audio hasAudio - URL 媒体流中是否存在音频流:

    • :存在音频流。
    • -
    • :不存在音频流。
    + Whether there is audio in the URL media stream.
    • : Yes.
    • +
    • : No.
    has_video hasVideo - URL 媒体流中是否存在视频流:
    • :存在视频流。
    • -
    • :不存在视频流。
    + Whether there is video in the URL media stream.
    • : Yes.
    • +
    • : No.
    is_audio_muted isAudioMuted - 本地用户是否订阅了音频流:
    • :未订阅音频流。
    • -
    • :订阅了音频流。
    + Whether the local user has subscribed to the audio stream:
    • : No.
    • +
    • : Yes.
    is_video_muted isVideoMuted - 本地用户是否订阅了视频流:
    • :未订阅视频流。
    • -
    • :订阅了视频流。
    + Whether the local user has subscribed to the video stream:
    • : No.
    • +
    • : Yes.
    video_height @@ -119,7 +119,7 @@ abr_subscription_layer abrSubscriptionLayer - 订阅的视频流的质量级别。 在自适应码率(ABR)视频流中,不同的质量级别对应不同的分辨率和码率,详见 + The quality level of the subscribed video stream: In the ABR (Adaptive Bitrate Streaming) mode, different video quality level corresponds to different video resolutions and bitrates. See . audio_sample_rate From 2f74950031834bbb4f0cb2a60eafc225b4de2875 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 11 Nov 2024 15:39:22 +0800 Subject: [PATCH 19/35] New translations --- .../API/class_faceshapeareaoptions.dita | 2 +- .../RTC-NG/API/class_filtereffectoptions.dita | 2 +- en-US/dita/RTC-NG/API/class_player.dita | 2 +- .../API/class_playergetstatscallback.dita | 2 +- .../dita/RTC-NG/API/class_playerobserver.dita | 2 +- en-US/dita/RTC-NG/API/class_rte.dita | 2 +- en-US/dita/RTC-NG/API/rtc_api_data_type.dita | 44 +++++++++---------- 7 files changed, 28 insertions(+), 28 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita index 86d0b3558b2..413ecb4a620 100644 --- a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita @@ -2,7 +2,7 @@ <ph keyref="FaceShapeAreaOptions" /> - 滤镜效果选项。 + Filter effect options.

    diff --git a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita index b3dc7aaf549..0e3feac0897 100644 --- a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita @@ -2,7 +2,7 @@ <ph keyref="FilterEffectOptions" /> - 滤镜效果选项。 + Filter effect options.

    diff --git a/en-US/dita/RTC-NG/API/class_player.dita b/en-US/dita/RTC-NG/API/class_player.dita index 5b9ab5355a2..11c50ba4522 100644 --- a/en-US/dita/RTC-NG/API/class_player.dita +++ b/en-US/dita/RTC-NG/API/class_player.dita @@ -2,5 +2,5 @@ <ph keyref="Player"/> - RTE 播放器的基础接口类,实现媒体播放的主要功能。 + The fundamental interface class for the RTE player, which implements the major functions of media playback. diff --git a/en-US/dita/RTC-NG/API/class_playergetstatscallback.dita b/en-US/dita/RTC-NG/API/class_playergetstatscallback.dita index 51b02c7b662..f9f3059dcf2 100644 --- a/en-US/dita/RTC-NG/API/class_playergetstatscallback.dita +++ b/en-US/dita/RTC-NG/API/class_playergetstatscallback.dita @@ -2,5 +2,5 @@ <ph keyref="PlayerGetStatsCallback"/> - 该类提供的回调用于获取媒体资源统计信息的异步操作结果。 + This class provides callbacks which report the result of synchorous operations that gets the statistics of the media resources. diff --git a/en-US/dita/RTC-NG/API/class_playerobserver.dita b/en-US/dita/RTC-NG/API/class_playerobserver.dita index 93d13f32ea4..ac5c7534632 100644 --- a/en-US/dita/RTC-NG/API/class_playerobserver.dita +++ b/en-US/dita/RTC-NG/API/class_playerobserver.dita @@ -2,5 +2,5 @@ <ph keyref="PlayerObserver"/> - 提供播放器回调的接口类。 + The interface class which provides callbacks for the player. diff --git a/en-US/dita/RTC-NG/API/class_rte.dita b/en-US/dita/RTC-NG/API/class_rte.dita index 9ffc1b25e4b..3ce63fc7e31 100644 --- a/en-US/dita/RTC-NG/API/class_rte.dita +++ b/en-US/dita/RTC-NG/API/class_rte.dita @@ -2,5 +2,5 @@ <ph keyref="Rte"/> - RTE API 的基础接口类,提供了实现实时音视频的主要方法。 + The fundamental interface class of the RTE API, which provides major methods for enabling real-time audio video interaction. diff --git a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita index f76a02da79e..ef1e662e74f 100644 --- a/en-US/dita/RTC-NG/API/rtc_api_data_type.dita +++ b/en-US/dita/RTC-NG/API/rtc_api_data_type.dita @@ -45,8 +45,8 @@

  • -
  • -
  • +
  • +
  • @@ -188,8 +188,8 @@
  • -
  • -
  • +
  • +
  • @@ -425,8 +425,8 @@
  • -
  • -
  • +
  • +
  • @@ -543,8 +543,8 @@
  • -
  • -
  • +
  • +
  • @@ -1240,8 +1240,8 @@
  • -
  • -
  • +
  • +
  • @@ -1296,8 +1296,8 @@
  • -
  • -
  • +
  • +
  • @@ -1380,8 +1380,8 @@
  • -
  • -
  • +
  • +
  • @@ -1497,8 +1497,8 @@
  • -
  • -
  • +
  • +
  • @@ -1547,8 +1547,8 @@
  • -
  • -
  • +
  • +
  • @@ -1639,8 +1639,8 @@
  • -
  • -
  • +
  • +
  • @@ -1687,8 +1687,8 @@
  • -
  • -
  • +
  • +
  • From 1a506cedf202b4f2dc80cf86bb1e038975de2602 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 11 Nov 2024 16:39:52 +0800 Subject: [PATCH 20/35] New translations --- ...pi_irtcengine_getfaceshapeareaoptions.dita | 16 +++++++-------- .../API/api_player_unregisterobserver.dita | 12 +++++------ .../API/api_rte_unregisterobserver.dita | 6 +++--- .../dita/RTC-NG/API/class_asynccallback.dita | 2 +- en-US/dita/RTC-NG/API/class_config.dita | 6 +++--- .../API/class_faceshapeareaoptions.dita | 20 +++++++++---------- .../RTC-NG/API/class_filtereffectoptions.dita | 11 +++++----- .../class_localaudiomixerconfiguration.dita | 12 +++++------ .../RTC-NG/API/class_mixedaudiostream.dita | 10 +++++----- en-US/dita/RTC-NG/API/class_playerconfig.dita | 10 +++++----- en-US/dita/RTC-NG/API/enum_faceshapearea.dita | 10 +++++----- 11 files changed, 57 insertions(+), 58 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita index ee1ca539ff4..4ca4bf68adb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita @@ -53,15 +53,15 @@ area

    Facial enhancement areas. See .

    -

    美型部位:

      +

      Facial enhancement areas.

      • (-1):(默认)无效部位,美型不生效。
      • -
      • (0):头部,用于实现小头效果。 The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100.
      • -
      • (1):额头,修饰发际线高度。 对应修饰力度范围为 [-100,100],正值为调高,负值为调低,绝对值越大修饰效果越强,预设值为 50。
      • -
      • (2):脸部轮廓,用于实现瘦脸效果。 The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
      • -
      • (3):脸部长度,用于实现长脸效果。 The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of 0.
      • -
      • (4):脸部宽度,用于实现窄脸效果。 The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10.
      • -
      • (5):颧骨,修饰颧骨宽度。 The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones, with a preset value of 43.
      • -
      • (6):脸颊,修饰脸颊宽度。 The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50.
      • +
      • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100.
      • +
      • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect. The preset value is 20.
      • +
      • 2: Face contour, used to achieve a slimmer face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
      • +
      • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0.
      • +
      • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10.
      • +
      • 5: Cheekbone, used to achieve a narrower cheekbone effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43.
      • +
      • 6: Cheeks, used to achieve narrower cheeks effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50.
      • (7):下巴,修饰下巴长度。 The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -20.
      • (8):眼睛,用于实现大眼效果。 对应修饰力度范围为 [0,100],值越大,眼睛越大,预设值为 53。
      • (9):鼻子长度,用于实现长鼻效果。 The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
      • diff --git a/en-US/dita/RTC-NG/API/api_player_unregisterobserver.dita b/en-US/dita/RTC-NG/API/api_player_unregisterobserver.dita index 8cb673a8b19..bfc8ea4f540 100644 --- a/en-US/dita/RTC-NG/API/api_player_unregisterobserver.dita +++ b/en-US/dita/RTC-NG/API/api_player_unregisterobserver.dita @@ -2,7 +2,7 @@ <ph keyref="UnregisterObserver_Player"/> - 取消注册播放器事件观测器的对象。 + Unregisters the player event observer. @@ -30,11 +30,11 @@
        v4.5.0
        -

        调用 注册播放器事件观测器后,如果你需要取消注册,请调用该方法。

        +

        After you register the player event observer by calling , if you want to unregister the observer, call this method.

    Call timing -

    Call this method after .

    +

    Call this method after .

    Restrictions @@ -55,9 +55,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 you successfully unregister the observer:

        +
      • : Yes.
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita index 90e574894c5..23aa8f23236 100644 --- a/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_unregisterobserver.dita @@ -56,9 +56,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 you successfully unregister the observer:

        +
      • : Yes.
      • +
      • : No.

    diff --git a/en-US/dita/RTC-NG/API/class_asynccallback.dita b/en-US/dita/RTC-NG/API/class_asynccallback.dita index 7c7b1ef7461..789469a9740 100644 --- a/en-US/dita/RTC-NG/API/class_asynccallback.dita +++ b/en-US/dita/RTC-NG/API/class_asynccallback.dita @@ -2,5 +2,5 @@ <ph keyref="AsyncCallback"/> - 该类提供异步操作结果的回调。 + This class provides callbacks that report the result of asychronous operations. diff --git a/en-US/dita/RTC-NG/API/class_config.dita b/en-US/dita/RTC-NG/API/class_config.dita index 0b1c720b668..0d065e2ddd3 100644 --- a/en-US/dita/RTC-NG/API/class_config.dita +++ b/en-US/dita/RTC-NG/API/class_config.dita @@ -2,7 +2,7 @@ <ph keyref="Config"/> - RTE 配置类,用于配置 RTE 对象。 + The RTE configuration class.

    @@ -57,11 +57,11 @@ - 设置 SDK 的 JSON 配置信息。 See . + Sets the SDK JSON configuration. See . - 获取设置 SDK 的 JSON 配置信息。 See . + Get the SDK JSON configuration. See .

    diff --git a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita index 413ecb4a620..63f3c9b7bfe 100644 --- a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita @@ -68,16 +68,16 @@ shapeArea -

    美型部位,详见

    -

    美型部位:

      -
    • (-1):(默认)无效部位,美型效果不生效。
    • -
    • (0):头部,用于实现小头效果。 The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100.
    • -
    • (1):额头,修饰发际线高度。 对应修饰力度范围为 [-100,100],正值为调高,负值为调低,绝对值越大修饰效果越强,预设值为 50。
    • -
    • (2):脸部轮廓,用于实现瘦脸效果。 The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
    • -
    • (3):脸部长度,用于实现长脸效果。 The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of 0.
    • -
    • (4):脸部宽度,用于实现窄脸效果。 The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10.
    • -
    • (5):颧骨,修饰颧骨宽度。 The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones, with a preset value of 43.
    • -
    • (6):脸颊,修饰脸颊宽度。 The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50.
    • +

      Facial enhancement areas:

      +

      Facial enhancement areas.

        +
      • -1: (Default) Invalid area; facial enhancement effects do not take effect.
      • +
      • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100.
      • +
      • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect. The preset value is 20.
      • +
      • 2: Face contour, used to achieve a slimmer face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
      • +
      • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0.
      • +
      • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10.
      • +
      • 5: Cheekbone, used to achieve a narrower cheekbone effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43.
      • +
      • 6: Cheeks, used to achieve narrower cheeks effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50.
      • (7):下巴,修饰下巴长度。 The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -20.
      • (8):眼睛,用于实现大眼效果。 对应修饰力度范围为 [0,100],值越大,眼睛尺寸越大,预设值为 53,。
      • (9):鼻子长度,用于实现长鼻效果。 The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
      • diff --git a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita index 0e3feac0897..45630a9d444 100644 --- a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita @@ -36,7 +36,7 @@ path -

        3D 立方体贴图文件的本地绝对路径,该文件用于实现自定义滤镜效果。 引用的 .cube 文件必须严格遵循立方体查找表(Cube LUT)规范,否则滤镜效果无法生效。 以下为 .cube 文件的示例: +

        The absolute path to the local cube map texture file, which customzies the filter effect. The referred .cude file should strictly follow the Cube LUT Format Specification; otherwise, the filter effect does not work. The following is a sample of the .cude file: LUT_3D_SIZE 32 0.0039215689 0 0.0039215682 0.0086021447 0.0037950677 0 @@ -45,17 +45,16 @@ LUT_3D_SIZE 32

          -
        • 立方体贴图文件首行的 LUT_3D_SIZE 标识符表示三维查找表的尺寸,滤镜效果的 LUT 尺寸目前仅支持设为 32。
        • -
        • SDK 提供了一个内置的 built_in_whiten_filter.cube 文件,传入该文件的绝对路径可实现美白滤镜效果。
        • +
        • The identifier LUT_3D_SIZE on the first line of the cube map file represents the size of the three-dimensional lookup table. The LUT size for filter effects can only be set to 32.
        • +
        • The SDK provides a built-in built_in_whiten_filter.cube file. You can pass the absolute path of this file to get the whitening filter effect.

        - Strength - - 滤镜效果强度,取值范围为 [0.0,1.0],其中 0.0 表示无滤镜效果,默认值为 0.5。 取值越大,滤镜效果越强。 + strength + The intensity of the filter effect, with a range value of [0.0,1.0], in which 0.0 represents no filter effect. The default value is 0.5. The higher the value, the stronger the filter effect.
    diff --git a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita index bb3a2ab3025..114df2570de 100644 --- a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita @@ -2,7 +2,7 @@ <ph keyref="LocalAudioMixerConfiguration"/> - 本地音频合流配置。 + The configurations for mixing the lcoal audio.

    @@ -57,17 +57,17 @@ streamCount - 在本地进行合流的音频流数量。 + The number of the audio streams that are mixed locally. audioInputStreams - 在本地进行合流的音频源。 See . + The source of the audio streams that are mixed locally. See . syncWithLocalMic - 合流后的音频流是否使用本地麦克风采集的音频帧时间戳:

      -
    • :(默认)使用本地麦克风采集的音频帧时间戳。 如果要所有本地采集的音频流保持同步,你可以将参数设置为该值。
    • -
    • :不使用本地麦克风采集的音频帧时间戳,SDK 会采用合流的音频帧被构建时的时间戳。
    • + Whether the mxied audio stream uses the timestamp of audio frames captured by the local microphone.
        +
      • : (Default) Yes. Set to this value if you want all locally captured audio streams synchronized.
      • +
      • : No. The SDK uses the timestamp of the audio frames at the time when they are mixed.
    diff --git a/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita b/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita index 7ea4521bb24..af64f1582ff 100644 --- a/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita +++ b/en-US/dita/RTC-NG/API/class_mixedaudiostream.dita @@ -2,7 +2,7 @@ <ph keyref="MixedAudioStream"/> - 在本地进行合流的音频源。 + The source of the audio streams that are mixed locally.

    @@ -68,25 +68,25 @@ sourceType - The type of the video source. See . + The type of the audio source. See . remoteUserUid

    The user ID of the remote user.

    - 当参与本地音频合流的音频源类型为 时,需要设置该参数。 + Set this parameter if the source type of the locally mixed audio steams is . channelId

    - 当参与本地音频合流的音频源类型为 时,需要设置该参数。 + Set this parameter if the source type of the locally mixed audio streams is or . trackId

    The audio track ID. Set this parameter to the custom audio track ID returned in .

    - 当参与本地本地音频合流的音频源类型为 时,需要设置该参数。 + Set this parameter if the source type of the locally mixed audio steams is .
    diff --git a/en-US/dita/RTC-NG/API/class_playerconfig.dita b/en-US/dita/RTC-NG/API/class_playerconfig.dita index f5714b0af53..a597b759c98 100644 --- a/en-US/dita/RTC-NG/API/class_playerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_playerconfig.dita @@ -2,7 +2,7 @@ <ph keyref="PlayerConfig"/> - 该类提供播放器设置的相关方法。 + This class provides methods relevant to player settings.

    @@ -60,19 +60,19 @@ - 设置订阅的媒体流的质量层级。 See . + Sets the quality level of the subscribed media stream. See . - 获取所订阅的视频流的质量层级。 See . + Gets the quality level of the subscribed video stream. See . - 设置订阅的视频流的回退选项。 See . + Sets the fallback option of the subscribed video stream. See . - 获取设置的视频流回退选项。 See . + Gets the fallback option of video stream. See .

    diff --git a/en-US/dita/RTC-NG/API/enum_faceshapearea.dita b/en-US/dita/RTC-NG/API/enum_faceshapearea.dita index e7448a9db1a..7638a9c2450 100644 --- a/en-US/dita/RTC-NG/API/enum_faceshapearea.dita +++ b/en-US/dita/RTC-NG/API/enum_faceshapearea.dita @@ -21,7 +21,7 @@ - 0: Head, used to achieve a small head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100. + 0: Head, used to achieve a small head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100. @@ -33,19 +33,19 @@ - 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of 0. + 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0. - 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10. + 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10. - 5: Cheekbones, adjusts the width of the cheekbones. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones, with a preset value of 43. + 5: Cheekbones, adjusts the width of the cheekbones. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43. - 6: Cheeks, adjusts the width of the cheeks. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50. + 6: Cheeks, adjusts the width of the cheeks. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50. From 47fb50f9d806e0a6c5b734b3a42315ec54511f56 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Mon, 11 Nov 2024 17:40:41 +0800 Subject: [PATCH 21/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_canvas.dita | 2 +- ...pi_irtcengine_getfaceshapeareaoptions.dita | 20 ++++++++-------- ...allback_playerobserver_onstatechanged.dita | 10 ++++---- en-US/dita/RTC-NG/API/class_canvas.dita | 8 +++---- en-US/dita/RTC-NG/API/class_canvasconfig.dita | 6 ++--- en-US/dita/RTC-NG/API/class_error.dita | 10 ++++---- .../API/class_faceshapeareaoptions.dita | 24 +++++++++---------- en-US/dita/RTC-NG/API/enum_faceshapearea.dita | 12 +++++----- 8 files changed, 46 insertions(+), 46 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 2ca43f7a322..0a483cbf4d7 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"/> - Create a Canvas object. + Creates a Canvas object. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita index 4ca4bf68adb..fb9d1f292b3 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getfaceshapeareaoptions.dita @@ -55,17 +55,17 @@

    Facial enhancement areas. See .

    Facial enhancement areas.

    • (-1):(默认)无效部位,美型不生效。
    • -
    • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100.
    • -
    • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect. The preset value is 20.
    • +
    • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100.
    • +
    • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect, with a preset value of 20.
    • 2: Face contour, used to achieve a slimmer face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
    • -
    • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0.
    • -
    • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10.
    • -
    • 5: Cheekbone, used to achieve a narrower cheekbone effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43.
    • -
    • 6: Cheeks, used to achieve narrower cheeks effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50.
    • -
    • (7):下巴,修饰下巴长度。 The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -20.
    • -
    • (8):眼睛,用于实现大眼效果。 对应修饰力度范围为 [0,100],值越大,眼睛越大,预设值为 53。
    • -
    • (9):鼻子长度,用于实现长鼻效果。 The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
    • -
    • (10):鼻子宽度,用于实现瘦鼻效果。 对应修饰力度范围为 [-100,100],正值为变宽,负值为变窄,绝对值越大修饰效果越强,预设值为 72。
    • +
    • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of 0.
    • +
    • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10.
    • +
    • 5: Cheekbone, used to adjust the cheekbone width. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones., with a preset set value of 43.
    • +
    • 6: Cheeks, used to adjust the cheeks width. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50.
    • +
    • 7: Chin, used to adjust the chin length. The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -20.
    • +
    • 8:Eyes, used to achieve a larger eye effect. 对应修饰力度范围为 [0,100],值越大,眼睛越大,预设值为 53。
    • +
    • 9: Nose length, used to achieve a longer nose effect. The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
    • +
    • 10: Nose width, used to achieve a slimmer nose effect. 对应修饰力度范围为 [-100,100],正值为变宽,负值为变窄,绝对值越大修饰效果越强,预设值为 72。
    • (11):嘴巴,修饰嘴巴大小。 The corresponding adjustment range is [-100,100]; positive values enlarge the mouth, while negative values make it smaller. The larger the absolute value, the stronger the enhancement effect, with a preset value of 20.

    diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita index 08d9ff5f489..f0d14db9c56 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita @@ -2,7 +2,7 @@ <ph keyref="onStateChanged"/> - 播放器状态发生改变回调。 + Occurs when the play state changes. @@ -31,11 +31,11 @@
    v4.5.0
    -

    如果你需要监控播放器状态的变化,需要先调用 注册播放器观测器的对象。

    +

    To monitor player events, you need to call to register a player observer object.

    Trigger timing -

    当播放器状态发生变化时,SDK 会触发此回调报告当前和变化之前的状态。

    +

    When the player state changes, the SDK triggers this callback the report the previous and current states.

    Restrictions @@ -47,12 +47,12 @@ old_state oldState - 播放器变化前的状态,详见 + The previous playback state. See . new_state newState - The current playback state. See . 如果当前状态为 ,你可以通过 errerror 参数获取详细错误信息。 + The current playback state. See . If the current state is , you can get the detailed error information from the errerror parameter. error diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index 061c3bb466d..1cc2a4c6882 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -2,7 +2,7 @@ <ph keyref="Canvas"/> - 该类提供设置播放器视频渲染的方法。 + This class provides methods for video rendering.

    @@ -50,7 +50,7 @@ - Create a Canvas object. See . + Creates a Canvas object. See . @@ -62,11 +62,11 @@ - 添加一个视图。 See . + Adds a view. See . - 移除一个视图。 See . + Removes a view. See .

    diff --git a/en-US/dita/RTC-NG/API/class_canvasconfig.dita b/en-US/dita/RTC-NG/API/class_canvasconfig.dita index 3c618b27a4b..81d2813db4e 100644 --- a/en-US/dita/RTC-NG/API/class_canvasconfig.dita +++ b/en-US/dita/RTC-NG/API/class_canvasconfig.dita @@ -2,7 +2,7 @@ <ph keyref="CanvasConfig"/> - 该类提供设置播放器视频渲染的相关方法。 + This class provides methods relevant to video rendering by the player.

    @@ -52,7 +52,7 @@ - 获取当前设置视频的渲染模式。 See . + Gets the current video rendering mode setting. See . @@ -60,7 +60,7 @@ - 获取当前设置的视频镜像模式。 See . + Get the current video mirror mode setting. See .

    diff --git a/en-US/dita/RTC-NG/API/class_error.dita b/en-US/dita/RTC-NG/API/class_error.dita index 0011a4905e2..5281d071607 100644 --- a/en-US/dita/RTC-NG/API/class_error.dita +++ b/en-US/dita/RTC-NG/API/class_error.dita @@ -2,7 +2,7 @@ <ph keyref="Error"/> - 该类提供了获取错误码和错误信息的方法。 + This class provides methods for getting error codes and error information.

    @@ -42,13 +42,13 @@ - 获取 API 调用返回的错误码,详见 - 获取 API 调用返回的错误码。 See . + Gets the error code returned in the method call: . + Gets the error code returned in the method call. See . - 获取 API 调用返回的具体错误信息,详见 - 获取 API 调用返回的具体错误信息。 + Gets the detailed error information returned in the method call: . + Gets the detailed error information returned in the method call.

    diff --git a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita index 63f3c9b7bfe..a4335222b07 100644 --- a/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita +++ b/en-US/dita/RTC-NG/API/class_faceshapeareaoptions.dita @@ -71,25 +71,25 @@

    Facial enhancement areas:

    Facial enhancement areas.

    • -1: (Default) Invalid area; facial enhancement effects do not take effect.
    • -
    • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100.
    • -
    • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect. The preset value is 20.
    • +
    • 0: Head, used to achieve a smaller head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100.
    • +
    • 1: Forehead, which adjusts the height of the hairline. The corresponding adjustment range is [-100,100]; positive values makes the hairline higher, while negative values make it lower. The larger the value, the stronger the enhancement effect, with a preset value of 20.
    • 2: Face contour, used to achieve a slimmer face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the slimming effect, with a preset value of 10.
    • -
    • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0.
    • -
    • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10.
    • -
    • 5: Cheekbone, used to achieve a narrower cheekbone effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43.
    • -
    • 6: Cheeks, used to achieve narrower cheeks effect. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50.
    • -
    • (7):下巴,修饰下巴长度。 The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -20.
    • -
    • (8):眼睛,用于实现大眼效果。 对应修饰力度范围为 [0,100],值越大,眼睛尺寸越大,预设值为 53,。
    • -
    • (9):鼻子长度,用于实现长鼻效果。 The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
    • -
    • (10):鼻子宽度,用于实现瘦鼻效果。 The corresponding adjustment range is [-100,100]; positive values make the nose wider, while negative values make it narrower. The larger the absolute value, the stronger the enhancement effect, with a preset value of 72.
    • -
    • (11):嘴巴,修饰嘴巴尺寸。 The corresponding adjustment range is [-100,100]; positive values enlarge the mouth, while negative values make it smaller. The larger the absolute value, the stronger the enhancement effect, with a preset value of 20.
    • +
    • 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of 0.
    • +
    • 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10.
    • +
    • 5: Cheekbone, used to adjust the cheekbone width. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones., with a preset set value of 43.
    • +
    • 6: Cheeks, used to adjust the cheeks width. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50.
    • +
    • 7: Chin, used to adjust the chin length. The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -20.
    • +
    • 8:Eyes, used to achieve a larger eye effect. The corresponding adjustment range is [0,100]; the larger the value, the larger the eye size, with a preset value of 53.
    • +
    • 9: Nose length, used to achieve a longer nose effect. The corresponding adjustment range is [-100,100]; positive values elongate the nose, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -10.
    • +
    • 10: Nose width, used to achieve a slimmer nose effect. The corresponding adjustment range is [-100,100]; positive values make the nose wider, while negative values make it narrower. The larger the absolute value, the stronger the enhancement effect, with a preset value of 72.
    • +
    • 11: Mouth, used to adjust the size of the mouth. The corresponding adjustment range is [-100,100]; positive values enlarge the mouth, while negative values make it smaller. The larger the absolute value, the stronger the enhancement effect, with a preset value of 20.

    shapeIntensity - 修饰力度。 各部位的修饰力度定义(包括修饰的方向、范围、预设值等)有所不同,详见 shapeArea 中的描述。 See . + The intensity of the enhancement. The enhancement intensity, such as its orientation, range, and preset value, varies according to the different areas. For details, see descriptions in shapeArea. See .
    diff --git a/en-US/dita/RTC-NG/API/enum_faceshapearea.dita b/en-US/dita/RTC-NG/API/enum_faceshapearea.dita index 7638a9c2450..5dc3244128b 100644 --- a/en-US/dita/RTC-NG/API/enum_faceshapearea.dita +++ b/en-US/dita/RTC-NG/API/enum_faceshapearea.dita @@ -21,7 +21,7 @@ - 0: Head, used to achieve a small head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes. The preset value is 100. + 0: Head, used to achieve a small head effect. The corresponding adjustment range is [0,100]; the larger the value, the smaller the head becomes, with a preset value of 100. @@ -33,23 +33,23 @@ - 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect. The preset value is 0. + 3: Face length, used to achieve a longer face effect. The corresponding adjustment range is [-100,100]; positive values elongate the face, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of 0. - 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect. The preset value is 10. + 4: Face width, used to achieve a narrower face effect. The corresponding adjustment range is [0,100]; the larger the value, the stronger the narrowing effect, with a preset value of 10. - 5: Cheekbones, adjusts the width of the cheekbones. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones. The preset value is 43. + 5: Cheekbones, adjusts the width of the cheekbones. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheekbones., with a preset set value of 43. - 6: Cheeks, adjusts the width of the cheeks. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks. with a preset value of 50. + 6: Cheeks, adjusts the width of the cheeks. The corresponding adjustment range is [0,100]; the larger the value, the narrower the cheeks, with a preset value of 50. - 7: Chin, adjusts the length of the chin. The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the absolute value, the stronger the enhancement effect, with a preset value of -20. + 7: Chin, adjusts the length of the chin. The corresponding adjustment range is [-100,100]; positive values elongate the chin, while negative values shorten it. The larger the value, the stronger the enhancement effect, with a preset value of -20. From 77c4749beba5d000be4ac7c7065f8b05c40d185a Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 12 Nov 2024 12:45:27 +0800 Subject: [PATCH 22/35] New translations --- ...i_channelmediarelayconfiguration_setdestchannelinfo.dita | 2 +- .../RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita | 2 +- .../RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita | 2 +- .../dita/RTC-NG/API/callback_playerobserver_onmetadata.dita | 2 +- en-US/dita/RTC-NG/API/class_audiotrackconfig.dita | 6 +++--- .../RTC-NG/API/class_channelmediarelayconfiguration.dita | 2 +- en-US/dita/RTC-NG/API/enum_localvideostreamreason.dita | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita index 999c77b61fc..5acab10dcc6 100644 --- a/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita +++ b/en-US/dita/RTC-NG/API/api_channelmediarelayconfiguration_setdestchannelinfo.dita @@ -45,7 +45,7 @@
  • If you have not enabled the App Certificate, set this parameter as the default value , which means the SDK applies the App ID.
  • If you have enabled the App Certificate, you must use the token generated with the channelName and uid.
  • If the token of any target channel expires, the whole media relay stops; hence Agora recommends that you specify the same expiration time for the tokens of all the target channels.

    -
  • uid: The unique user ID to identify the relay stream in the target channel. The value ranges from 0 to (2 32-1). To avoid user ID conflicts, this user ID must be different from any other user ID in the target channel. The default value is 0, which means the SDK generates a random user ID.
  • +
  • uid: The unique user ID to identify the relay stream in the target channel. The value ranges from 0 to (2 32-1). To avoid user ID conflicts, this user ID must be different from any other user ID in the target channel. The default value is 0, which means the SDK generates a random UID.
  • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita index e8b3abaf977..964628c728f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita @@ -2,7 +2,7 @@ <ph keyref="setFilterEffectOptions"/> - Sets the image enhancement options and specifies the media source. + Sets the filter effect options and specifies the media source. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita index 892fb085d40..32d52248a3c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions2.dita @@ -2,7 +2,7 @@ <ph keyref="setVideoDenoiserOptions2"/> - Sets video noise reduction and specifies the media source. + Sets video noise reduction and specifies the media source. diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita index 3f31d3caac3..bd0c41b51bc 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onmetadata.dita @@ -58,7 +58,7 @@ length - 数据的大小(字节)。 + Size of data (in bytes).
    diff --git a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita index 17c30bed973..403743ca319 100644 --- a/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita +++ b/en-US/dita/RTC-NG/API/class_audiotrackconfig.dita @@ -94,10 +94,10 @@ class AudioTrackConfig { enableAudioProcessing 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.
    • -
    • :(默认)不启用音频处理模块。
    • +
    • Enable the audio processing module to apply the Automatic Echo Cancellation (AEC), Automatic Noise Suppression (ANS), and Automatic Gain Control (AGC) effects.
    • +
    • : (Default) Do not enable the audio processing module.
    - 该参数设置仅对 类型的自定义音频采集轨道生效。 + This parameter only takes effect on in custom audio capturing.
    diff --git a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita index e6956c5d78a..35247572324 100644 --- a/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_channelmediarelayconfiguration.dita @@ -193,7 +193,7 @@ public:
  • If you have not enabled the App Certificate, set this parameter as the default value , which means the SDK applies the App ID.
  • If you have enabled the App Certificate, you must use the token generated with the channelName and uid.
  • If the token of any target channel expires, the whole media relay stops; hence Agora recommends that you specify the same expiration time for the tokens of all the target channels.

    -
  • uid: The unique user ID to identify the relay stream in the target channel. The value ranges from 0 to (2 32-1). To avoid user ID conflicts, this user ID must be different from any other user ID in the target channel. The default value is 0, which means the SDK generates a random user ID.
  • +
  • uid: The unique user ID to identify the relay stream in the target channel. The value ranges from 0 to (2 32-1). To avoid user ID conflicts, this user ID must be different from any other user ID in the target channel. The default value is 0, which means the SDK generates a random UID.
  • diff --git a/en-US/dita/RTC-NG/API/enum_localvideostreamreason.dita b/en-US/dita/RTC-NG/API/enum_localvideostreamreason.dita index 7cc4125e5a2..949af1d456f 100644 --- a/en-US/dita/RTC-NG/API/enum_localvideostreamreason.dita +++ b/en-US/dita/RTC-NG/API/enum_localvideostreamreason.dita @@ -52,7 +52,7 @@ - 9: (macOS only) The video capture device currently in use is disconnected (such as being unplugged). + 9: (macOS and Windows only) The video capture device currently in use is disconnected (such as being unplugged). 9: Reserved. @@ -96,7 +96,7 @@ - 21:(仅适用于 Windows 和 Android)当前采集的窗口无数据。 + 21: (Windows and Android only) The currently captured window has no data. From 5704d0b95282bab8447651e7881aaff6e3946c7c Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 12 Nov 2024 14:46:03 +0800 Subject: [PATCH 23/35] New translations --- .../RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita | 4 ++-- en-US/dita/RTC-NG/API/enum_videoapplicationscenariotype.dita | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita b/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita index fab4fbccc41..a2a87b3227f 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_createcustomaudiotrack.dita @@ -52,7 +52,7 @@ trackType - The type of the custom audio track. See .If is specified for this parameter, you must set publishMicrophoneTrack to in when calling to join the channel; otherwise, joining the channel fails and returns the error code -2. + The type of the custom audio track. See .If is specified for this parameter, you must set publishMicrophoneTrack to in when calling to join the channel; otherwise, joining the channel fails and returns the error code -2. config diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita index 7856e66a823..8c444645051 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -72,8 +72,8 @@

    -

    (2) 适用于场景。 To meet the requirements for low latency and high-quality video in this scenario, the SDK optimizes its strategies, improving performance in terms of video quality, first frame rendering, latency on mid-to-low-end devices, and smoothness under weak network conditions.

    -

    (3) 适用于场景。 针对该场景对首帧出图时间和画质清晰度的高要求,SDK 进行了策略调优,重点提升了首帧出图体验和画质表现,同时增强了在弱网环境和低端设备上的画质和流畅度表现。

    +

    (2) This is applicable to the scenario. To meet the requirements for low latency and high-quality video in this scenario, the SDK optimizes its strategies, improving performance in terms of video quality, first frame rendering, latency on mid-to-low-end devices, and smoothness under weak network conditions.

    +

    (3) This is applicable to the scenario. In response to the high requirements for first-frame rendering time and image quality clarity in this scenario, the SDK has undergone strategy optimization, focusing on improving the first-frame rendering experience and image quality performance, while enhancing image quality and smoothness performance on weak network environments and low-end devices.

    diff --git a/en-US/dita/RTC-NG/API/enum_videoapplicationscenariotype.dita b/en-US/dita/RTC-NG/API/enum_videoapplicationscenariotype.dita index 8124e5a6c7f..3bb64f4d48a 100644 --- a/en-US/dita/RTC-NG/API/enum_videoapplicationscenariotype.dita +++ b/en-US/dita/RTC-NG/API/enum_videoapplicationscenariotype.dita @@ -36,7 +36,7 @@ -

    3: 秀场直播

    +

    3. Live show scenario.

    From e85e67203c7a0c46d89327bd60fc4975303fc2cb Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 12 Nov 2024 15:46:31 +0800 Subject: [PATCH 24/35] New translations --- .../dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita | 4 ++-- en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita | 2 +- .../RTC-NG/API/api_irtcengine_enableloopbackrecording.dita | 6 +++--- en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita | 2 +- .../RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita | 2 +- ...ack_irtcengineeventhandler_onlocalvideostatechanged.dita | 2 +- en-US/dita/RTC-NG/API/class_videoframe.dita | 6 +++--- en-US/dita/RTC-NG/API/enum_compressionpreference.dita | 4 ++-- en-US/dita/RTC-NG/API/enum_degradationpreference.dita | 6 +++--- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita index a9013c53505..2ed1f96bf0d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita @@ -34,8 +34,8 @@ speed - The playback speed. Agora recommends that you set this to a value between 50 and 400, defined as follows:

      -
    • 50: Half the original speed.
    • + The playback speed. Agora recommends that you set this to a value between 30 and 400, defined as follows:
        +
      • 30: 0.3 times the original speed.
      • 100: The original speed.
      • 400: 4 times the original speed.
      diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita index 7db26c03661..d19d21685fd 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -34,7 +34,7 @@
    • When the network is poor, the media resource to be played is switched to a media resource address with a lower bitrate.
    • When the network is good, the media resource to be played is switched to a media resource address with a higher bitrate.

    -

    调用该方法后,如果你收到 回调报告事件 ,则媒体资源切换成功。 如果资源切换失败,SDK 会自动重试 3 次。 如果仍然失败,你会收到 回调,报告 事件,表示媒体资源切换时发生错误。

    +

    After calling this method, if you receive the callback report the event, the media resource switch is successful. If the switching fails, the SDK will automatically retry 3 times. If it still fails, you will receive the callback reporting the event indicating an error occurred during media resource switching.

    If you want to customize CDN routes for playing the media resource, call the method to switch media resources. Agora changes the CDN route through the self-developed scheduling center to improve the viewing user experience. If you do not need to customize CDN routes for playing the media resource, call the method to switch media resources.

      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita b/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita index 74ed966506c..bddbe7e065c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_enableloopbackrecording.dita @@ -38,7 +38,7 @@
      • This method applies to the macOS and Windows only.
      • -
      • macOS 系统默认声卡不支持采集功能。 自 v4.5.0 起,SDK 支持自动安装虚拟声卡功能,当你第一次调用该方法时,SDK 会自动安装内置的声网自研虚拟声卡 AgoraALD。 安装成功后,音频路由会自动切换为虚拟声卡,同时使用虚拟声卡进行采集。
      • +
      • The macOS system's default sound card does not support recording functionality. As of v4.5.0, when you call this method for the first time, the SDK will automatically install the built-in AgoraALD virtual sound card developed by Agora. After successful installation, the audio routing will automatically switch to the virtual sound card and use it for audio capturing.
      • You can call this method either before or after joining a channel.
      • If you call the method to disable the audio module, audio capturing will be disabled as well. If you need to enable audio capturing, call the method to enable the audio module and then call the method.
    @@ -48,8 +48,8 @@ enabled Sets whether to enable loopback audio capturing.
      -
    • : 开启声卡采集;系统声音 > 输出界面显示虚拟声卡名称。
    • -
    • :(默认)关闭声卡采集;系统声音 > 输出界面不显示虚拟声卡名称。
    • +
    • : Enable sound card capturing. You can find the name of the virtual sound card in your system'sAudio Devices > Output.
    • +
    • : Disable sound card capturing. The name of the virtual sound card will not be shown in your system's Audio Devices > Output.
    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita index 8c444645051..50c8e7b6289 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita @@ -73,7 +73,7 @@

    (2) This is applicable to the scenario. To meet the requirements for low latency and high-quality video in this scenario, the SDK optimizes its strategies, improving performance in terms of video quality, first frame rendering, latency on mid-to-low-end devices, and smoothness under weak network conditions.

    -

    (3) This is applicable to the scenario. In response to the high requirements for first-frame rendering time and image quality clarity in this scenario, the SDK has undergone strategy optimization, focusing on improving the first-frame rendering experience and image quality performance, while enhancing image quality and smoothness performance on weak network environments and low-end devices.

    +

    (3) This is applicable to the scenario. In response to the high demands for first-frame rendering time and image quality, the SDK focuses on reducing first-frame rendering time and enhancing overall image quality, even in poor network conditions or on low-end devices.

    diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita index c23df87a972..2a7b5b1865a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalvideotranscoder.dita @@ -28,7 +28,7 @@
    Details -

    After calling , call this method if you want to stop the local video mixing.

    +

    After calling , call this method if you want to stop the local video mixing.

    <ph keyref="return-section-title"/> diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita index 2e2b682a4bb..b39f6988cfd 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideostatechanged.dita @@ -102,7 +102,7 @@
  • The device is locked, or the current app has been switched to the background. You can use foreground services to notify the operating system and ensure that the app can still collect video when it switches to the background. See .
  • (15): The video capture device encounters an error. Prompt the user to close and restart the camera to restore functionality. If this operation does not solve the problem, check if the camera has a hardware failure.
  • -
  • (21):当前采集的窗口无数据。
  • +
  • (21): The current window being captured has no data.
  • diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index 62fc811a453..ff20008b498 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -747,11 +747,11 @@ class VideoFrame { getColorSpace - 获取视频帧的色彩空间属性。 + Get the color space properties of the video frame. setColorSpace - 设置视频帧的色彩空间属性。 + Get the color space properties of the video frame.
    @@ -878,7 +878,7 @@ class VideoFrame { colorSpace - 视频帧的色彩空间属性,默认情况下会应用 Full Range 和 BT.709 标准配置。 你可以根据自定义采集、自定义渲染的业务需求进行自定义设置,详见 + By default, the color space properties of video frames will apply the Full Range and BT.709 standard configurations. You can configure the settings according your needs for custom video capturing and rendering. See . sourceType diff --git a/en-US/dita/RTC-NG/API/enum_compressionpreference.dita b/en-US/dita/RTC-NG/API/enum_compressionpreference.dita index 3ee70c9aebd..0e089c5f776 100644 --- a/en-US/dita/RTC-NG/API/enum_compressionpreference.dita +++ b/en-US/dita/RTC-NG/API/enum_compressionpreference.dita @@ -17,7 +17,7 @@ - 0: (Default) Automatic mode. SDK 会根据你设置的视频场景,自动选择 ,以获得最佳的用户体验。 + -1: (Default) Automatic mode. The SDK will automatically select or based on the video scenario you set to achieve the best user experience. @@ -25,7 +25,7 @@ - 1:高质量偏好。 The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized. + 1: High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.
    diff --git a/en-US/dita/RTC-NG/API/enum_degradationpreference.dita b/en-US/dita/RTC-NG/API/enum_degradationpreference.dita index ae68f6d5475..ef2bdfe08bd 100644 --- a/en-US/dita/RTC-NG/API/enum_degradationpreference.dita +++ b/en-US/dita/RTC-NG/API/enum_degradationpreference.dita @@ -9,14 +9,14 @@ - 0: (Default) Automatically. SDK 会根据你设置的视频场景,自动选择 ,以获得最优的综合质量体验 (QoE)。 + 0: (Default) Automatic mode. The SDK will automatically select , or based on the video scenario you set, in order to achieve the best overall quality of experience (QoE). - 0: (Default) Prefers to reduce the video frame rate while maintaining video resolution during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where video quality is prioritized.
    + 0: Prefers to reduce the video frame rate while maintaining video resolution during video encoding under limited bandwidth. This degradation preference is suitable for scenarios where video quality is prioritized.
    Deprecated:
    -
    This enumerator is deprecated. 请改用其他枚举。
    +
    This enumerator is deprecated. Use other enumerations instead.
    From 9d146f9365dffaa22df7f1fc9bd66e3eb00f6825 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:47:08 +0800 Subject: [PATCH 25/35] New translations --- .../dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita | 4 ++-- en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita index 6f1e4758718..8049a0cf28a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita @@ -2,7 +2,7 @@ <ph keyref="startLocalAudioMixer"/> - 开启本地音频合流。 + Starts local audio mixing. @@ -30,7 +30,7 @@
    v4.5.0
    -

    该方法支持在本地将多路音频流合并为一路音频流。 例如:将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,然后将合流后的音频流发布到频道中。

      +

      This method supports merging multiple audio streams into one audio stream locally. 例如:将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,然后将合流后的音频流发布到频道中。

      • 如果你要对本地采集的音频流进行合流,可以将 中的 publishMixedAudioTrack 设置为 ,则可将合流后的音频流发布到频道中。
      • 如果你要对远端音频流进行合流,需确保远端音频流已在频道内发布并且已被订阅。

      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita index 01f1bc1c1ad..f89240256ab 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_stoplocalaudiomixer.dita @@ -2,7 +2,7 @@ <ph keyref="stopLocalAudioMixer"/> - 停止本地音频合流。 + Stops the local audio mixing. @@ -30,7 +30,7 @@
      v4.5.0
      -

      After calling , call this method if you want to stop the local video mixing.

      +

      After calling , call this method if you want to stop the local audio mixing.

      Call timing From 03778bb4f5b1fbfd6c281903a0696c62d974ec1a Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Tue, 12 Nov 2024 18:47:36 +0800 Subject: [PATCH 26/35] New translations --- .../API/api_imediaplayer_preloadsrc.dita | 2 +- ...api_irtcengine_setvideodenoiseroptions.dita | 10 +++++----- .../api_irtcengine_startlocalaudiomixer.dita | 18 +++++++++--------- en-US/dita/RTC-NG/API/api_player_player.dita | 4 ++-- .../RTC-NG/API/api_player_preloadwithurl.dita | 16 ++++++++-------- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita index bb29cbeacda..2881bef36c9 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita @@ -34,7 +34,7 @@

      After calling this method, if you receive the event in the callback, the preload is successful; If you receive the event in the callback, the preload fails.

      If the preload is successful and you want to play the media resource, call ; if you want to clear the playlist, call .

      -
      • 调用该方法前,请确保你已经调用 成功打开媒体资源。
      • +
        • Before calling this method, ensure that you have called or to open the media resource successfully.
        • Agora does not support preloading duplicate media resources to the playlist. However, you can preload the media resources that are being played to the playlist again.
      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 654e951ebf0..58612ce4564 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -40,12 +40,12 @@

      You can call this method to enable the video noise reduction feature and set the options of the video noise reduction effect.

      - 如果该方法实现的降噪强度无法满足你的需求,声网推荐你调用 方法启用美颜磨皮功能,以获得更好的视频降噪效果。 强效降噪效果的 推荐设置如下:
        + If the noise reduction implemented by this method does not meet your needs, Agora recommends that you call the method to enable the beauty and skin smoothing function to achieve better video noise reduction effects. The recommended settings for intense noise reduction effect are as follows:
        • lighteningContrastLevel
        • -
        • lighteningLevel:0.0
        • -
        • smoothnessLevel(0),
        • -
        • rednessLevel(0),
        • -
        • sharpnessLevel:0.1
        • +
        • lighteningLevel: 0.0
        • +
        • smoothnessLevel: 0.5
        • +
        • rednessLevel: 0.0
        • +
        • sharpnessLevel: 0.1
      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita index 8049a0cf28a..88e923f3441 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita @@ -30,17 +30,17 @@
      v4.5.0
      -

      This method supports merging multiple audio streams into one audio stream locally. 例如:将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,然后将合流后的音频流发布到频道中。

        -
      • 如果你要对本地采集的音频流进行合流,可以将 中的 publishMixedAudioTrack 设置为 ,则可将合流后的音频流发布到频道中。
      • -
      • 如果你要对远端音频流进行合流,需确保远端音频流已在频道内发布并且已被订阅。
      • +

        This method supports merging multiple audio streams into one audio stream locally. For example, merging the audio streams captured from the local microphone, and that from the media player, the sound card, and the remote users into one audio stream, and then publish the merged audio stream to the channel.

          +
        • If you want to mix the locally captured audio streams, you can set publishMixedAudioTrack in to , and then publish the mixed audio stream to the channel.
        • +
        • If you want to mix the remote audio stream, ensure that the remote audio stream has been published in the channel and you have subcribed to the audio stream that you need to mix.

      Applicable scenarios -

      你可以在如下场景中开启该功能:

        -
      • 结合本地合图功能一起使用,可将合图视频流相关的音频流同步采集和发布。
      • -
      • 在直播场景下,用户接收频道内的音频流,在本地进行多路音频流合流后转发到其他频道。
      • -
      • 在教育场景下,老师可将跟学生连麦互动的音频在本地进行合流,然后将合并的音频流转发到其他频道。
      • +

        You can enable this function in the following scenarios:

          +
        • By utilizing the local image stitching feature, the associated audio streams of the mixed video streams can be simultaneously captured and published.
        • +
        • In live streaming scenarios, users can receive audio streams within the channel, mix multiple audio streams locally, and then forward the mixed audio stream to other channels.
        • +
        • In online classes, teachers can mix the audio from interactions with students locally and then forward the mixed audio stream to other channels.

      @@ -49,14 +49,14 @@
      Restrictions -

      为了保证音频质量,建议参与本地合流的音频流数量不超过 10 个。

      +

      To ensure audio quality, it is recommended that the number of audio streams to be mixed does not exceed 10.

      Parameters config - 本地音频合流的配置。 See . + The configurations for mixing the lcoal audio. See .
      diff --git a/en-US/dita/RTC-NG/API/api_player_player.dita b/en-US/dita/RTC-NG/API/api_player_player.dita index ef72841f74f..a43cad22bdf 100644 --- a/en-US/dita/RTC-NG/API/api_player_player.dita +++ b/en-US/dita/RTC-NG/API/api_player_player.dita @@ -2,7 +2,7 @@ <ph keyref="Player_Player"/> - 构造一个播放器对象。 + Create a player object. @@ -51,7 +51,7 @@ config initialConfigç - 播放器对象初始化设置,可传空指针。 + Player object initialization settings. Currently you can set it as null.
      diff --git a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita index 7e159781681..ff614c8dd6b 100644 --- a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita +++ b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita @@ -2,7 +2,7 @@ <ph keyref="PreloadWithUrl"/> - 预加载 URL 资源。 + Preloads a URL resources. @@ -31,11 +31,11 @@
      v4.5.0
      -

      成功预加载后,可以加快通过 打开 URL 资源的速度。 当需要使用这些资源时,可以更加快速地访问,缩短等待的过程。

      +

      After successful preloading, the speed of accessing URL resources can be accelerated when calling . When you need to use these resources, you can access them more quickly and shorten the waiting process.

      Applicable scenarios -

      在打开媒体资源之前,提前加载可以减少用户等待时间,提供更流畅的视听体验。

      +

      Before opening media resources, preloading can reduce the time for waiting and provide a smoother user experience.

      Call timing @@ -43,14 +43,14 @@
      Restrictions -

      该方法目前仅对带 rte:// 前缀的 URL 生效,最多可以预加载 20 个 URL。 如果超出限制,新预加载的 URL 将会替换最早的 URL。

      +

      This method currently only takes effect on URLs with the prefix rte://. A maximum of 20 URLs can be preloaded. If exceeded, the newly preloaded URL will replace the oldest one.

      Parameters url - rte:// 前缀的 URL。

      各字段的详细说明详见

      + URLs with the rte:// prefix.

      See for detailed explanations of each field.

      @@ -60,9 +60,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 preloading is successful:

          +
        • : Preloading succeeds.
        • +
        • : Preloading fails.

      From f61746db33462996aad3d32bb6fa089f8f00afa0 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:07:35 +0800 Subject: [PATCH 27/35] New translations --- ...api_irtcengine_setlowlightenhanceoptions.dita | 6 +++--- .../RTC-NG/API/api_irtcengine_takesnapshot2.dita | 4 ++-- ...ngine_updatelocalaudiomixerconfiguration.dita | 4 ++-- .../API/api_irtcengineex_takesnapshotex2.dita | 2 +- en-US/dita/RTC-NG/API/api_player_getconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_player_getinfo.dita | 10 +++++----- en-US/dita/RTC-NG/API/api_player_getstats.dita | 12 ++++++------ en-US/dita/RTC-NG/API/api_player_muteaudio.dita | 16 ++++++++-------- en-US/dita/RTC-NG/API/api_player_mutevideo.dita | 14 +++++++------- .../dita/RTC-NG/API/api_player_openwithurl.dita | 14 +++++++------- en-US/dita/RTC-NG/API/api_player_pause.dita | 10 +++++----- en-US/dita/RTC-NG/API/api_player_play.dita | 16 ++++++++-------- .../RTC-NG/API/api_player_registerobserver.dita | 10 +++++----- .../RTC-NG/API/api_rte_registerobserver.dita | 4 ++-- 14 files changed, 62 insertions(+), 62 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index f5809832760..0810b5170ac 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -54,9 +54,9 @@
      • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
      • Dark light enhancement has certain requirements for equipment performance. The low-light enhancement feature has certain performance requirements on devices. If your device overheats after you enable low-light enhancement, Agora recommends modifying the low-light enhancement options to a less performance-consuming level or disabling low-light enhancement entirely.
      • -
      • 如果要实现优先画质 () 的暗光增强,需要先调用 实现视频降噪,具体对应关系如下:
          -
        • 暗光增强为自动模式 () 时,视频降噪需设置为优先画质 ()、自动模式 ()。
        • -
        • 暗光增强为手动模式 () 时,视频降噪需设置为优先画质 ()、手动模式 ()。
        • +
        • If you want to prioritize image quality() when using the low-light enhancement function, you need to first call to achieve video noise reduction, the specific corresponding relationship is as follows:
            +
          • When low light enhancement is set to automatic mode (), video noise reduction needs to be set to prioritize image quality () and automatic mode ().
          • +
          • When low-light enhancement is set to manual mode (), video noise reduction needs to be set to prioritize image quality () and manual mode ().
        diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita index 4a82c5e8d32..591b43f3535 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita @@ -2,7 +2,7 @@ <ph keyref="takeSnapshot2" /> - 在指定观测位置进行视频截图。 + Take a screenshot of the video at the specified observation point. @@ -52,7 +52,7 @@ config - The configuration of the snaptshot, see . + The configuration of the snaptshot. See .
      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita index 1adcdfdc70f..cd7723a9364 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita @@ -2,7 +2,7 @@ <ph keyref="updateLocalAudioMixerConfiguration"/> - 更新本地音频合流的配置。 + Updates the configurations for mixingl audio streams locally. @@ -30,7 +30,7 @@
      v4.5.0
      -

      After calling , call this method if you want to update the local video mixing configuration.

      +

      After calling , call this method if you want to update the local audio mixing configuration.

      Call timing diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita index 5c36843a307..aca8e7056ec 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita @@ -2,7 +2,7 @@ <ph keyref="takeSnapshotEx2"/> - 使用连接 ID 获取指定观测位置的视频截图。 + Get a video screenshot of the specified observation point using the connection ID. diff --git a/en-US/dita/RTC-NG/API/api_player_getconfigs.dita b/en-US/dita/RTC-NG/API/api_player_getconfigs.dita index 56a82660c95..b149a735684 100644 --- a/en-US/dita/RTC-NG/API/api_player_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_player_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Player"/> - 获取当前的播放器设置。 + Get the current player settings. diff --git a/en-US/dita/RTC-NG/API/api_player_getinfo.dita b/en-US/dita/RTC-NG/API/api_player_getinfo.dita index 1316e15fe2a..c325aad5341 100644 --- a/en-US/dita/RTC-NG/API/api_player_getinfo.dita +++ b/en-US/dita/RTC-NG/API/api_player_getinfo.dita @@ -2,7 +2,7 @@ <ph keyref="GetInfo"/> - 获取播放器播放及媒体流的相关信息。 + Gets the player state and the information about the media stream being played. @@ -30,7 +30,7 @@
      v4.5.0
      -

      你可以通过该方法获取播放器及媒体流的相关信息,例如音频采样率、视频帧的尺寸等信息。

      +

      You can obtain information about the player state and media stream through this method, such as audio sampling rate, video frame size.

      Call timing @@ -55,9 +55,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 obtaining the information is successful:

          +
        • : Obtaining information succeeds.
        • +
        • : Obtaining information fails.

      diff --git a/en-US/dita/RTC-NG/API/api_player_getstats.dita b/en-US/dita/RTC-NG/API/api_player_getstats.dita index c870fd942a5..b5d928bf57d 100644 --- a/en-US/dita/RTC-NG/API/api_player_getstats.dita +++ b/en-US/dita/RTC-NG/API/api_player_getstats.dita @@ -2,7 +2,7 @@ <ph keyref="GetStats"/> - 获取播放器当前播放的媒体资源的统计信息。 + Gets statistical information about the current media resource being played. @@ -30,7 +30,7 @@
      v4.5.0
      -

      该方法用于获取播放器的统计信息,包括解码、渲染帧率、音视频码率等,并通过回调函数异步返回结果。

      +

      This method is used to obtain statistical information about the player, including decoding, rendering frame rate, audio and video bitrate, etc., and asynchronously returns the results through a callback function.

      Call timing @@ -45,13 +45,13 @@ cb - 一个异步回调函数,用于通知获取播放器媒体资源统计信息的结果和错误信息。 该函数包含以下参数:
        -
      • stats: 播放器当前播放的媒体资源的统计数据,详见
      • -
      • err: 参数获取错误信息,详见
      + An asynchronous callback used to notify the result and possible error information of obtaining the statistics. The callback includes the following parameters:
        +
      • stats: The information of the media resource currently being played. See .
      • +
      • err: The detailed infromation about errors. See .
      callback - 回调接口,用于异步接收统计信息和可能的错误信息,详见 接口类下的 回调。 + An asynchronous callback used to notify the result and possible error information of obtaining the statistics. See the callback in the class.
      diff --git a/en-US/dita/RTC-NG/API/api_player_muteaudio.dita b/en-US/dita/RTC-NG/API/api_player_muteaudio.dita index 2c0d9b9ed70..ceade7a84a7 100644 --- a/en-US/dita/RTC-NG/API/api_player_muteaudio.dita +++ b/en-US/dita/RTC-NG/API/api_player_muteaudio.dita @@ -2,7 +2,7 @@ <ph keyref="MuteAudio"/> - 订阅或取消订阅主播的音频流。 + Subscribe or unsubscribe to an audio stream. @@ -30,7 +30,7 @@
      v4.5.0
      -

      观众端可以调用该方法来设置是否订阅主播的音频流。

      +

      Audience member can call this method to decide whether to subscribe to the host's audio stream.

      Call timing @@ -42,15 +42,15 @@
      Parameters mute - 是否订阅主播的音频流:
      • :不订阅主播的音频流。
      • -
      • :订阅主播的音频流。
      + Whether to subscribe to the audio stream of the host:
      • : Subscribe to the audio stream.
      • +
      • : Do not subscribe to the audio stream.
      @@ -60,9 +60,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 subscription or unsubscription is successful:

          +
        • : Succeeds.
        • +
        • : Fails.

      diff --git a/en-US/dita/RTC-NG/API/api_player_mutevideo.dita b/en-US/dita/RTC-NG/API/api_player_mutevideo.dita index 50b7283d50a..d2b1bab2ab3 100644 --- a/en-US/dita/RTC-NG/API/api_player_mutevideo.dita +++ b/en-US/dita/RTC-NG/API/api_player_mutevideo.dita @@ -2,7 +2,7 @@ <ph keyref="MuteVideo"/> - 订阅或取消订阅主播的视频流。 + Subscribe or unsubscribe to a video stream. @@ -30,7 +30,7 @@
      v4.5.0
      -

      观众端可以调用该方法来设置是否订阅主播的视频流。

      +

      Audience member can call this method to decide whether to subscribe to the host's video stream.

      Call timing @@ -49,8 +49,8 @@ mute - 是否订阅主播的视频流:
      • :不订阅主播的视频流。
      • -
      • :订阅主播的视频流。
      + Whether to subscribe to the video stream of the host:
      • : Subscribe to the video stream.
      • +
      • : Do not subscribe to the video stream.
      @@ -60,9 +60,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 subscription or unsubscription is successful:

          +
        • : Succeeds.
        • +
        • : Fails.

      diff --git a/en-US/dita/RTC-NG/API/api_player_openwithurl.dita b/en-US/dita/RTC-NG/API/api_player_openwithurl.dita index c3e008243e8..ca6df356d5c 100644 --- a/en-US/dita/RTC-NG/API/api_player_openwithurl.dita +++ b/en-US/dita/RTC-NG/API/api_player_openwithurl.dita @@ -2,7 +2,7 @@ <ph keyref="OpenWithUrl"/> - 打开 URL 资源。 + Opens a URL. @@ -30,8 +30,8 @@
      v4.5.0
      -

      该方法支持通过 URL 打开实时流媒体。 如果你想要加快打开 URL 资源的速度,可以在调用该方法前,调用 预加载资源。

      -

      如果资源打开失败,你会收到 的回调报告状态为 。 此时你需要先调用 然后再调用 重新打开 URL 资源。 如果你设置关闭了自动播放,打开资源后可以调用 进行播放。

      +

      This method can open a live stream via URL. If you want to speed up the process of opening a URL, you can call the method to preload the URL before calling the method.

      +

      If you fail to open the URL, you will receive the callback reporting the state as . At this time, you need to call first, then call to reopen the URL. If you have disabled autoplay, you can call to play after opening the URL.

      Call timing @@ -39,11 +39,11 @@
      Restrictions -

      该方法目前仅支持打开以 rte:// 开头的 URL。

      +

      This method currently only supports playing URLs with the rte:// prefix.

      Parameters @@ -59,11 +59,11 @@ cb - 一个异步回调函数,用于通知打开 URL 资源的结果。 如果打开过程中出错,你可以通过该回调中的 err 参数得知具体错误信息。 See . + An asynchronous callback, used to notify the result of opening a URL. If an error occurs during the opening, you can get specific error information through the err parameter in this callback. See . callback - 一个异步回调函数,用于通知打开 URL 资源的结果。 如果打开过程中出错,你可以通过 下的 回调得知具体错误信息。 + An asynchronous callback, used to notify the result of opening a URL. If an error occurs during the opening, you can get specific error information through the callback in the .
      diff --git a/en-US/dita/RTC-NG/API/api_player_pause.dita b/en-US/dita/RTC-NG/API/api_player_pause.dita index 0fcefcf9b28..91bb2992478 100644 --- a/en-US/dita/RTC-NG/API/api_player_pause.dita +++ b/en-US/dita/RTC-NG/API/api_player_pause.dita @@ -30,7 +30,7 @@
      v4.5.0
      -

      当你调用 播放 URL 资源后,如果你想暂停播放,可以调用此方法。 If you need to stop the playback, call .

      +

      When you call to play a URL, if you want to pause the playback, you can call this method. If you need to stop the playback, call .

      Call timing @@ -42,7 +42,7 @@
      <ph props="cpp apple">Parameters</ph> @@ -55,9 +55,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 playback has been successfully paused:

          +
        • : The playback is paused.
        • +
        • : Pausing the playback fails.

      diff --git a/en-US/dita/RTC-NG/API/api_player_play.dita b/en-US/dita/RTC-NG/API/api_player_play.dita index b0a1a998031..a3db64a07e6 100644 --- a/en-US/dita/RTC-NG/API/api_player_play.dita +++ b/en-US/dita/RTC-NG/API/api_player_play.dita @@ -2,7 +2,7 @@ <ph keyref="Play_Player"/> - 播放 URL 资源。 + Plays an URL. @@ -30,19 +30,19 @@
      v4.5.0
      -

      如果你关闭了自动播放,当你调用 成功打开实时流媒体,你可以调用此方法进行播放。

      +

      If you have disabled the autoplay, when you successfully open a live stream through a URL by calling , you can call this method to play.

      Call timing -

      Call this method after you call and receive the callback reporting the state .

      +

      Call this method after you receive the callback reporting the state.

      Restrictions -

      该方法目前仅支持播放带 rte:// 前缀的 URL。

      +

      This method currently only supports playing URLs with the rte:// prefix.

      <ph props="cpp apple framework">Parameters</ph> @@ -55,9 +55,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 playing is successful:

          +
        • : The playing succeeds.
        • +
        • : The playing fails.

      diff --git a/en-US/dita/RTC-NG/API/api_player_registerobserver.dita b/en-US/dita/RTC-NG/API/api_player_registerobserver.dita index 756297204d1..cc3b02860aa 100644 --- a/en-US/dita/RTC-NG/API/api_player_registerobserver.dita +++ b/en-US/dita/RTC-NG/API/api_player_registerobserver.dita @@ -2,7 +2,7 @@ <ph keyref="RegisterObserver_Player"/> - 注册播放器观测器的对象。 + Register the observer of the player. @@ -30,7 +30,7 @@
      v4.5.0
      -

      调用该方法前,你需要实现一个继承自 的接口类。

      +

      Before calling this method, you need to implement a class that inherits from .

      Call timing @@ -54,9 +54,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 registration is successful:

          +
        • : Registration succeeds.
        • +
        • : Registration fails.

      diff --git a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita index 751dd297b33..88c5e4a747f 100644 --- a/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita +++ b/en-US/dita/RTC-NG/API/api_rte_registerobserver.dita @@ -63,8 +63,8 @@ <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.

      观测器对象是否注册成功:

        -
      • :注册成功。
      • -
      • :注册失败。
      • +
      • : Registration succeeds.
      • +
      • : Registration fails.

      From 30c6a6f735a94a3ce1fec000ec05991f3e3dae0f Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:28:01 +0800 Subject: [PATCH 28/35] New translations From 4e6529619fbe56aaabba7f63e99553fd2d39c040 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:49:30 +0800 Subject: [PATCH 29/35] New translations From e06accc8c57d712be66aab063a3873cc63c413d2 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:51:10 +0800 Subject: [PATCH 30/35] New translations From b881e60b56499a348a5bcd7b31f4335cbc69da22 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:42:51 +0800 Subject: [PATCH 31/35] New translations --- en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_canvas_removeview.dita | 2 +- en-US/dita/RTC-NG/API/api_canvas_setconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita | 2 +- en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita | 2 +- en-US/dita/RTC-NG/API/api_config_getappid.dita | 2 +- en-US/dita/RTC-NG/API/api_config_getjsonparameter.dita | 2 +- en-US/dita/RTC-NG/API/api_error_code.dita | 2 +- en-US/dita/RTC-NG/API/api_player_openwithurl.dita | 2 +- en-US/dita/RTC-NG/API/api_player_play.dita | 4 ++-- en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita | 2 +- en-US/dita/RTC-NG/API/api_player_registerobserver.dita | 2 +- en-US/dita/RTC-NG/API/class_canvas.dita | 2 +- en-US/dita/RTC-NG/API/class_config.dita | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita index 5ab1a76da96..54a063a333d 100644 --- a/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_canvas_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Canvas"/> - Get the current video rendering configuration of the player. + Gets the current video rendering configuration of the player. 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 787b0572231..8cd510b528c 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. + Removes a view. 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 69dafc3b3b5..6df7ff05764 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. + Sets the video rendering configuration of the player. diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita index 009aad171a3..56180b9fa1f 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_getmirrormode.dita @@ -2,7 +2,7 @@ <ph keyref="GetMirrorMode"/> - Get the current image mode setting. + Gets the current image mode setting. 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 42de1e37ef7..888df83be38 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. + Gets the current video rendering mode setting. 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 6762879265b..a664a57a983 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"/> - Get the App ID you set. + Gets the App ID you set. 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 f47054417f1..5798c99d00c 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"/> - Get the SDK JSON configuration that has been set. + Gets the SDK JSON configuration that has been set. 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 6e73be2f053..146e23b957d 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. + Gets the error code. diff --git a/en-US/dita/RTC-NG/API/api_player_openwithurl.dita b/en-US/dita/RTC-NG/API/api_player_openwithurl.dita index ca6df356d5c..d6f6110c517 100644 --- a/en-US/dita/RTC-NG/API/api_player_openwithurl.dita +++ b/en-US/dita/RTC-NG/API/api_player_openwithurl.dita @@ -43,7 +43,7 @@
      Parameters diff --git a/en-US/dita/RTC-NG/API/api_player_play.dita b/en-US/dita/RTC-NG/API/api_player_play.dita index a3db64a07e6..bbdcee7cfb6 100644 --- a/en-US/dita/RTC-NG/API/api_player_play.dita +++ b/en-US/dita/RTC-NG/API/api_player_play.dita @@ -2,7 +2,7 @@ <ph keyref="Play_Player"/> - Plays an URL. + Plays a URL. @@ -30,7 +30,7 @@
      v4.5.0
      -

      If you have disabled the autoplay, when you successfully open a live stream through a URL by calling , you can call this method to play.

      +

      If you have disabled autoplay, when you successfully open a live stream through a URL by calling , you can call this method to play the stream.

      Call timing diff --git a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita index ff614c8dd6b..864ea9c733f 100644 --- a/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita +++ b/en-US/dita/RTC-NG/API/api_player_preloadwithurl.dita @@ -2,7 +2,7 @@ <ph keyref="PreloadWithUrl"/> - Preloads a URL resources. + Preloads a URL resource. diff --git a/en-US/dita/RTC-NG/API/api_player_registerobserver.dita b/en-US/dita/RTC-NG/API/api_player_registerobserver.dita index cc3b02860aa..2e3946e11f3 100644 --- a/en-US/dita/RTC-NG/API/api_player_registerobserver.dita +++ b/en-US/dita/RTC-NG/API/api_player_registerobserver.dita @@ -2,7 +2,7 @@ <ph keyref="RegisterObserver_Player"/> - Register the observer of the player. + Registers the observer of the player. diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index 1cc2a4c6882..a25135d7e9a 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -58,7 +58,7 @@ - Get the current video rendering mode setting. See . + Gets the current video rendering mode setting. See . diff --git a/en-US/dita/RTC-NG/API/class_config.dita b/en-US/dita/RTC-NG/API/class_config.dita index 0d065e2ddd3..df9ce9ce239 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 @@ - Get the App ID you set. See . + Gets the App ID you set. See . From 1469076eb10438fa9d8b54f53073893279f1bae1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:15:33 +0800 Subject: [PATCH 32/35] New translations --- .../RTC-NG/API/api_canvasconfig_getrendermode.dita | 2 +- .../RTC-NG/API/api_canvasconfig_setrendermode.dita | 2 +- .../dita/RTC-NG/API/api_imediaplayer_switchsrc.dita | 2 +- .../api_irtcengine_iscameraexposuresupported.dita | 2 +- .../API/api_irtcengine_iscamerazoomsupported.dita | 2 +- .../api_irtcengine_setexternalmediaprojection.dita | 4 ++-- .../api_irtcengine_setexternalremoteeglcontext.dita | 2 +- .../API/api_irtcengine_setfiltereffectoptions.dita | 2 +- .../API/api_irtcengine_setlocalrendertargetfps.dita | 4 ++-- .../api_irtcengine_setlowlightenhanceoptions.dita | 2 +- .../API/api_irtcengine_setvideodenoiseroptions.dita | 2 +- .../API/api_irtcengine_startlocalaudiomixer.dita | 2 +- .../dita/RTC-NG/API/api_irtcengine_takesnapshot.dita | 2 +- .../RTC-NG/API/api_irtcengine_takesnapshot2.dita | 2 +- ...rtcengine_updatelocalaudiomixerconfiguration.dita | 2 +- .../RTC-NG/API/api_irtcengineex_takesnapshotex2.dita | 2 +- en-US/dita/RTC-NG/API/api_player_getconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_player_getinfo.dita | 2 +- en-US/dita/RTC-NG/API/api_player_muteaudio.dita | 4 ++-- en-US/dita/RTC-NG/API/api_player_mutevideo.dita | 2 +- en-US/dita/RTC-NG/API/api_player_setconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_player_stop.dita | 4 ++-- .../RTC-NG/API/api_playerconfig_setautoplay.dita | 2 +- en-US/dita/RTC-NG/API/api_rte_getconfigs.dita | 2 +- en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita | 12 ++++++------ en-US/dita/RTC-NG/API/api_rte_rte.dita | 2 +- en-US/dita/RTC-NG/API/api_rte_setconfigs.dita | 2 +- .../callback_playergetstatscallback_onresult.dita | 6 +++--- .../callback_playerobserver_onplayerinfoupdated.dita | 2 +- .../API/callback_playerobserver_onstatechanged.dita | 6 +++--- 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_error.dita | 4 ++-- en-US/dita/RTC-NG/API/class_filtereffectoptions.dita | 2 +- en-US/dita/RTC-NG/API/class_rteplayerinfo.dita | 2 +- 35 files changed, 50 insertions(+), 50 deletions(-) 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 888df83be38..38ef90e82e6 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"/> - Gets the current video rendering mode setting. + Gets the current video render mode. diff --git a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita index 5798eb3275b..b703ea1e993 100644 --- a/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita +++ b/en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita @@ -2,7 +2,7 @@ <ph keyref="SetRenderMode_CanvasConfig"/> - Sets the rendering mode of the video. + Sets the vide render mode. diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita index d19d21685fd..e7ba3742ca4 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita @@ -34,7 +34,7 @@
    • When the network is poor, the media resource to be played is switched to a media resource address with a lower bitrate.
    • When the network is good, the media resource to be played is switched to a media resource address with a higher bitrate.

    -

    After calling this method, if you receive the callback report the event, the media resource switch is successful. If the switching fails, the SDK will automatically retry 3 times. If it still fails, you will receive the callback reporting the event indicating an error occurred during media resource switching.

    +

    After calling this method, if you receive the callback report the event, the switching is successful. If the switching fails, the SDK will automatically retry 3 times. If it still fails, you will receive the callback reporting the event indicating an error occurred during media resource switching.

    If you want to customize CDN routes for playing the media resource, call the method to switch media resources. Agora changes the CDN route through the self-developed scheduling center to improve the viewing user experience. If you do not need to customize CDN routes for playing the media resource, call the method to switch media resources.

      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita index 2e728c9472a..9a3cc62e08d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscameraexposuresupported.dita @@ -36,7 +36,7 @@
      • This method is for Android and iOS only.
      • -
      • This method must be called after the SDK triggers the callback and returns the local video state as (1).
      • +
      • This method must be called after the SDK triggers the callback and returns the local video state as (1).
      • Before calling , Agora recoomends that you call this method to query whether the current camera supports adjusting the exposure value.
      • By calling this method, you adjust the exposure value of the currently active camera, that is, the camera specified when calling .
      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita index 87987e80e2c..e865c9a2ff0 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_iscamerazoomsupported.dita @@ -30,7 +30,7 @@
      Call timing -

      This method must be called after the SDK triggers the callback and returns the local video state as (1).

      +

      This method must be called after the SDK triggers the callback and returns the local video state as (1).

      Restrictions diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita index 1296c105a23..87dd8c5930c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalmediaprojection.dita @@ -2,7 +2,7 @@ <ph keyref="setExternalMediaProjection"/> - Configure MediaProjection outside of the SDK to capture screen video streams + Configures MediaProjection outside of the SDK to capture screen video streams. @@ -37,7 +37,7 @@
      Applicable scenarios

      If you are able to apply for MediaProjection, you can directly use your MediaProjection instead of the one applied for by the SDK. The following lists two applicable scenarios:

        -
      • On custom system devices, it can avoid system pop-ups (i.e. requiring user permission to capture the screen) and directly start capturing the screen video stream.
      • +
      • On custom system devices, it can avoid system pop-ups (such as requiring user permission to capture the screen) and directly start capturing the screen video stream.
      • In a screen sharing process that involves one or more sub-processes, it can help avoid errors that might occur when creating objects within these sub-processes, which could otherwise lead to failures in screen capturing.

      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita index f62a8770924..bb303f9c7d5 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setexternalremoteeglcontext.dita @@ -2,7 +2,7 @@ <ph keyref="setExternalRemoteEglContext"/> - Set the EGL context for rendering remote video streams. + Sets the EGL context for rendering remote video streams. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita index 964628c728f..d35c345c0c9 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.dita @@ -58,7 +58,7 @@ options - The filter effect opton: . + The filter effect options. See . type diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita index 3f975712b46..66ab8b73d50 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlocalrendertargetfps.dita @@ -2,7 +2,7 @@ <ph keyref="setLocalRenderTargetFps"/> - Sets the maximum frame rate for rendering local video . + Sets the maximum frame rate for rendering local video. @@ -53,7 +53,7 @@ targetFps:(int)targetFps; - targetFpsç + targetFps The capture frame rate (fps) of the local video. Sopported values are: 1, 7, 10, 15, 24, 30, 60.Set this parameter to a value lower than the actual video frame rate; otherwise, the settings do not take effect.
      diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita index 0810b5170ac..f9b8af2cb3f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlowlightenhanceoptions.dita @@ -54,7 +54,7 @@
      • This method relies on the image enhancement dynamic library . If the dynamic library is deleted, the function cannot be enabled normally.
      • Dark light enhancement has certain requirements for equipment performance. The low-light enhancement feature has certain performance requirements on devices. If your device overheats after you enable low-light enhancement, Agora recommends modifying the low-light enhancement options to a less performance-consuming level or disabling low-light enhancement entirely.
      • -
      • If you want to prioritize image quality() when using the low-light enhancement function, you need to first call to achieve video noise reduction, the specific corresponding relationship is as follows:
          +
        • If you want to prioritize image quality () when using the low-light enhancement function, you need to first call to achieve video noise reduction, the specific corresponding relationship is as follows:
          • When low light enhancement is set to automatic mode (), video noise reduction needs to be set to prioritize image quality () and automatic mode ().
          • When low-light enhancement is set to manual mode (), video noise reduction needs to be set to prioritize image quality () and manual mode ().
          diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita index 58612ce4564..99f8429e519 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setvideodenoiseroptions.dita @@ -50,7 +50,7 @@
          Applicable scenarios -

          Underlit environments and low-end video capture devices can cause video images to contain significant noise, which affects video quality. In real-time interactive scenarios, video noise also consumes bitstream resources and reduces encoding efficiency during encoding.

          +

          dark environments and low-end video capture devices can cause video images to contain significant noise, which affects video quality. In real-time interactive scenarios, video noise also consumes bitstream resources and reduces encoding efficiency during encoding.

          Call timing diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita index 88e923f3441..0b638ebbed8 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startlocalaudiomixer.dita @@ -38,7 +38,7 @@
          Applicable scenarios

          You can enable this function in the following scenarios:

            -
          • By utilizing the local image stitching feature, the associated audio streams of the mixed video streams can be simultaneously captured and published.
          • +
          • By utilizing the local video mixing feature, the associated audio streams of the mixed video streams can be simultaneously captured and published.
          • In live streaming scenarios, users can receive audio streams within the channel, mix multiple audio streams locally, and then forward the mixed audio stream to other channels.
          • In online classes, teachers can mix the audio from interactions with students locally and then forward the mixed audio stream to other channels.

          diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita index 6ab7a1f2d73..bb546860460 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita @@ -2,7 +2,7 @@ <ph keyref="takeSnapshot" /> - Screenshots capture. + Takes a snapshot of a video stream. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita index 591b43f3535..7d4a89fac3e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita @@ -2,7 +2,7 @@ <ph keyref="takeSnapshot2" /> - Take a screenshot of the video at the specified observation point. + Takes a screenshot of the video at the specified observation point. diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita index cd7723a9364..7439ff2525e 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatelocalaudiomixerconfiguration.dita @@ -2,7 +2,7 @@ <ph keyref="updateLocalAudioMixerConfiguration"/> - Updates the configurations for mixingl audio streams locally. + Updates the configurations for mixing audio streams locally. diff --git a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita index aca8e7056ec..08726914d29 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengineex_takesnapshotex2.dita @@ -2,7 +2,7 @@ <ph keyref="takeSnapshotEx2"/> - Get a video screenshot of the specified observation point using the connection ID. + Gets a video screenshot of the specified observation point using the connection ID. diff --git a/en-US/dita/RTC-NG/API/api_player_getconfigs.dita b/en-US/dita/RTC-NG/API/api_player_getconfigs.dita index b149a735684..d7bee11c8b1 100644 --- a/en-US/dita/RTC-NG/API/api_player_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_player_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Player"/> - Get the current player settings. + Gets the current player settings. diff --git a/en-US/dita/RTC-NG/API/api_player_getinfo.dita b/en-US/dita/RTC-NG/API/api_player_getinfo.dita index c325aad5341..f7cfe4d9d1d 100644 --- a/en-US/dita/RTC-NG/API/api_player_getinfo.dita +++ b/en-US/dita/RTC-NG/API/api_player_getinfo.dita @@ -45,7 +45,7 @@ info - The information of the player and the media stream: . + The information of the player and the media stream. See . diff --git a/en-US/dita/RTC-NG/API/api_player_muteaudio.dita b/en-US/dita/RTC-NG/API/api_player_muteaudio.dita index ceade7a84a7..3094e6c9bba 100644 --- a/en-US/dita/RTC-NG/API/api_player_muteaudio.dita +++ b/en-US/dita/RTC-NG/API/api_player_muteaudio.dita @@ -2,7 +2,7 @@ <ph keyref="MuteAudio"/> - Subscribe or unsubscribe to an audio stream. + Subscribes or unsubscribes to an audio stream. @@ -42,7 +42,7 @@
          Parameters diff --git a/en-US/dita/RTC-NG/API/api_player_mutevideo.dita b/en-US/dita/RTC-NG/API/api_player_mutevideo.dita index d2b1bab2ab3..6eea910eafa 100644 --- a/en-US/dita/RTC-NG/API/api_player_mutevideo.dita +++ b/en-US/dita/RTC-NG/API/api_player_mutevideo.dita @@ -2,7 +2,7 @@ <ph keyref="MuteVideo"/> - Subscribe or unsubscribe to a video stream. + Subscribes or unsubscribes to a video stream. diff --git a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita index ff2844e3fd1..61f8b9b4972 100644 --- a/en-US/dita/RTC-NG/API/api_player_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_player_setconfigs.dita @@ -30,7 +30,7 @@
          v4.5.0
          -

          You can call this method to configuer the player, such as enableing autoplay and subscribing to video streams of different resolutions and bitrate.

          +

          You can call this method to configuer the player, such as enabling autoplay and subscribing to video streams of a different resolution and bitrate.

          Call timing diff --git a/en-US/dita/RTC-NG/API/api_player_stop.dita b/en-US/dita/RTC-NG/API/api_player_stop.dita index 6dc56238b78..3536408bd68 100644 --- a/en-US/dita/RTC-NG/API/api_player_stop.dita +++ b/en-US/dita/RTC-NG/API/api_player_stop.dita @@ -30,8 +30,8 @@
          v4.5.0
          -

          After you successfully play the URL stream using , call this method if you want to stop playing it. If you need to stop the playback, call .

          -

          If you fail to open the URL stream using , call this method before calling to reopen the URL.

          +

          After you successfully play the URL stream using , call this method if you want to stop playing it. If you need to pause the playback, call .

          +

          If you fail to open the URL stream using , call this method first, and then call to reopen the URL.

          Call timing diff --git a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita index 709ad8dbc49..087ae0ea613 100644 --- a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita +++ b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita @@ -30,7 +30,7 @@
          v4.5.0
          -

          Before you call to open the media stream, you can call this method to set whether to enale autoplay. The default setting is to enable autoplay.

          +

          Before you call to open the media stream, you can call this method to set whether to enable autoplay. The default setting is to enable autoplay.

          Call timing diff --git a/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita b/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita index f1e7bda60cc..55f4f9ae57f 100644 --- a/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_rte_getconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="GetConfigs_Rte"/> - Gets the configuration information of the RTE object. + Gets the configuration of the RTE object. diff --git a/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita b/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita index c5f32c9b7e0..5ac69c7e956 100644 --- a/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita +++ b/en-US/dita/RTC-NG/API/api_rte_initmediaengine.dita @@ -30,11 +30,11 @@
          v4.5.0
          -

          This method is asynchronous, which means that the result of initialization is retured through a callback.

          +

          This method is asynchronous, which means that the result of initialization is returned through a callback.

          Call timing -

          Call this method after the intializing the RTE object and sets the App ID.

          +

          Call this method after the intializing the RTE object and setting the App ID.

          Restrictions @@ -45,16 +45,16 @@ cb - An asynchronous callback, which is used to return the initializtion result. You can get the initialization result or the error code using the err parameter of this callback. For details, see . + An asynchronous callback, which is used to return the initialization result. You can get the initialization result or the error code using the err parameter of this callback. For details, see . callback - An asynchronous callback, which is used to return the initializtion result. See . + An asynchronous callback, which is used to return the initialization result. See . err error - The error information during initializtion: . When initializing the RTE engine using , if errors that can be instantly detected occur, such as an invalid parameter or insufficient resource, the SDK synchronizes the error information in this parameter. + The error information during initialization: . When initializing the RTE engine using , if errors that can be instantly detected occur, such as an invalid parameter or insufficient resource, the SDK synchronizes the error information in this parameter.
          @@ -65,7 +65,7 @@
        • : Yes.
        • : No.
        - The return value indicates whether initialization is added in the asynchronous queue; it does not point to whether the initialization is successful or not.

        + The return value indicates whether initialization is added in the asynchronous queue; it does not indicate whether the initialization is successful or not.

        diff --git a/en-US/dita/RTC-NG/API/api_rte_rte.dita b/en-US/dita/RTC-NG/API/api_rte_rte.dita index 961f6f5e19b..5830588bac7 100644 --- a/en-US/dita/RTC-NG/API/api_rte_rte.dita +++ b/en-US/dita/RTC-NG/API/api_rte_rte.dita @@ -35,7 +35,7 @@
        Call timing -

        Call this method before .

        +

        Call this method before .

        Restrictions diff --git a/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita b/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita index ae989b831ea..65d841f1e40 100644 --- a/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita +++ b/en-US/dita/RTC-NG/API/api_rte_setconfigs.dita @@ -2,7 +2,7 @@ <ph keyref="SetConfigs_Rte"/> - Configures the information of the RTE object. + Configures the RTE object. diff --git a/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita b/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita index 9eb339c7fb3..3791a2e4bdd 100644 --- a/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita +++ b/en-US/dita/RTC-NG/API/callback_playergetstatscallback_onresult.dita @@ -2,7 +2,7 @@ <ph keyref="onResult_PlayerGetStatsCallback"/> - Reports the result of the asynchronous operation that retrieves the statistics of the media resources. + Occurs when the statistics of the media resources are received, which is an asynchronous operation. @@ -45,8 +45,8 @@ Parameters - playerStatsç - The statistics of the media file. See . + playerStats + The statistics of the media resources. See . error diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita index 9570f00c906..c7dbe017df2 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onplayerinfoupdated.dita @@ -46,7 +46,7 @@ info - The information of the player and the media stream: . + The information of the player and the media stream. See .
        diff --git a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita index f0d14db9c56..a5678a53ecc 100644 --- a/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_playerobserver_onstatechanged.dita @@ -2,7 +2,7 @@ <ph keyref="onStateChanged"/> - Occurs when the play state changes. + Occurs when the player state changes. @@ -47,12 +47,12 @@ old_state oldState - The previous playback state. See . + The previous player state. See . new_state newState - The current playback state. See . If the current state is , you can get the detailed error information from the errerror parameter. + The current player state. See . If the current state is , you can get the detailed error information from the errerror parameter. error diff --git a/en-US/dita/RTC-NG/API/class_canvas.dita b/en-US/dita/RTC-NG/API/class_canvas.dita index a25135d7e9a..5a0cb8635dd 100644 --- a/en-US/dita/RTC-NG/API/class_canvas.dita +++ b/en-US/dita/RTC-NG/API/class_canvas.dita @@ -54,11 +54,11 @@ - Sets the rendering mode of the video. See . + Sets the vide render mode. See . - Gets the current video rendering mode setting. See . + Gets the current video render mode. See . diff --git a/en-US/dita/RTC-NG/API/class_canvasconfig.dita b/en-US/dita/RTC-NG/API/class_canvasconfig.dita index 81d2813db4e..b332339825b 100644 --- a/en-US/dita/RTC-NG/API/class_canvasconfig.dita +++ b/en-US/dita/RTC-NG/API/class_canvasconfig.dita @@ -48,7 +48,7 @@ - Sets the rendering mode of the video. See . + Sets the vide render mode. See . diff --git a/en-US/dita/RTC-NG/API/class_error.dita b/en-US/dita/RTC-NG/API/class_error.dita index 5281d071607..d2f1b52f5c8 100644 --- a/en-US/dita/RTC-NG/API/class_error.dita +++ b/en-US/dita/RTC-NG/API/class_error.dita @@ -42,12 +42,12 @@ - Gets the error code returned in the method call: . + Gets the error code returned in the method call. See . Gets the error code returned in the method call. See . - Gets the detailed error information returned in the method call: . + Gets the detailed error information returned in the method call. See . Gets the detailed error information returned in the method call. diff --git a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita index 45630a9d444..743041da747 100644 --- a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita @@ -2,7 +2,7 @@ <ph keyref="FilterEffectOptions" /> - Filter effect options. + Facial enhancement area options.

        diff --git a/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita b/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita index 1d8051bdd57..80fbd21c860 100644 --- a/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita +++ b/en-US/dita/RTC-NG/API/class_rteplayerinfo.dita @@ -71,7 +71,7 @@ state - The current playback state. See . + The current player state. See . duration From afa87370e55b6e4a1186be9ec7d7252dd89bffa1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 15:48:52 +0800 Subject: [PATCH 33/35] New translations --- .../API/api_imediaengine_registeraudioframeobserver.dita | 2 +- .../API/api_imediaengine_registervideoframeobserver.dita | 2 +- .../RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita | 2 +- .../RTC-NG/API/api_irtcengine_getscreencapturesources.dita | 4 ++-- .../API/api_irtcengine_queryscreencapturecapability.dita | 2 +- .../API/api_irtcengine_registermediametadataobserver.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita | 2 +- en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita | 2 +- .../api_irtcengine_setremotesubscribefallbackoption.dita | 2 +- .../RTC-NG/API/api_irtcengine_setremoteuserpriority.dita | 2 +- .../API/api_irtcengine_startscreencapturebydisplayid.dita | 2 +- .../API/api_irtcengine_updatescreencaptureregion2.dita | 2 +- en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita | 2 +- .../RTC-NG/API/callback_iaudiopcmframesink_onframe.dita | 2 +- ...ck_irtcengineeventhandler_onaudiomixingstatechanged.dita | 4 ++-- .../API/callback_irtcengineeventhandler_onaudioquality.dita | 2 +- ...ack_irtcengineeventhandler_onconnectionstatechanged.dita | 2 +- ..._irtcengineeventhandler_onlocalvideotranscodererror.dita | 2 +- .../callback_irtcengineeventhandler_onnetworkquality.dita | 4 ++-- ...llback_ivideoframeobserver_getvideoformatpreference.dita | 2 +- en-US/dita/RTC-NG/API/class_beautyoptions.dita | 2 +- en-US/dita/RTC-NG/API/class_clientroleoptions.dita | 2 +- en-US/dita/RTC-NG/API/class_codeccaplevels.dita | 4 ++-- en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita | 2 +- en-US/dita/RTC-NG/API/class_filtereffectoptions.dita | 6 +++--- en-US/dita/RTC-NG/API/class_livetranscoding.dita | 2 +- .../dita/RTC-NG/API/class_localaudiomixerconfiguration.dita | 2 +- en-US/dita/RTC-NG/API/class_localvideostats.dita | 6 +++--- en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita | 4 ++-- en-US/dita/RTC-NG/API/class_playerconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_playerstreaminfo.dita | 2 +- en-US/dita/RTC-NG/API/class_remoteaudiostats.dita | 6 +++--- en-US/dita/RTC-NG/API/class_remotevideostats.dita | 2 +- en-US/dita/RTC-NG/API/class_rteexception.dita | 2 +- en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita | 2 +- en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita | 2 +- en-US/dita/RTC-NG/API/class_screenvideoparameters.dita | 2 +- en-US/dita/RTC-NG/API/class_segmentationproperty.dita | 2 +- en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita | 2 +- en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita | 2 +- en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita | 4 ++-- en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita | 2 +- en-US/dita/RTC-NG/API/class_videoframe.dita | 2 +- en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita | 4 ++-- 45 files changed, 58 insertions(+), 58 deletions(-) diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita index 6a6d28f28b3..f31a24dec92 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registeraudioframeobserver.dita @@ -42,7 +42,7 @@ delegate audioFrameObserver -

        The observer instance. See . Set the value as to release the instance. Agora recommends calling this method after receiving to release the audio observer object.

        +

        The observer instance. See . Set the value as to release the instance. Agora recommends calling this method after receiving to release the audio observer object.

        diff --git a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita index 8b4f79df006..c874590c13d 100644 --- a/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita +++ b/en-US/dita/RTC-NG/API/api_imediaengine_registervideoframeobserver.dita @@ -50,7 +50,7 @@ observer delegate videoFrameObserver - The observer instance. See . To release the instance, set the value as . + The observer instance. See . To release the instance, set the value as . mode diff --git a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita index b463081ae45..3b37e553e2b 100644 --- a/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita +++ b/en-US/dita/RTC-NG/API/api_imediaplayer_setaudiodualmonomode.dita @@ -38,7 +38,7 @@ mode - The channel mode. See .
          + The channel mode. See .
          • (0): Original mode.
          • (1): Left channel mode. This mode replaces the audio of the right channel with the audio of the left channel, which means the user can only hear the audio of the left channel.
          • (2): Right channel mode. This mode replaces the audio of the left channel with the audio of the right channel, which means the user can only hear the audio of the right channel.
          • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita b/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita index 33f6e693ff5..20a0d01ac67 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_getscreencapturesources.dita @@ -47,11 +47,11 @@ thumbSize - The target size of the screen or window thumbnail (the width and height are in pixels). See . The SDK scales the original image to make the length of the longest side of the image the same as that of the target size without distorting the original image. For example, if the original image is 400 × 300 and thumbSize is 100 × 100, the actual size of the thumbnail is 100 × 75. If the target size is larger than the original size, the thumbnail is the original image and the SDK does not scale it. + The target size of the screen or window thumbnail (the width and height are in pixels). See . The SDK scales the original image to make the length of the longest side of the image the same as that of the target size without distorting the original image. For example, if the original image is 400 × 300 and thumbSize is 100 × 100, the actual size of the thumbnail is 100 × 75. If the target size is larger than the original size, the thumbnail is the original image and the SDK does not scale it. iconSize - The target size of the icon corresponding to the application program (the width and height are in pixels). See . The SDK scales the original image to make the length of the longest side of the image the same as that of the target size without distorting the original image. For example, if the original image is 400 × 300 and iconSize is 100 × 100, the actual size of the icon is 100 × 75. If the target size is larger than the original size, the icon is the original image and the SDK does not scale it. + The target size of the icon corresponding to the application program (the width and height are in pixels). See . The SDK scales the original image to make the length of the longest side of the image the same as that of the target size without distorting the original image. For example, if the original image is 400 × 300 and iconSize is 100 × 100, the actual size of the icon is 100 × 75. If the target size is larger than the original size, the icon is the original image and the SDK does not scale it. includeScreen diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita b/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita index a0c9c2919ef..02e62779772 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_queryscreencapturecapability.dita @@ -46,7 +46,7 @@
            • The highest frame rate supported by the device, if the method is called successfully. See .
            • If the call fails, returns .
              -
            • The highest frame rate supported by the device, if the method is called successfully. See .
                +
              • The highest frame rate supported by the device, if the method is called successfully. See .
                • 0: The device supports the frame rate of up to 15 fps.
                • 1: The device supports the frame rate of up to 30 fps.
                • 2: The device supports the frame rate of up to 60 fps.
              • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita b/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita index ac53b76c050..d3b8483b22a 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_registermediametadataobserver.dita @@ -49,7 +49,7 @@ type -

                The metadata type. The SDK currently only supports . See .

                +

                The metadata type. The SDK currently only supports . See .

        diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita index 7cf1afbc2fb..dc71c11947f 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setaudioprofile.dita @@ -60,7 +60,7 @@ profile -

        The audio profile, including the sampling rate, bitrate, encoding mode, and the number of channels. See .

          +

          The audio profile, including the sampling rate, bitrate, encoding mode, and the number of channels. See .

          • (0): The default value.
          • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita index 0bf3eb6e9f5..efa3eed3ebb 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setclientrole2.dita @@ -62,7 +62,7 @@ role clientRoleType - The user role. See .
              + The user role. See .
              • (1): Host. A host can both send and receive streams.
              • (2): (Default) Audience. An audience member can only receive streams.
              diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita index 8cdb4bea7dc..e65709f1f83 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setlogfilter.dita @@ -42,7 +42,7 @@ filter -

              The output log level of the SDK. See .

                +

                The output log level of the SDK. See .

                • (0): Do not output any log information.
                • (0x080f): Output all log information. Set your log filter as DEBUG if you want to get the most complete log file.
                • (0x0f): Output , , , and level log information. Agora recommends that you set the log level to this level.
                • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita index c7c9eafe13c..6559f96225d 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremotesubscribefallbackoption.dita @@ -44,7 +44,7 @@ option - Fallback options for the subscribed stream. See .
                    + Fallback options for the subscribed stream. See .
                    • (0): No fallback processing is performed on audio and video streams, and the quality of the audio and video streams cannot be guaranteed.
                    • (1): (Default) Under poor downlink network conditions, the remote video stream, to which you subscribe, falls back to the low-quality (low resolution and low bitrate) video stream.
                    • (2): When the network conditions are poor, try to receive the low-quality video stream first. If the video cannot be displayed due to extremely poor network environment, then fall back to receiving audio-only stream.
                    • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita index 54523c60202..7cd4d20fc1c 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_setremoteuserpriority.dita @@ -40,7 +40,7 @@ userPriority -

                      The priority of the remote user. See .

                        +

                        The priority of the remote user. See .

                        • : The user's priority is high.
                        • : (Default) The user's priority is normal.

                        diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita index 6e89b7b61c2..5195ab85033 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_startscreencapturebydisplayid.dita @@ -70,7 +70,7 @@ regionRect - (Optional) Sets the relative location of the region to the screen. Pass in nil to share the entire screen. See . It consists of the following parameters:
                          + (Optional) Sets the relative location of the region to the screen. Pass in nil to share the entire screen. See . It consists of the following parameters:
                          • x: The horizontal offset from the top-left corner.
                          • y: The vertical offset from the top-left corner.
                          • width: The width of the region.
                          • diff --git a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita index 3082b23f7e4..055b1d6a00b 100644 --- a/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita +++ b/en-US/dita/RTC-NG/API/api_irtcengine_updatescreencaptureregion2.dita @@ -29,7 +29,7 @@ rect regionRect - The relative location of the region to the screen or window. If you do not set this parameter, the SDK shares the whole screen. See . If the specified region overruns the screen or window, the SDK shares only the region within it; if you set width or height as 0, the SDK shares the whole screen or window. + The relative location of the region to the screen or window. If you do not set this parameter, the SDK shares the whole screen. See . If the specified region overruns the screen or window, the SDK shares only the region within it; if you set width or height as 0, the SDK shares the whole screen or window.
                            diff --git a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita index 087ae0ea613..0f4ebe140f6 100644 --- a/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita +++ b/en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita @@ -2,7 +2,7 @@ <ph keyref="SetAutoPlay"/> - Sets whether to enable autoplay. + The error code. diff --git a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita index 6b8c3fad431..df2b304cf12 100644 --- a/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita +++ b/en-US/dita/RTC-NG/API/callback_iaudiopcmframesink_onframe.dita @@ -37,7 +37,7 @@ frame audioFrame - The audio frame information. See . See . + The audio frame information. See . See . playerKit diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita index 3e8bd51e6c8..3ce5d7533ea 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudiomixingstatechanged.dita @@ -43,7 +43,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; state - The playback state of the music file. See .

                            + The playback state of the music file. See .

                            • (710): The music file is playing.
                            • (711): The music file pauses playing.
                            • @@ -57,7 +57,7 @@ reasonCode:(AgoraAudioMixingReasonCode)reasonCode; reasonCode reason - Error code. See .

                              + Error code. See .

                              • (0): No error.
                              • (701): The SDK cannot open the music file.
                              • diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita index 92a52c19413..00d08029e2d 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onaudioquality.dita @@ -72,7 +72,7 @@ quality - Audio quality of the user. See .
                                  + Audio quality of the user. See .
                                  diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita index 123ad62ab8a..4f535d1884b 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onconnectionstatechanged.dita @@ -56,7 +56,7 @@ state -

                                  The current connection state. See .

                                  +

                                  The current connection state. See .

                                  • (1): The SDK is disconnected from Agora's edge server.
                                  • (2): The SDK is connecting to Agora's edge server.
                                  • diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita index 710f36c7266..2e646a830b3 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onlocalvideotranscodererror.dita @@ -57,7 +57,7 @@ error errorCode - The reason for local video mixing error. See . + The reason for local video mixing error. See . The reason for local video mixing error:
                                    • 1: The selected video source has not started video capture. You need to create a video track for it and start video capture.
                                    • 2: The video source type is invalid. You need to re-specify the supported video source type.
                                    • diff --git a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita index ee43bbee716..f6f4e230f9a 100644 --- a/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita +++ b/en-US/dita/RTC-NG/API/callback_irtcengineeventhandler_onnetworkquality.dita @@ -68,13 +68,13 @@ txQuality - Uplink network quality rating of the user in terms of the transmission bit rate, packet loss rate, average RTT (Round-Trip Time) and jitter of the uplink network. This parameter is a quality rating helping you understand how well the current uplink network conditions can support the selected video encoder configuration. For example, a 1000 Kbps uplink network may be adequate for video frames with a resolution of 640 × 480 and a frame rate of 15 fps in the LIVE_BROADCASTING profile, but might be inadequate for resolutions higher than 1280 × 720. See .
                                        + Uplink network quality rating of the user in terms of the transmission bit rate, packet loss rate, average RTT (Round-Trip Time) and jitter of the uplink network. This parameter is a quality rating helping you understand how well the current uplink network conditions can support the selected video encoder configuration. For example, a 1000 Kbps uplink network may be adequate for video frames with a resolution of 640 × 480 and a frame rate of 15 fps in the LIVE_BROADCASTING profile, but might be inadequate for resolutions higher than 1280 × 720. See .
                                        rxQuality - Downlink network quality rating of the user in terms of packet loss rate, average RTT, and jitter of the downlink network. See .
                                          + Downlink network quality rating of the user in terms of packet loss rate, average RTT, and jitter of the downlink network. See .
                                          diff --git a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita index 4303635e515..8e36f1add80 100644 --- a/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita +++ b/en-US/dita/RTC-NG/API/callback_ivideoframeobserver_getvideoformatpreference.dita @@ -43,7 +43,7 @@
                            Returns -

                            Sets the raw data format of the SDK output. See .

                            +

                            Sets the raw data format of the SDK output. See .

                            • (0): Raw video.
                            • (1): I420.
                            • diff --git a/en-US/dita/RTC-NG/API/class_beautyoptions.dita b/en-US/dita/RTC-NG/API/class_beautyoptions.dita index f15393fc08a..794349a2054 100644 --- a/en-US/dita/RTC-NG/API/class_beautyoptions.dita +++ b/en-US/dita/RTC-NG/API/class_beautyoptions.dita @@ -177,7 +177,7 @@ public: lighteningContrastLevel -

                              The contrast level, used with the lighteningLevel parameter. The larger the value, the greater the contrast between light and dark. See .

                                +

                                The contrast level, used with the lighteningLevel parameter. The larger the value, the greater the contrast between light and dark. See .

                                • (0): Low contrast level.
                                • (1): Normal contrast level.
                                • (2): High contrast level.
                                • diff --git a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita index c8e3fccccff..851263f41b1 100644 --- a/en-US/dita/RTC-NG/API/class_clientroleoptions.dita +++ b/en-US/dita/RTC-NG/API/class_clientroleoptions.dita @@ -80,7 +80,7 @@ public: audienceLatencyLevel - The latency level of an audience member in interactive live streaming. See .
                                    + The latency level of an audience member in interactive live streaming. See .
                                    • (1): Low latency.
                                    • (2): (Default) Ultra low latency.
                                    diff --git a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita index 73222db379c..1d358536259 100644 --- a/en-US/dita/RTC-NG/API/class_codeccaplevels.dita +++ b/en-US/dita/RTC-NG/API/class_codeccaplevels.dita @@ -104,7 +104,7 @@ class CodecCapLevels { hwDecodingLevel - Hardware decoding capability level, which represents the device's ability to perform hardware decoding on videos of different quality. See . + Hardware decoding capability level, which represents the device's ability to perform hardware decoding on videos of different quality. See .
                                    • (-1): Unsupported video type. Currently, only H.264 and H.265 formats are supported. If the video is in another format, this value will be returned.
                                    • (5): Supports encoding and decoding videos up to 1080p and 30 fps.
                                    • @@ -114,7 +114,7 @@ class CodecCapLevels { swDecodingLevel - Software decoding capability level, which represents the device's ability to perform software decoding on videos of different quality. See . + Software decoding capability level, which represents the device's ability to perform software decoding on videos of different quality. See .
                            diff --git a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita index a55c85d11df..a3153e5905f 100644 --- a/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita +++ b/en-US/dita/RTC-NG/API/class_encodedvideoframeinfo.dita @@ -402,7 +402,7 @@ struct FEncodedVideoFrameInfo { streamType - The type of video streams. See . + The type of video streams. See .
                            • (0): High-quality stream, that is, a high-resolution and high-bitrate video stream.
                            • diff --git a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita index 743041da747..22bc70a352b 100644 --- a/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita +++ b/en-US/dita/RTC-NG/API/class_filtereffectoptions.dita @@ -2,7 +2,7 @@ <ph keyref="FilterEffectOptions" /> - Facial enhancement area options. + Filter effect options.

                              @@ -36,7 +36,7 @@ path -

                              The absolute path to the local cube map texture file, which customzies the filter effect. The referred .cude file should strictly follow the Cube LUT Format Specification; otherwise, the filter effect does not work. The following is a sample of the .cude file: +

                              The absolute path to the local cube map texture file, which can be used to customize the filter effect. The specified .cude file should strictly follow the Cube LUT Format Specification; otherwise, the filter options do not take effect. The following is a sample of the .cude file: LUT_3D_SIZE 32 0.0039215689 0 0.0039215682 0.0086021447 0.0037950677 0 @@ -45,7 +45,7 @@ LUT_3D_SIZE 32

                                -
                              • The identifier LUT_3D_SIZE on the first line of the cube map file represents the size of the three-dimensional lookup table. The LUT size for filter effects can only be set to 32.
                              • +
                              • The identifier LUT_3D_SIZE on the first line of the cube map file represents the size of the three-dimensional lookup table. The LUT size for filter effect can only be set to 32.
                              • The SDK provides a built-in built_in_whiten_filter.cube file. You can pass the absolute path of this file to get the whitening filter effect.
                              diff --git a/en-US/dita/RTC-NG/API/class_livetranscoding.dita b/en-US/dita/RTC-NG/API/class_livetranscoding.dita index 6db658b06b6..2c20497d3a1 100644 --- a/en-US/dita/RTC-NG/API/class_livetranscoding.dita +++ b/en-US/dita/RTC-NG/API/class_livetranscoding.dita @@ -771,7 +771,7 @@ public: videoBitrate -

                              The encoding bitrate (Kbps) of the video. See . This parameter does not need to be set; keeping the default value is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution and frame rate, see .

                              +

                              The encoding bitrate (Kbps) of the video. See . This parameter does not need to be set; keeping the default value is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution and frame rate, see .

                              diff --git a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita b/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita index 114df2570de..dd6b6e7b24b 100644 --- a/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_localaudiomixerconfiguration.dita @@ -65,7 +65,7 @@ syncWithLocalMic - Whether the mxied audio stream uses the timestamp of audio frames captured by the local microphone.
                                + Whether the mxied audio stream uses the timestamp of the audio frames captured by the local microphone.
                                • : (Default) Yes. Set to this value if you want all locally captured audio streams synchronized.
                                • : No. The SDK uses the timestamp of the audio frames at the time when they are mixed.
                                diff --git a/en-US/dita/RTC-NG/API/class_localvideostats.dita b/en-US/dita/RTC-NG/API/class_localvideostats.dita index 0a0ba4771c4..f32a452bc5a 100644 --- a/en-US/dita/RTC-NG/API/class_localvideostats.dita +++ b/en-US/dita/RTC-NG/API/class_localvideostats.dita @@ -517,7 +517,7 @@ public: qualityAdaptIndication - The quality adaptation of the local video stream in the reported interval (based on the target frame rate and target bitrate). See .

                                + The quality adaptation of the local video stream in the reported interval (based on the target frame rate and target bitrate). See .

                                • (0): The local video quality stays the same.
                                • (1): The local video quality improves because the network bandwidth increases.
                                • @@ -545,7 +545,7 @@ public: codecType - The codec type of the local video. See .

                                  + The codec type of the local video. See .

                                  • (1): VP8.
                                  • (2): H.264.
                                  • @@ -577,7 +577,7 @@ public: hwEncoderAccelerating - The local video encoding acceleration type. See .
                                      + The local video encoding acceleration type. See .
                                      • 0: Software encoding is applied without acceleration.
                                      • 1: Hardware encoding is applied for acceleration.
                                      diff --git a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita index 565ad8ceeec..d658d5c9aa5 100644 --- a/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita +++ b/en-US/dita/RTC-NG/API/class_lowlightenhanceoptions.dita @@ -123,14 +123,14 @@ public: level - The low-light enhancement level. See .
                                        + The low-light enhancement level. See .
                                        • (0): (Default) Promotes video quality during low-light enhancement. It processes the brightness, details, and noise of the video image. The performance consumption is moderate, the processing speed is moderate, and the overall video quality is optimal.
                                        • (1): Promotes performance during low-light enhancement. It processes the brightness and details of the video image. The processing speed is faster.
                                        mode - The low-light enhancement mode. See .
                                          + The low-light enhancement mode. See .
                                          • (0): (Default) Automatic mode. The SDK automatically enables or disables the low-light enhancement feature according to the ambient light to compensate for the lighting level or prevent overexposure, as necessary.
                                          • (1): Manual mode. Users need to enable or disable the low-light enhancement feature manually.
                                          diff --git a/en-US/dita/RTC-NG/API/class_playerconfig.dita b/en-US/dita/RTC-NG/API/class_playerconfig.dita index a597b759c98..16586503bb1 100644 --- a/en-US/dita/RTC-NG/API/class_playerconfig.dita +++ b/en-US/dita/RTC-NG/API/class_playerconfig.dita @@ -52,7 +52,7 @@ - Sets whether to enable autoplay. See . + The error code. See . diff --git a/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita b/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita index 022d3b4c653..227b8750819 100644 --- a/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita +++ b/en-US/dita/RTC-NG/API/class_playerstreaminfo.dita @@ -296,7 +296,7 @@ public: streamType mediaStreamType - The type of the media stream. See .
                                            + The type of the media stream. See .
                                            • (0): The type is unknown.
                                            • (1): The video stream.
                                            • (2): The audio stream.
                                            • diff --git a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita index 0a5826a74c4..f6d53604106 100644 --- a/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita +++ b/en-US/dita/RTC-NG/API/class_remoteaudiostats.dita @@ -423,7 +423,7 @@ class RemoteAudioStats { quality -

                                              The quality of the audio stream sent by the user. See .

                                              +

                                              The quality of the audio stream sent by the user. See .

                                              • (0): The quality is unknown.
                                              • @@ -487,7 +487,7 @@ class RemoteAudioStats { qoeQuality -

                                                The Quality of Experience (QoE) of the local user when receiving a remote audio stream. See .

                                                  +

                                                  The Quality of Experience (QoE) of the local user when receiving a remote audio stream. See .

                                                  • (0): The QoE of the local user is good.
                                                  • (1): The QoE of the local user is poor.

                                                  @@ -496,7 +496,7 @@ class RemoteAudioStats { qualityChangedReason -

                                                  Reasons why the QoE of the local user when receiving a remote audio stream is poor. See .

                                                    +

                                                    Reasons why the QoE of the local user when receiving a remote audio stream is poor. See .

                                                    • (0): No reason, indicating a good QoE of the local user.
                                                    • (1): The remote user's network quality is poor.
                                                    • (2): The local user's network quality is poor.
                                                    • diff --git a/en-US/dita/RTC-NG/API/class_remotevideostats.dita b/en-US/dita/RTC-NG/API/class_remotevideostats.dita index ea91c18db4d..d75591dd125 100644 --- a/en-US/dita/RTC-NG/API/class_remotevideostats.dita +++ b/en-US/dita/RTC-NG/API/class_remotevideostats.dita @@ -414,7 +414,7 @@ class RemoteVideoStats { rxStreamType - The type of the video stream. See .

                                                      + The type of the video stream. See .

                                                      • (0): High-quality stream, that is, a high-resolution and high-bitrate video stream.
                                                      • (1): Low-quality stream, that is, a low-resolution and low-bitrate video stream.
                                                      • diff --git a/en-US/dita/RTC-NG/API/class_rteexception.dita b/en-US/dita/RTC-NG/API/class_rteexception.dita index 32ca50120cf..1cf63f4a082 100644 --- a/en-US/dita/RTC-NG/API/class_rteexception.dita +++ b/en-US/dita/RTC-NG/API/class_rteexception.dita @@ -33,7 +33,7 @@ - Sets whether to enable autoplay. See . + The error code. See .
                              diff --git a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita index 88f57384eb8..8fbf87d3e53 100644 --- a/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_screencaptureconfiguration.dita @@ -170,7 +170,7 @@ public: params parameters - (For Windows and macOS only) The screen capture configuration. See . + (For Windows and macOS only) The screen capture configuration. See . regionRect diff --git a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita index 854a71595af..6646c19fc6c 100644 --- a/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita +++ b/en-US/dita/RTC-NG/API/class_screencapturesourceinfo.dita @@ -248,7 +248,7 @@ public: position - The position of a window relative to the entire screen space (including all shareable screens). See . See . + The position of a window relative to the entire screen space (including all shareable screens). See . See . minimizeWindow diff --git a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita index ebefd864bfa..ae74a7cdc82 100644 --- a/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita +++ b/en-US/dita/RTC-NG/API/class_screenvideoparameters.dita @@ -237,7 +237,7 @@ public: contentHint - The content hint for screen sharing. See .
                                + The content hint for screen sharing. See .
                                • (0): (Default) No content hint.
                                • (1): Motion-intensive content. Choose this option if you prefer smoothness or when you are sharing a video clip, movie, or video game.
                                • (2): Motionless content. Choose this option if you prefer sharpness or when you are sharing a picture, PowerPoint slides, or texts.
                                • diff --git a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita index 9b49842ef25..914c35101af 100644 --- a/en-US/dita/RTC-NG/API/class_segmentationproperty.dita +++ b/en-US/dita/RTC-NG/API/class_segmentationproperty.dita @@ -114,7 +114,7 @@ public: modelType - The type of algorithms to user for background processing. See .
                                    + The type of algorithms to user for background processing. See .
                                    • (1): (Default) Use the algorithm suitable for all scenarios.
                                    • (2): Use the algorithm designed specifically for scenarios with a green screen background.
                                    diff --git a/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita b/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita index 4618df961af..24bd7af9c2d 100644 --- a/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita +++ b/en-US/dita/RTC-NG/API/class_simulcaststreamconfig.dita @@ -115,7 +115,7 @@ public: dimensions - The video dimension. See . The default value is 50% of the high-quality video stream. + The video dimension. See . The default value is 50% of the high-quality video stream. bitrate diff --git a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita index 8b3aa2f5c0a..b72a02052c6 100644 --- a/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita +++ b/en-US/dita/RTC-NG/API/class_useraudiospectruminfo.dita @@ -77,7 +77,7 @@ struct FUserAudioSpectrumInfo { audioSpectrumData spectrumData -

                                    Audio spectrum information of the remote user. See .

                                    +

                                    Audio spectrum information of the remote user. See .

                                    diff --git a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita index 9fcf1e12535..2350ed96847 100644 --- a/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita +++ b/en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita @@ -122,7 +122,7 @@ public: level - Video noise reduction level. See .
                                      + Video noise reduction level. See .
                                      • (0): (Default) Promotes video quality during low-light enhancement. It processes the brightness, details, and noise of the video image. The performance consumption is moderate, the processing speed is moderate, and the overall video quality is optimal.
                                      • (1): Promotes reducing performance consumption during video noise reduction. It prioritizes reducing performance consumption over video noise reduction quality. The performance consumption is lower, and the video noise reduction speed is faster. To avoid a noticeable shadowing effect (shadows trailing behind moving objects) in the processed video, Agora recommends that you use this setting when the camera is fixed.
                                      @@ -130,7 +130,7 @@ public: mode - Video noise reduction mode. See .
                                        + Video noise reduction mode. See .
                                        • (0): (Default) Automatic mode. The SDK automatically enables or disables the video noise reduction feature according to the ambient light.
                                        • (1): Manual mode. Users need to enable or disable the video noise reduction feature manually.
                                        diff --git a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita index 1d52a7a1c16..f08b7004a58 100644 --- a/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita +++ b/en-US/dita/RTC-NG/API/class_videoencoderconfiguration.dita @@ -622,7 +622,7 @@ public: bitrate -

                                        The encoding bitrate (Kbps) of the video. See . This parameter does not need to be set; keeping the default value is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution and frame rate, see .

                                        +

                                        The encoding bitrate (Kbps) of the video. See . This parameter does not need to be set; keeping the default value is sufficient. The SDK automatically matches the most suitable bitrate based on the video resolution and frame rate you have set. For the correspondence between video resolution and frame rate, see .

                                        • (0): (Recommended) Standard bitrate mode.
                                        • (-1): Adaptive bitrate mode. In general, Agora suggests that you do not use this value.
                                        • diff --git a/en-US/dita/RTC-NG/API/class_videoframe.dita b/en-US/dita/RTC-NG/API/class_videoframe.dita index ff20008b498..9a1bb22e2e1 100644 --- a/en-US/dita/RTC-NG/API/class_videoframe.dita +++ b/en-US/dita/RTC-NG/API/class_videoframe.dita @@ -904,7 +904,7 @@ class VideoFrame { alphaStitchMode - When the video frame contains alpha channel data, it represents the relative position of alphaBuffer and the video frame. See .
                                            + When the video frame contains alpha channel data, it represents the relative position of alphaBuffer and the video frame. See .
                                            • 0: (Default) Only video frame, that is, alphaBuffer is not stitched with the video frame.
                                            • (1): alphaBuffer is above the video frame.
                                            • (2): alphaBuffer is below the video frame.
                                            • diff --git a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita index e1bef0fb006..5e2c6e98ca8 100644 --- a/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita +++ b/en-US/dita/RTC-NG/API/class_virtualbackgroundsource.dita @@ -176,7 +176,7 @@ public: backgroundSourceType background_source_type - The custom background. See .
                                                + The custom background. See .
                                                • (0): Process the background as alpha data without replacement, only separating the portrait and the background. After setting this value, you can call to implement the picture-in-picture effect.
                                                • (1): (Default) The background image is a solid color.
                                                • (2): The background image is a file in PNG or JPG format.
                                                • @@ -199,7 +199,7 @@ public: blurDegree blur_degree - The degree of blurring applied to the custom background image. See .
                                                    + The degree of blurring applied to the custom background image. See .
                                                    • (1): The degree of blurring applied to the custom background image is low. The user can almost see the background clearly.
                                                    • (2): The degree of blurring applied to the custom background image is medium. It is difficult for the user to recognize details in the background.
                                                    • (3): The degree of blurring applied to the custom background image is high. The user can barely see any distinguishing features in the background.
                                                    • From 48f9192ed9946fef282da7ab3382048c8befa1f1 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:19:14 +0800 Subject: [PATCH 34/35] New translations --- en-US/dita/RTC-NG/API/class_rteplayerstats.dita | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_rteplayerstats.dita b/en-US/dita/RTC-NG/API/class_rteplayerstats.dita index ee850d45ac2..8978675c5ae 100644 --- a/en-US/dita/RTC-NG/API/class_rteplayerstats.dita +++ b/en-US/dita/RTC-NG/API/class_rteplayerstats.dita @@ -49,12 +49,12 @@ videoDecodeFrameRate video_decode_frame_rate - The video frame rate (fps). + The video decoding frame rate (fps). videoRenderFrameRate video_render_frame_rate - The video frame rate (fps). + The video rendering frame rate (fps). videoBitrate From 86ea46a433e829a67338bf9f9e13254e7c86fc73 Mon Sep 17 00:00:00 2001 From: Cilla-luodan <85477033+Cilla-luodan@users.noreply.github.com> Date: Wed, 13 Nov 2024 16:49:37 +0800 Subject: [PATCH 35/35] New translations --- en-US/dita/RTC-NG/API/class_snapshotconfig.dita | 2 +- en-US/dita/RTC-NG/API/enum_audiosourcetype.dita | 2 +- en-US/dita/RTC-NG/API/enum_rteplayerevent.dita | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/en-US/dita/RTC-NG/API/class_snapshotconfig.dita b/en-US/dita/RTC-NG/API/class_snapshotconfig.dita index d8b633edc77..e48d3d35dbc 100644 --- a/en-US/dita/RTC-NG/API/class_snapshotconfig.dita +++ b/en-US/dita/RTC-NG/API/class_snapshotconfig.dita @@ -37,7 +37,7 @@ position - The observation position of the video frame to be captured in the video link. See . + The position of the snapshot video frame in the video pipeline. See . diff --git a/en-US/dita/RTC-NG/API/enum_audiosourcetype.dita b/en-US/dita/RTC-NG/API/enum_audiosourcetype.dita index a50dc68398e..e50174af407 100644 --- a/en-US/dita/RTC-NG/API/enum_audiosourcetype.dita +++ b/en-US/dita/RTC-NG/API/enum_audiosourcetype.dita @@ -46,7 +46,7 @@ - 100: An unknown video source. + 100: An unknown audio source. diff --git a/en-US/dita/RTC-NG/API/enum_rteplayerevent.dita b/en-US/dita/RTC-NG/API/enum_rteplayerevent.dita index 6c59cf24b62..d33515862a9 100644 --- a/en-US/dita/RTC-NG/API/enum_rteplayerevent.dita +++ b/en-US/dita/RTC-NG/API/enum_rteplayerevent.dita @@ -29,11 +29,11 @@ - 9: Due to network issues, the audio and video stream has fallen back to receiving only the audio stream. + 9: Due to network issues, the audio and video stream has fallen back to audio stream. - 10: After network conditions improve, the stream has recovered from receiving only audio to receiving both audio and video streams. + 10: After network conditions improve, the stream has recovered from audio-only to audio and video stream.