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 03778bb commit f61746d
Show file tree
Hide file tree
Showing 14 changed files with 62 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
<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>如果要实现优先画质 (<ph keyref="LOW_LIGHT_ENHANCE_LEVEL_HIGH_QUALITY"/>) 的暗光增强,需要先调用 <xref keyref="setVideoDenoiserOptions"/> 实现视频降噪,具体对应关系如下:<ul>
<li>暗光增强为自动模式 (<ph keyref="LOW_LIGHT_ENHANCE_AUTO"/>) 时,视频降噪需设置为优先画质 (<ph keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" />)、自动模式 (<ph keyref="VIDEO_DENOISER_AUTO" />)</li>
<li>暗光增强为手动模式 (<ph keyref="LOW_LIGHT_ENHANCE_MANUAL"/>) 时,视频降噪需设置为优先画质 (<ph keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" />)、手动模式 (<ph keyref="VIDEO_DENOISER_MANUAL" />)</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>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>
</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions 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">在指定观测位置进行视频截图。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Take a screenshot of the video at the specified observation point.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -52,7 +52,7 @@
</plentry>
<plentry id="config">
<pt>config</pt>
<pd>The configuration of the snaptshot, see <xref keyref="SnapshotConfig"/>.</pd>
<pd>The configuration of the snaptshot. See <xref keyref="SnapshotConfig"/>.</pd>
</plentry>
</parml> </section>
<section id="return_values">
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">更新本地音频合流的配置。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Updates the configurations for mixingl audio streams locally.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>After calling , call this method if you want to update the local video mixing<xref keyref="startLocalAudioMixer"/> configuration.</p>
<p>After calling <xref keyref="startLocalAudioMixer"/>, call this method if you want to update the local audio mixing configuration.</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 @@ -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">使用连接 ID 获取指定观测位置的视频截图。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get 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">获取当前的播放器设置。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Get the current player settings.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
10 changes: 5 additions & 5 deletions en-US/dita/RTC-NG/API/api_player_getinfo.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_getinfo">
<title><ph keyref="GetInfo"/></title>
<shortdesc id="short"><ph id="shortdesc">获取播放器播放及媒体流的相关信息。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets the player state and the information about the media stream being played.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>你可以通过该方法获取播放器及媒体流的相关信息,例如音频采样率、视频帧的尺寸等信息。</p>
<p>You can obtain information about the player state and media stream through this method, such as audio sampling rate, video frame size.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -55,9 +55,9 @@
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">获取信息是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:获取信息成功。</li>
<li><codeph><ph keyref="false"/></codeph>:获取信息失败。</li>
<p props="cpp apple unreal bp electron unity rn cs">Whether obtaining the information is successful:<ul>
<li><codeph><ph keyref="true"/></codeph>: Obtaining information succeeds.</li>
<li><codeph><ph keyref="false"/></codeph>: Obtaining information fails.</li>
</ul>
</p> </section>
<section id="exception" props="android" conkeyref="SetAppId/exception">
Expand Down
12 changes: 6 additions & 6 deletions en-US/dita/RTC-NG/API/api_player_getstats.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_getstats">
<title><ph keyref="GetStats"/></title>
<shortdesc id="short"><ph id="shortdesc">获取播放器当前播放的媒体资源的统计信息。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Gets statistical information about the current media resource being played.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>该方法用于获取播放器的统计信息,包括解码、渲染帧率、音视频码率等,并通过回调函数异步返回结果。</p>
<p>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.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -45,13 +45,13 @@
<parml>
<plentry props="cpp apple">
<pt>cb</pt>
<pd>一个异步回调函数,用于通知获取播放器媒体资源统计信息的结果和错误信息。 该函数包含以下参数:<ul>
<li><codeph>stats</codeph>: 播放器当前播放的媒体资源的统计数据,详见 <xref keyref="RtePlayerStats"/></li>
<li><codeph>err</codeph>: 参数获取错误信息,详见 <xref keyref="Error"/></li></ul></pd>
<pd>An asynchronous callback used to notify the result and possible error information of obtaining the statistics. The callback includes the following parameters:<ul>
<li><codeph>stats</codeph>: The information of the media resource currently being played. See <xref keyref="RtePlayerStats"/>.</li>
<li><codeph>err</codeph>: The detailed infromation about errors. See <xref keyref="Error"/>.</li></ul></pd>
</plentry>
<plentry props="android">
<pt>callback</pt>
<pd>回调接口,用于异步接收统计信息和可能的错误信息,详见 <xref keyref="PlayerGetStatsCallback"/> 接口类下的 <xref keyref="onResult_PlayerGetStatsCallback"/> 回调。</pd>
<pd>An asynchronous callback used to notify the result and possible error information of obtaining the statistics. See the <xref keyref="onResult_PlayerGetStatsCallback"/> callback in the <xref keyref="PlayerGetStatsCallback"/> class.</pd>
</plentry>
</parml> </section>
</refbody>
Expand Down
16 changes: 8 additions & 8 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">订阅或取消订阅主播的音频流。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Subscribe or unsubscribe to an audio stream.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>观众端可以调用该方法来设置是否订阅主播的音频流。</p>
<p>Audience member can call this method to decide whether to subscribe to the host's audio stream.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -42,15 +42,15 @@
</section>
<section id="related" deliveryTarget="details">
<title>Related callbacks</title>
<p>成功调用该方法后,会触发 <xref keyref="onPlayerInfoUpdated_PlayerObserver"/> 回调报告最新的播放器和媒体流信息。</p>
<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>
</section>
<section id="parameters" deliveryTarget="details">
<title>Parameters</title>
<parml>
<plentry>
<pt>mute</pt>
<pd>是否订阅主播的音频流:<ul><li><codeph><ph keyref="true"/></codeph>:不订阅主播的音频流。</li>
<li><codeph><ph keyref="false"/></codeph>:订阅主播的音频流。</li></ul></pd>
<pd>Whether to subscribe to the audio stream of the host:<ul><li><codeph><ph keyref="true"/></codeph>: Subscribe to the audio stream.</li>
<li><codeph><ph keyref="false"/></codeph>: Do not subscribe to the audio stream.</li></ul></pd>
</plentry>
<plentry props="cpp apple" conkeyref="SetConfigs_Rte/err">
<pt></pt>
Expand All @@ -60,9 +60,9 @@
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">订阅或取消订阅操作是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:操作成功。</li>
<li><codeph><ph keyref="false"/></codeph>:操作失败。</li>
<p props="cpp apple unreal bp electron unity rn cs">Whether the subscription or unsubscription is successful:<ul>
<li><codeph><ph keyref="true"/></codeph>: Succeeds.</li>
<li><codeph><ph keyref="false"/></codeph>: Fails.</li>
</ul>
</p> </section>
<section id="exception" props="android" conkeyref="SetAppId/exception">
Expand Down
14 changes: 7 additions & 7 deletions 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">订阅或取消订阅主播的视频流。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Subscribe or unsubscribe to a video stream.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -30,7 +30,7 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p>观众端可以调用该方法来设置是否订阅主播的视频流。</p>
<p>Audience member can call this method to decide whether to subscribe to the host's video stream.</p>
</section>
<section id="timing" deliveryTarget="details" conkeyref="MuteAudio/timing">
<title>Call timing</title>
Expand All @@ -49,8 +49,8 @@
<parml>
<plentry>
<pt>mute</pt>
<pd>是否订阅主播的视频流:<ul><li><codeph><ph keyref="true"/></codeph>:不订阅主播的视频流。</li>
<li><codeph><ph keyref="false"/></codeph>:订阅主播的视频流。</li></ul></pd>
<pd>Whether to subscribe to the video stream of the host:<ul><li><codeph><ph keyref="true"/></codeph>: Subscribe to the video stream.</li>
<li><codeph><ph keyref="false"/></codeph>: Do not subscribe to the video stream.</li></ul></pd>
</plentry>
<plentry props="apple cpp" conkeyref="SetConfigs_Rte/err">
<pt></pt>
Expand All @@ -60,9 +60,9 @@
<section id="return_values" props="cpp apple framework">
<title><ph keyref="return-section-title"/></title>
<p props="flutter">When the method call succeeds, there is no return value; when fails, the <xref keyref="AgoraRtcException"/> exception is thrown. You need to catch the exception and handle it accordingly. <ph props="cn">See <xref keyref="error-code-link"/> for details and resolution suggestions.</ph></p>
<p props="cpp apple unreal bp electron unity rn cs">订阅或取消订阅操作是否成功:<ul>
<li><codeph><ph keyref="true"/></codeph>:操作成功。</li>
<li><codeph><ph keyref="false"/></codeph>:操作失败。</li>
<p props="cpp apple unreal bp electron unity rn cs">Whether the subscription or unsubscription is successful:<ul>
<li><codeph><ph keyref="true"/></codeph>: Succeeds.</li>
<li><codeph><ph keyref="false"/></codeph>: Fails.</li>
</ul>
</p> </section>
<section id="exception" props="android" conkeyref="SetAppId/exception">
Expand Down
Loading

0 comments on commit f61746d

Please sign in to comment.