Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Nov 13, 2024
1 parent b881e60 commit 1469076
Show file tree
Hide file tree
Showing 35 changed files with 50 additions and 50 deletions.
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_canvasconfig_getrendermode.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvasconfig_getrendermode">
<title><ph keyref="GetRenderMode"/></title>
<shortdesc id="short"><ph id="shortdesc">Gets the current video rendering mode setting.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets the current video render mode.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_canvasconfig_setrendermode.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_canvasconfig_setrendermode">
<title><ph keyref="SetRenderMode_CanvasConfig"/></title>
<shortdesc id="short"><ph id="shortdesc">Sets the rendering mode of the video.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the vide render mode.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_imediaplayer_switchsrc.dita
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<li>When the network is poor, the media resource to be played is switched to a media resource address with a lower bitrate.</li>
<li>When the network is good, the media resource to be played is switched to a media resource address with a higher bitrate.</li>
</ul></p>
<p>After calling this method, if you receive the <xref keyref="onPlayerEvent" /> callback report the <apiname keyref="PLAYER_EVENT_SWITCH_COMPLETE" /> 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 <xref keyref="onPlayerEvent" /> callback reporting the <apiname keyref="PLAYER_EVENT_SWITCH_ERROR" /> event indicating an error occurred during media resource switching.</p>
<p>After calling this method, if you receive the <xref keyref="onPlayerEvent" /> callback report the <apiname keyref="PLAYER_EVENT_SWITCH_COMPLETE" /> event, the switching is successful. If the switching fails, the SDK will automatically retry 3 times. If it still fails, you will receive the <xref keyref="onPlayerEvent" /> callback reporting the <apiname keyref="PLAYER_EVENT_SWITCH_ERROR" /> event indicating an error occurred during media resource switching.</p>
<p props="hide">If you want to customize CDN routes for playing the media resource, call the <xref keyref="switchAgoraCDNSrc" /> 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 <xref keyref="switchSrc" /> method to switch media resources.</p>
<note type="attention">
<ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
<note type="attention">
<ul>
<li props="cpp unreal bp flutter unity">This method is for Android and iOS only.</li>
<li id="sequence">This method must be called after the SDK triggers the<xref keyref="onLocalVideoStateChanged"/> callback and returns the local video state as<apiname keyref="LOCAL_VIDEO_STREAM_STATE_CAPTURING"/> (1).</li>
<li id="sequence">This method must be called after the SDK triggers the <xref keyref="onLocalVideoStateChanged"/> callback and returns the local video state as <apiname keyref="LOCAL_VIDEO_STREAM_STATE_CAPTURING"/> (1).</li>
<li>Before calling <xref keyref="setCameraExposureFactor"/>, Agora recoomends that you call this method to query whether the current camera supports adjusting the exposure value.</li>
<li>By calling this method, you adjust the exposure value of the currently active camera, that is, the camera specified when calling <xref keyref="setCameraCapturerConfiguration"/>.</li>
</ul></note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>This method must be called after the SDK triggers the<xref keyref="onLocalVideoStateChanged"/> callback and returns the local video state as<apiname keyref="LOCAL_VIDEO_STREAM_STATE_CAPTURING"/> (1).</p>
<p>This method must be called after the SDK triggers the <xref keyref="onLocalVideoStateChanged"/> callback and returns the local video state as <apiname keyref="LOCAL_VIDEO_STREAM_STATE_CAPTURING"/> (1).</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_setexternalmediaprojection">
<title><ph keyref="setExternalMediaProjection"/></title>
<shortdesc id="short"><ph id="shortdesc">Configure <codeph>MediaProjection</codeph> outside of the SDK to capture screen video streams</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Configures <codeph>MediaProjection</codeph> outside of the SDK to capture screen video streams.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -37,7 +37,7 @@
<section id="scenario" deliveryTarget="details">
<title>Applicable scenarios</title>
<p>If you are able to apply for <codeph>MediaProjection</codeph>, you can directly use your <codeph>MediaProjection</codeph> instead of the one applied for by the SDK. The following lists two applicable scenarios:<codeph></codeph><ul>
<li>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.</li>
<li>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.</li>
<li>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.</li>
</ul></p>
</section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_setexternalremoteeglcontext">
<title><ph keyref="setExternalRemoteEglContext"/></title>
<shortdesc id="short"><ph id="shortdesc">Set the EGL context for rendering remote video streams.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the EGL context for rendering remote video streams.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
</plentry>
<plentry id="options">
<pt>options</pt>
<pd>The filter effect opton: <xref keyref="FilterEffectOptions" />.</pd>
<pd>The filter effect options. See <xref keyref="FilterEffectOptions" />.</pd>
</plentry>
<plentry id="type">
<pt props="cpp unreal bp unity rn electron flutter cs">type</pt>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_setlocalrendertargetfps">
<title><ph keyref="setLocalRenderTargetFps"/></title>
<shortdesc id="short"><ph id="shortdesc">Sets the maximum frame rate for rendering local video .</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the maximum frame rate for rendering local video.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -53,7 +53,7 @@ targetFps:(int)targetFps;</codeblock>
<pd/>
</plentry>
<plentry id="targetfps">
<pt>targetFpsç</pt>
<pt>targetFps</pt>
<pd>The capture frame rate (fps) of the local video. Sopported values are: 1, 7, 10, 15, 24, 30, 60.<note type="caution">Set this parameter to a value lower than the actual video frame rate; otherwise, the settings do not take effect.</note></pd>
</plentry>
</parml> </section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<ul>
<li>This method relies on the image enhancement dynamic library <codeph><ph keyref="clearvision"/></codeph>. If the dynamic library is deleted, the function cannot be enabled normally.</li>
<li>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.</li>
<li>If you want to prioritize image quality(<ph keyref="LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY"/>) when using the low-light enhancement function, you need to first call <xref keyref="setVideoDenoiserOptions"/> to achieve video noise reduction, the specific corresponding relationship is as follows:<ul>
<li>If you want to prioritize image quality (<ph keyref="LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY"/>) when using the low-light enhancement function, you need to first call <xref keyref="setVideoDenoiserOptions"/> to achieve video noise reduction, the specific corresponding relationship is as follows:<ul>
<li>When low light enhancement is set to automatic mode (<ph keyref="LOW_LIGHT_ENHANCE_AUTO"/>), video noise reduction needs to be set to prioritize image quality (<ph keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" />) and automatic mode (<ph keyref="VIDEO_DENOISER_AUTO" />).</li>
<li>When low-light enhancement is set to manual mode (<ph keyref="LOW_LIGHT_ENHANCE_MANUAL"/>), video noise reduction needs to be set to prioritize image quality (<ph keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" />) and manual mode (<ph keyref="VIDEO_DENOISER_MANUAL" />).</li>
</ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
</section>
<section id="scenario" deliveryTarget="details">
<title>Applicable scenarios</title>
<p>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.</p>
<p>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.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<section id="scenario" deliveryTarget="details">
<title>Applicable scenarios</title>
<p>You can enable this function in the following scenarios:<ul>
<li>By utilizing the local image stitching feature, the associated audio streams of the mixed video streams can be simultaneously captured and published.</li>
<li>By utilizing the local video mixing feature, the associated audio streams of the mixed video streams can be simultaneously captured and published.</li>
<li>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.</li>
<li>In online classes, teachers can mix the audio from interactions with students locally and then forward the mixed audio stream to other channels.</li>
</ul></p>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_takesnapshot">
<title><ph keyref="takeSnapshot" /></title>
<shortdesc id="short"><ph id="shortdesc">Screenshots capture.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Takes a snapshot of a video stream.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_takesnapshot2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_takesnapshot2">
<title><ph keyref="takeSnapshot2" /></title>
<shortdesc id="short"><ph id="shortdesc">Take a screenshot of the video at the specified observation point.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Takes a screenshot of the video at the specified observation point.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengine_updatelocalaudiomixerconfiguration">
<title><ph keyref="updateLocalAudioMixerConfiguration"/></title>
<shortdesc id="short"><ph id="shortdesc">Updates the configurations for mixingl audio streams locally.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Updates the configurations for mixing audio streams locally.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_irtcengineex_takesnapshotex2">
<title><ph keyref="takeSnapshotEx2"/></title>
<shortdesc id="short"><ph id="shortdesc">Get a video screenshot of the specified observation point using the connection ID.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets a video screenshot of the specified observation point using the connection ID.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_player_getconfigs.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_player_getconfigs">
<title><ph keyref="GetConfigs_Player"/></title>
<shortdesc id="short"><ph id="shortdesc">Get the current player settings.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets the current player settings.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_player_getinfo.dita
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<parml>
<plentry>
<pt>info</pt>
<pd>The information of the player and the media stream: <xref keyref="RtePlayerInfo"/>.</pd>
<pd>The information of the player and the media stream. See <xref keyref="RtePlayerInfo"/>.</pd>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_player_muteaudio.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_player_muteaudio">
<title><ph keyref="MuteAudio"/></title>
<shortdesc id="short"><ph id="shortdesc">Subscribe or unsubscribe to an audio stream.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Subscribes or unsubscribes to an audio stream.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -42,7 +42,7 @@
</section>
<section id="related" deliveryTarget="details">
<title>Related callbacks</title>
<p>After successfully calling this method, the SDK triggers the <xref keyref="onPlayerInfoUpdated_PlayerObserver"/> callback to report the latest player and media stream information.</p>
<p>After successfully calling this method, the SDK triggers the <xref keyref="onPlayerInfoUpdated_PlayerObserver"/> callback to report the latest nformation of the player's state and media stream.</p>
</section>
<section id="parameters" deliveryTarget="details">
<title>Parameters</title>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_player_mutevideo.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_player_mutevideo">
<title><ph keyref="MuteVideo"/></title>
<shortdesc id="short"><ph id="shortdesc">Subscribe or unsubscribe to a video stream.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Subscribes or unsubscribes to a video stream.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_player_setconfigs.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>You can call this method to configuer the player, such as enableing autoplay and subscribing to video streams of different resolutions and bitrate.</p>
<p>You can call this method to configuer the player, such as enabling autoplay and subscribing to video streams of a different resolution and bitrate.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_player_stop.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>After you successfully play the URL stream using <xref keyref="Play_Player"/>, call this method if you want to stop playing it. If you need to stop the playback, call <xref keyref="Pause_Player"/>.</p>
<p>If you fail to open the URL stream using <xref keyref="OpenWithUrl"/>, call this method before calling <apiname keyref="OpenWithUrl"/> to reopen the URL.</p>
<p>After you successfully play the URL stream using <xref keyref="Play_Player"/>, call this method if you want to stop playing it. If you need to pause the playback, call <xref keyref="Pause_Player"/>.</p>
<p>If you fail to open the URL stream using <xref keyref="OpenWithUrl"/>, call this method first, and then call <apiname keyref="OpenWithUrl"/> to reopen the URL.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_playerconfig_setautoplay.dita
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>Before you call <xref keyref="OpenWithUrl"/> to open the media stream, you can call this method to set whether to enale autoplay. The default setting is to enable autoplay.</p>
<p>Before you call <xref keyref="OpenWithUrl"/> to open the media stream, you can call this method to set whether to enable autoplay. The default setting is to enable autoplay.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_rte_getconfigs.dita
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="api_rte_getconfigs">
<title><ph keyref="GetConfigs_Rte"/></title>
<shortdesc id="short"><ph id="shortdesc">Gets the configuration information of the RTE object.</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets the configuration of the RTE object.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
Loading

0 comments on commit 1469076

Please sign in to comment.