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 12, 2024
1 parent 5704d0b commit e85e672
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/api_imediaplayer_setplaybackspeed.dita
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
<parml>
<plentry>
<pt>speed</pt>
<pd>The playback speed. Agora recommends that you set this to a value between 50 and 400, defined as follows:<ul>
<li>50: Half the original speed.</li>
<pd>The playback speed. Agora recommends that you set this to a value between 30 and 400, defined as follows:<ul>
<li>30: 0.3 times the original speed.</li>
<li>100: The original speed.</li>
<li>400: 4 times the original speed.</li>
</ul></pd>
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>调用该方法后,如果你收到 <xref keyref="onPlayerEvent" /> 回调报告事件 <apiname keyref="PLAYER_EVENT_SWITCH_COMPLETE" />,则媒体资源切换成功。 如果资源切换失败,SDK 会自动重试 3 次。 如果仍然失败,你会收到 <xref keyref="onPlayerEvent" /> 回调,报告 <apiname keyref="PLAYER_EVENT_SWITCH_ERROR" /> 事件,表示媒体资源切换时发生错误。</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 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 @@ -38,7 +38,7 @@
<note id="note_v4j_tbx_jqb" type="attention">
<ul>
<li props="cpp unreal bp unity flutter">This method applies to the macOS and Windows only.</li>
<li props="cpp unreal bp mac unity electron flutter">macOS 系统默认声卡不支持采集功能。 自 v4.5.0 起,SDK 支持自动安装虚拟声卡功能,当你第一次调用该方法时,SDK 会自动安装内置的声网自研虚拟声卡 AgoraALD。 安装成功后,音频路由会自动切换为虚拟声卡,同时使用虚拟声卡进行采集。</li>
<li props="cpp unreal bp mac unity electron flutter">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.</li>
<li>You can call this method either before or after joining a channel.</li>
<li>If you call the <xref keyref="disableAudio"/> method to disable the audio module, audio capturing will be disabled as well. If you need to enable audio capturing, call the <xref keyref="enableAudio"/> method to enable the audio module and then call the <apiname keyref="enableLoopbackRecording"/> method.</li>
</ul> </note> </section>
Expand All @@ -48,8 +48,8 @@
<plentry>
<pt>enabled</pt>
<pd>Sets whether to enable loopback audio capturing.<ul id="ul_qjq_swq_t4b">
<li><codeph><ph keyref="true"/></codeph>: 开启声卡采集;系统<b>声音 > 输出</b>界面显示虚拟声卡名称。</li>
<li><codeph><ph keyref="false"/></codeph>:(默认)关闭声卡采集;系统<b>声音 > 输出</b>界面不显示虚拟声卡名称。</li>
<li><codeph><ph keyref="true"/></codeph>: Enable sound card capturing. You can find the name of the virtual sound card in your system's<b>Audio Devices > Output</b>.</li>
<li><codeph><ph keyref="false"/></codeph>: Disable sound card capturing. The name of the virtual sound card will not be shown in your system's <b>Audio Devices > Output</b>.</li>
</ul></pd>
</plentry>
<plentry id="device_name">
Expand Down
2 changes: 1 addition & 1 deletion en-US/dita/RTC-NG/API/api_irtcengine_setvideoscenario.dita
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
</ul>
</p>
<p id="1v1"><apiname keyref="APPLICATION_SCENARIO_1V1"/>(2) This is applicable to the <xref keyref="one-to-one-live"/> 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.</p>
<p id="liveshow"><apiname keyref="APPLICATION_SCENARIO_LIVESHOW"/>(3) This is applicable to the <xref keyref="showroom"/> 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.</p>
<p id="liveshow"><apiname keyref="APPLICATION_SCENARIO_LIVESHOW"/>(3) This is applicable to the <xref keyref="showroom"/> 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.</p>
</pd>
</plentry>
</parml>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
</section>
<section id="detailed_desc">
<title>Details</title>
<p>After calling<xref keyref="startLocalVideoTranscoder" /> , call this method if you want to stop the local video mixing.</p>
<p>After calling <xref keyref="startLocalVideoTranscoder" />, call this method if you want to stop the local video mixing.</p>
</section>
<section id="return_values">
<title><ph keyref="return-section-title"/></title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
<li>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. <ph props="cn">See <xref keyref="android-background"/>.</ph></li>
</ul></li>
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR"/> (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.</li>
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE"/>(21):当前采集的窗口无数据。</li>
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_FAILURE"/>(21): The current window being captured has no data.</li>
</ul> </p>
</pd>
</plentry>
Expand Down
6 changes: 3 additions & 3 deletions en-US/dita/RTC-NG/API/class_videoframe.dita
Original file line number Diff line number Diff line change
Expand Up @@ -747,11 +747,11 @@ class VideoFrame {
<parml>
<plentry>
<pt>getColorSpace</pt>
<pd>获取视频帧的色彩空间属性。</pd>
<pd>Get the color space properties of the video frame.</pd>
</plentry>
<plentry>
<pt>setColorSpace</pt>
<pd>设置视频帧的色彩空间属性。</pd>
<pd>Get the color space properties of the video frame.</pd>
</plentry>
</parml>
</section>
Expand Down Expand Up @@ -878,7 +878,7 @@ class VideoFrame {
</plentry>
<plentry id="colorspace">
<pt>colorSpace</pt>
<pd>视频帧的色彩空间属性,默认情况下会应用 Full Range BT.709 标准配置。 你可以根据自定义采集、自定义渲染的业务需求进行自定义设置,详见 <xref keyref="videocolorspace-link"/></pd>
<pd>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 <xref keyref="videocolorspace-link"/>.</pd>
</plentry>
<plentry props="android hmos">
<pt>sourceType</pt>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/API/enum_compressionpreference.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
<parml>
<plentry>
<pt><ph keyref="PREFER_COMPRESSION_AUTO"/></pt>
<pd>0: (Default) Automatic mode. SDK 会根据你设置的视频场景,自动选择 <ph keyref="PREFER_LOW_LATENCY"/> <ph keyref="PREFER_QUALITY"/>,以获得最佳的用户体验。</pd>
<pd>-1: (Default) Automatic mode. The SDK will automatically select <ph keyref="PREFER_LOW_LATENCY"/> or <ph keyref="PREFER_QUALITY"/> based on the video scenario you set to achieve the best user experience.</pd>
</plentry>
<plentry>
<pt><ph keyref="PREFER_LOW_LATENCY"/></pt>
<pd>0: Low latency preference. The SDK compresses video frames to reduce latency. This preference is suitable for scenarios where smoothness is prioritized and reduced video quality is acceptable.</pd>
</plentry>
<plentry>
<pt><ph keyref="PREFER_QUALITY"/></pt>
<pd>1:高质量偏好。 The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.</pd>
<pd>1: High quality preference. The SDK compresses video frames while maintaining video quality. This preference is suitable for scenarios where video quality is prioritized.</pd>
</plentry>
</parml> </section>
</refbody>
Expand Down
6 changes: 3 additions & 3 deletions en-US/dita/RTC-NG/API/enum_degradationpreference.dita
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
<parml>
<plentry>
<pt><ph keyref="MAINTAIN_AUTO"/></pt>
<pd>0: (Default) Automatically. SDK 会根据你设置的视频场景,自动选择 <ph keyref="MAINTAIN_FRAMERATE"/><ph keyref="MAINTAIN_BALANCED"/> <ph keyref="MAINTAIN_RESOLUTION"/>,以获得最优的综合质量体验 (QoE)</pd>
<pd>0: (Default) Automatic mode. The SDK will automatically select <ph keyref="MAINTAIN_FRAMERATE"/>, <ph keyref="MAINTAIN_BALANCED"/> or <ph keyref="MAINTAIN_RESOLUTION"/> based on the video scenario you set, in order to achieve the best overall quality of experience (QoE).</pd>
</plentry>
<plentry>
<pt><ph keyref="MAINTAIN_QUALITY"/></pt>
<pd>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.<dl outputclass="deprecated">
<pd>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.<dl outputclass="deprecated">
<dlentry>
<dt>Deprecated:</dt>
<dd>This enumerator is deprecated. 请改用其他枚举。</dd>
<dd>This enumerator is deprecated. Use other enumerations instead.</dd>
</dlentry>
</dl></pd>
</plentry>
Expand Down

0 comments on commit e85e672

Please sign in to comment.