Skip to content

Commit

Permalink
add cn props in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nero-Hu committed Nov 8, 2024
1 parent 4837826 commit 4d3365c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<title>新增特性</title>
<body>
<ol>
<li><ph><b>高级美颜</b></ph>
<li props="cn"><ph><b>高级美颜</b></ph>
<p><ph>该版本新增以下两种高级美颜功能:</ph>
<ul>
<li>美型:调用 <codeph><apiname keyref="setFaceShapeBeautyOptions"/></codeph> 方法,可对人脸各部位进行修饰,你可以使用预设的模板一次性实现瘦脸、大眼、瘦鼻等微整形效果,并微调整体的修饰力度。如果预设的美型效果不能满足你的需求,你可以调用 <codeph><apiname keyref="setFaceShapeAreaOptions"/></codeph> 方法设置美型部位选项,对人脸的各个部位单独微调,实现更加精细的美型效果。</li>
Expand All @@ -103,7 +103,7 @@
<p>该版本新增 <codeph><apiname keyref="setLocalRenderTargetFps"/></codeph> 和 <codeph><apiname keyref="setRemoteRenderTargetFps"/></codeph> 方法,支持设置视频在本地和远端渲染时的最大帧率,SDK 进行视频渲染的实际帧率会尽量接近该值。</p>
<p>在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以通过这一组方法限制视频渲染帧率,从而减小 CPU 消耗、提升系统性能。</p>
</li>
<li><ph><b>URL 拉流播放</b></ph>
<li props="cn"><ph><b>URL 拉流播放</b></ph>
<p>URL 拉流播放功能主要用于直播场景,观众端可以直接通过 <codeph><apiname keyref="OpenWithUrl"/></codeph> 打开特定的 URL 来播放实时媒体流,无需加入频道、订阅等步骤,极大简化了观众端观看直播流的 API 调用。</p>
<p>在播放的过程中,观众端可以通过 <codeph><apiname keyref="SetAbrSubscriptionLayer"/></codeph> 设置订阅视频大小流,并可以在大小流之间实现平滑切换。如果对视频体验有更高要求,可以联系<xref keyref="ticket-link"/>开通 ABR(Adaptive Bitrate,自适应码率)功能。启用该功能后,可以自定义不同层级的视频流分辨率,观众可以实现不同分辨率视频流的平滑切换。</p>
<p>当网络情况不稳定时,观众端可以调用 <codeph><apiname keyref="SetAbrFallbackLayer"/></codeph> 来设置订阅的视频流的回退选项。SDK 会以你指定的最低质量层级对应的视频流分辨率为下限,在此范围内根据网络状况动态调整分辨率。</p><p props="hide">有关该功能的实现步骤,详见 <xref keyref="rte-player"/>。</p>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<title>New features</title>
<body>
<ol>
<li><ph><b>Advanced beauty effects</b></ph>
<li props="cn"><ph><b>Advanced beauty effects</b></ph>
<p><ph>This version introduces the following two advanced beauty features:</ph>
<ul>
<li>Face shaping: By calling the <codeph><apiname keyref="setFaceShapeBeautyOptions"/></codeph> method, you can enhance various parts of the face. You can use preset templates to achieve effects such as face slimming, eye enlargement, and nose slimming in one go, and fine-tune the overall enhancement intensity. If the preset face shaping effects do not meet your needs, you can call the <codeph><apiname keyref="setFaceShapeAreaOptions"/></codeph> method to set face shaping area options and fine-tune each part of the face for more precise face shaping effects.</li>
Expand All @@ -104,7 +104,7 @@
<p>This version adds the <codeph><apiname keyref="setLocalRenderTargetFps"/></codeph> and <codeph><apiname keyref="setRemoteRenderTargetFps"/></codeph> methods, which support setting the maximum frame rate for video rendering locally and remotely. The actual frame rate for video rendering by the SDK will be as close to this value as possible.</p>
<p>In scenarios where the frame rate requirement for video rendering is not high (e.g., screen sharing, online education) or when the remote end uses mid-to-low-end devices, you can use this set of methods to limit the video rendering frame rate, thereby reducing CPU consumption and improving system performance.</p>
</li>
<li><ph><b>Watching live streaming through URLs</b></ph>
<li props="cn"><ph><b>Watching live streaming through URLs</b></ph>
<p>As of this version, audience members can directly open a specific URL to play the real-time media stream through <codeph><apiname keyref="OpenWithUrl"/></codeph>, instead of joining a channel and subscribing to the streams of hosts, which greatly simplifies the API calls for the audience end to watch a live stream.</p>
<p>During playback, the audience can set the subscription video stream size through <codeph><apiname keyref="SetAbrSubscriptionLayer"/></codeph> and achieve smooth switching between different stream sizes. If higher video experience requirements are needed, you can contact <xref keyref="ticket-link"/> to enable the ABR (Adaptive Bitrate) feature. After enabling this feature, you can customize the resolution of different levels of video streams, allowing the audience to achieve smooth switching between different resolution video streams.</p>
<p>When the network condition is unstable, the audience can call <codeph><apiname keyref="SetAbrFallbackLayer"/></codeph> to set the fallback options for the subscribed video stream. The SDK will dynamically adjust the resolution within the specified range based on the network condition, with the lowest quality level video stream resolution as the lower limit.</p><p props="hide">For implementation steps of this feature, see <xref keyref="rte-player"/>.</p>
Expand Down

0 comments on commit 4d3365c

Please sign in to comment.