Skip to content

Commit

Permalink
remove hide
Browse files Browse the repository at this point in the history
  • Loading branch information
Suri539 committed Nov 8, 2024
1 parent 23f4693 commit 6d59bea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
<p>该版本新增 <codeph><apiname keyref="setLocalRenderTargetFps"/></codeph> 和 <codeph><apiname keyref="setRemoteRenderTargetFps"/></codeph> 方法,支持设置视频在本地和远端渲染时的最大帧率,SDK 进行视频渲染的实际帧率会尽量接近该值。</p>
<p>在对视频渲染帧率要求不高的场景(例如:屏幕共享、在线教育)或者远端使用中低端设备的场景下,你可以通过这一组方法限制视频渲染帧率,从而减小 CPU 消耗、提升系统性能。</p>
</li>
<li props="cn"><ph><b>URL 拉流播放</b></ph>
<li><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: 1 addition & 3 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -104,10 +104,8 @@
<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 props="cn"><ph><b>Watching live streaming through URLs</b></ph>
<li><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>
</li>
<li><ph><b>Filter effects</b></ph>
<p>This version introduces the <codeph><apiname keyref="setFilterEffectOptions"/></codeph> method. You can pass a cube map file (.cube) in the <parmname>config</parmname> parameter to achieve custom filter effects such as whitening, vivid, cool, black and white, etc. Additionally, the SDK provides a built-in <codeph>built_in_whiten_filter.cube</codeph> file for quickly achieving a whitening filter effect.</p>
Expand Down

0 comments on commit 6d59bea

Please sign in to comment.