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 7, 2024
1 parent b420d3b commit 8b802bc
Show file tree
Hide file tree
Showing 15 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
</plentry>
<plentry id="sourcetype">
<pt props="android apple">sourceType</pt>
<pd>效果应用的媒体源类型。 See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<pd>The type of the media source to which the filter effect is applied. See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<li>The default value is <apiname keyref="PRIMARY_CAMERA_SOURCE"/>.</li>
<li>如果要使用自定义采集的视频,将该参数设置为 <apiname keyref="CUSTOM_VIDEO_SOURCE"/></li>
<li>Set this parameter to <apiname keyref="CUSTOM_VIDEO_SOURCE"/> if you use custom video source.</li>
</ul></note></pd>
</plentry>
</parml> </section>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call<xref keyref="enableVideo" /> this method after calling .</p>
<p>Call this method after calling <xref keyref="enableVideo" />.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call<xref keyref="enableVideo" /> this method after calling .</p>
<p>Call this method after calling <xref keyref="enableVideo" />.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
<li>在定制系统的设备上,可避免系统弹窗(即需要用户授予屏幕采集权限),直接开始采集屏幕视频流。</li>
<li>一个屏幕共享进程中存在一个或多个子进程,避免在子进程中自行创建对象的过程出错而导致采集失败。</li>
</ul></p>
<p>For detailed implementation steps, please refer to <xref keyref="screen-share"/>.</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 @@ -37,7 +37,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call<xref keyref="enableVideo" /> this method after calling .</p>
<p>Call this method after calling <xref keyref="enableVideo" />.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
20 changes: 10 additions & 10 deletions en-US/dita/RTC-NG/API/api_irtcengine_setfiltereffectoptions.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_setfiltereffectoptions">
<title><ph keyref="setFilterEffectOptions"/></title>
<shortdesc id="short"><ph id="shortdesc">设置滤镜效果选项。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the image enhancement options and specifies the media source.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -31,11 +31,11 @@
<dd>v4.5.0</dd>
</dlentry>
</dl>
<p props="android apple">Both this method and<xref keyref="setBeautyEffectOptions2"/> set image enhancement options, but this method allows you to specify the media source to which the image enhancement is applied.</p>
<p props="android apple">Both this method and <xref keyref="setBeautyEffectOptions2"/> 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.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call<xref keyref="enableVideo" /> this method after calling .</p>
<p>Call this method after calling <xref keyref="enableVideo" />.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand All @@ -51,21 +51,21 @@
<plentry id="enable">
<pt props="android cpp unreal bp unity flutter rn electron cs">enabled</pt>
<pt props="ios mac">enable</pt>
<pd>是否开启滤镜效果:<ul>
<li><codeph><ph keyref="true"/></codeph>: 开启滤镜功能。</li>
<li><codeph><ph keyref="false"/></codeph>: (Default) Disable the image enhancement function.</li>
<pd>Whether to enable the filter effect:<ul>
<li><codeph><ph keyref="true"/></codeph>: Yes.</li>
<li><codeph><ph keyref="false"/></codeph>: (Default) No.</li>
</ul></pd>
</plentry>
<plentry id="options">
<pt>options</pt>
<pd>滤镜选项,详见 <xref keyref="FilterEffectOptions" /></pd>
<pd>The filter effect opton: <xref keyref="FilterEffectOptions" />.</pd>
</plentry>
<plentry id="type">
<pt props="cpp unreal bp unity rn electron flutter cs">type</pt>
<pt props="android apple">sourceType</pt>
<pd>效果应用的媒体源类型。 See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<li>使用摄像头采集本地视频时,请保持默认值 <apiname keyref="PRIMARY_CAMERA_SOURCE"/></li>
<li>如果要使用自定义采集的视频,将该参数设置为 <apiname keyref="CUSTOM_VIDEO_SOURCE"/></li>
<pd>The type of the media source to which the filter effect is applied. See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<li>Use the default value <apiname keyref="PRIMARY_CAMERA_SOURCE"/> if you use camera to capture local video.</li>
<li>Set this parameter to <apiname keyref="CUSTOM_VIDEO_SOURCE"/> if you use custom video source.</li>
</ul></note></pd>
</plentry>
</parml> </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_setfiltereffectoptions2">
<title><ph keyref="setFilterEffectOptions2"/></title>
<shortdesc id="short"><ph id="shortdesc">设置滤镜效果选项。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the filter effect options.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
</plentry>
<plentry props="cpp unreal bp rn unity electron flutter cs" id="type">
<pt>type</pt>
<pd>效果应用的媒体源类型。 See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<li>使用摄像头采集本地视频时,请保持默认值 <apiname keyref="PRIMARY_CAMERA_SOURCE"/></li>
<li>如果要使用自定义采集的视频,将该参数设置为 <apiname keyref="CUSTOM_VIDEO_SOURCE"/></li>
<pd>The type of the media source to which the filter effect is applied. See <xref keyref="MEDIA_SOURCE_TYPE" />.<note type="attention">In this method, this parameter supports only the following two settings:<ul>
<li>Use the default value <apiname keyref="PRIMARY_CAMERA_SOURCE"/> if you use camera to capture local video.</li>
<li>Set this parameter to <apiname keyref="CUSTOM_VIDEO_SOURCE"/> if you use custom video source.</li>
</ul></note></pd>
</plentry>
</parml> </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_setremoterendertargetfps">
<title><ph keyref="setRemoteRenderTargetFps"/></title>
<shortdesc id="short"><ph id="shortdesc">设置视频在远端渲染的最大帧率。</ph></shortdesc>
<shortdesc id="short"><ph id="shortdesc">Sets the maximum frame rate for rendering remote video.</ph></shortdesc>
<prolog>
<metadata>
<keywords>
Expand Down Expand Up @@ -34,7 +34,7 @@
</section>
<section id="scenario" deliveryTarget="details">
<title>Applicable scenarios</title>
<p>在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以调用该方法设置视频在远端渲染的最大帧率,SDK 进行远端视频渲染的实际帧率会尽量接近该值,从而减小 CPU 消耗、提升系统性能。</p>
<p>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.</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_unregisterobserver.dita
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<p>Call<xref keyref="RegisterObserver_Rte"/> this method after calling .</p>
<p>Call this method after calling <xref keyref="RegisterObserver_Rte"/>.</p>
</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@
<parml>
<plentry>
<pt>type</pt>
<pd>附属信息类型,详见 <xref keyref="RtePlayerMetadataType"/>。</pd>
<pd props="apple cpp">附属信息类型,详见 <xref keyref="RtePlayerMetadataType"/>。</pd>
<pd props="android">附属信息类型:<ul>
<li>1: The type is SEI.</li>
</ul></pd>
</plentry>
<plentry>
<pt>data</pt>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/class_canvasconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
<pd>设置视频的镜像模式。 See <xref keyref="SetMirrorMode"/>.</pd>
</plentry>
<plentry>
<pt><apiname keyref="GetMirrorMode"/></pt>
<pt><ph keyref="GetMirrorMode"/></pt>
<pd>获取当前设置的视频镜像模式。 See <xref keyref="GetMirrorMode"/>.</pd>
</plentry>
</parml> </section>
Expand Down
1 change: 0 additions & 1 deletion en-US/dita/RTC-NG/API/class_videodenoiseroptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ public:
<pd><ph>Video noise reduction level. </ph><ph props="apple cpp unreal bp">See <xref keyref="VIDEO_DENOISER_LEVEL" />.</ph><ul props="android hmos">
<li><ph keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" />(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.</li>
<li><ph keyref="VIDEO_DENOISER_LEVEL_FAST" />(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.</li>
<li><ph keyref="VIDEO_DENOISER_LEVEL_STRENGTH" />(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 <parmname keyref="VIDEO_DENOISER_LEVEL_HIGH_QUALITY" /> can not satisfy your video noise reduction needs, you can use this setting.</li>
</ul>
</pd>
</plentry>
Expand Down
1 change: 0 additions & 1 deletion en-US/dita/RTC-NG/API/rtc_api_data_type.dita
Original file line number Diff line number Diff line change
Expand Up @@ -1383,7 +1383,6 @@
<li><xref keyref="RteAbrFallbackLayer"/></li>
<li><xref keyref="RteAbrSubscriptionLayer"/></li>
<li><xref keyref="RteErrorCode"/></li>
<li><xref keyref="RtePlayerMetadataType"/></li>
<li><xref keyref="RtePlayerEvent"/></li>
<li><xref keyref="RtePlayerState"/></li>
<li><xref keyref="RteVideoMirrorMode"/></li>
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/toc_rte_player.dita
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE reference PUBLIC "-//OASIS//DTD DITA Reference//EN" "reference.dtd">
<reference id="toc_rte_player">
<title>URL 拉流播放</title>
<title>URL live streaming playback</title>
<shortdesc id="short"/>
</reference>

0 comments on commit 8b802bc

Please sign in to comment.