Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.5.0 release #3830

Merged
merged 25 commits into from
Nov 14, 2024
Merged
Show file tree
Hide file tree
Changes from 16 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1b88aec
add aosl note in CN/EN release notes
Suri539 Nov 14, 2024
ad3fa3c
wrong name
Suri539 Nov 14, 2024
10cccd0
remove key and wording
Suri539 Nov 14, 2024
4af2fff
update windows release
Suri539 Nov 14, 2024
fa37bae
ios/mac: add en release notes
Nero-Hu Nov 14, 2024
cda4218
Merge branch '4.5.0-release' of https://github.com/AgoraIO/agora_doc_…
Nero-Hu Nov 14, 2024
8d74c24
update ios/mac release
Nero-Hu Nov 14, 2024
87b045b
update
Suri539 Nov 14, 2024
1671a45
Merge branch '4.5.0-release' of github.com:AgoraIO/agora_doc_source i…
Suri539 Nov 14, 2024
a927ea9
minor fix
lemon-chen Nov 14, 2024
a3e8888
Update release_android_ng.md
lemon-chen Nov 14, 2024
a9ff165
remove parmname
Nero-Hu Nov 14, 2024
6986e71
sync cn release
Nero-Hu Nov 14, 2024
7c608aa
Revert "Update release_android_ng.md"
lemon-chen Nov 14, 2024
3564f06
Update release_android_ng.md
lemon-chen Nov 14, 2024
fb5b076
Merge branch '4.5.0-release' of https://github.com/AgoraIO/agora_doc_…
lemon-chen Nov 14, 2024
88e87dc
Update release_android_ng.md
lemon-chen Nov 14, 2024
301e61b
Update release_windows_ng.md
Suri539 Nov 14, 2024
dd76f69
Merge branch '4.5.0-release' of github.com:AgoraIO/agora_doc_source i…
Suri539 Nov 14, 2024
4b7154d
fix ios release
Nero-Hu Nov 14, 2024
6014e80
Update release_android_ng.md
lemon-chen Nov 14, 2024
39c802c
Merge branch '4.5.0-release' of https://github.com/AgoraIO/agora_doc_…
lemon-chen Nov 14, 2024
d2aebfe
add en keys links
Nero-Hu Nov 14, 2024
ade2c46
Merge branch '4.5.0-release' of https://github.com/AgoraIO/agora_doc_…
Nero-Hu Nov 14, 2024
1b06462
add mac device
Nero-Hu Nov 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions dita/RTC-NG/API/class_playerconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@
<pt><ph keyref="GetAutoPlay"/></pt>
<pd>获取自动播放设置。详见 <xref keyref="GetAutoPlay"/>。</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="SetAbrSubscriptionLayer"/></pt>
<pd>设置订阅的媒体流的质量层级。详见 <xref keyref="SetAbrSubscriptionLayer"/>。</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="GetAbrSubscriptionLayer"/></pt>
<pd>获取所订阅的视频流的质量层级。详见 <xref keyref="GetAbrSubscriptionLayer"/>。</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="SetAbrFallbackLayer"/></pt>
<pd>设置订阅的视频流的回退选项。详见 <xref keyref="SetAbrFallbackLayer"/>。</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="GetAbrFallbackLayer"/></pt>
<pd>获取设置的视频流回退选项。详见 <xref keyref="GetAbrFallbackLayer"/>。</pd>
</plentry>
Expand Down
9 changes: 7 additions & 2 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<title>升级必看</title>
<body>
<p>该版本对部分功能的实现方式进行了优化,涉及 SDK 的行为变更、API 的改名或删除,为确保项目的正常运行,你需要在升级到该版本后更新 App 中的代码。</p>
<note type="attention" props="native">
<p props="android">自 4.5.0 起,RTC SDK 和 RTM SDK (2.2.0 及以上版本) 都包含 <codeph>libaosl.so</codeph> 库。如果你通过 CDN 手动集成 RTC SDK 且同时集成了 RTM SDK,为避免冲突,请手动删除版本较低的 <codeph>libaosl.so</codeph> 库。4.5.0 RTC SDK <codeph>libaosl.so</codeph> 库版本为 1.2.13。</p>
<p props="apple">自 4.5.0 起,RTC SDK 和 RTM SDK (2.2.0 及以上版本) 都包含 <codeph>aosl.xcframework</codeph> 库。如果你通过 CDN 手动集成 RTC SDK 且同时集成了 RTM SDK,为避免冲突,请手动删除版本较低的 <codeph>aosl.xcframework</codeph> 库。4.5.0 RTC SDK <codeph>aosl.xcframework</codeph> 库版本为 1.2.13。你可以在 <codeph>Info.plist</codeph> 中查看库的版本信息。</p>
<p props="cpp">自 4.5.0 起,RTC SDK 和 RTM SDK (2.2.0 及以上版本) 都包含 <codeph>aosl.dll</codeph> 库。如果你通过 CDN 手动集成 RTC SDK 且同时集成了 RTM SDK,为避免冲突,请手动删除版本较低的 <codeph>aosl.dll</codeph> 库。4.5.0 RTC SDK <codeph>aosl.dll</codeph> 库版本为 1.2.13。你可以通过查看 <codeph>aosl.dll</codeph> 文件的属性来得知库的版本信息。</p>
</note>
<ol>
<li props="cpp"><ph><b>成员参数类型变更</b></ph>
<p>为提升各框架对 Native SDK 的适配性,该版本对一些 API 中的成员或参数做了如下修改:<table frame="all" rowsep="1" colsep="1">
Expand Down Expand Up @@ -109,7 +114,7 @@
<p>当网络情况不稳定时,观众端可以调用 <codeph><apiname keyref="SetAbrFallbackLayer"/></codeph> 来设置订阅的视频流的回退选项。SDK 会以你指定的最低质量层级对应的视频流分辨率为下限,在此范围内根据网络状况动态调整分辨率。</p><p props="hide">有关该功能的实现步骤,详见 <xref keyref="rte-player"/>。</p>
</li>
<li><ph><b>滤镜效果</b></ph>
<p>该版本新增 <codeph><apiname keyref="setFilterEffectOptions"/></codeph> 方法,你可以在 <parmname>config</parmname> 参数中传入指定格式的立方体贴图文件 (.cube),从而实现美白、鲜艳、冷色、黑白等自定义滤镜效果。此外,SDK 提供了一个内置的 <codeph>built_in_whiten_filter.cube</codeph> 文件,用于快速实现美白滤镜效果。</p>
<p>该版本新增 <codeph><apiname keyref="setFilterEffectOptions"/></codeph> 方法,你可以在 <codeph>config</codeph> 参数中传入指定格式的立方体贴图文件 (.cube),从而实现美白、鲜艳、冷色、黑白等自定义滤镜效果。此外,SDK 提供了一个内置的 <codeph>built_in_whiten_filter.cube</codeph> 文件,用于快速实现美白滤镜效果。</p>
</li>
<li><ph><b>本地音频合流</b></ph>
<p>该版本新增本地音频合流功能,你可以调用 <codeph><apiname keyref="startLocalAudioMixer"/></codeph> 方法,将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,你可以将合并后的音频流发布到频道中。不再需要音频合流时,你可以调用 <codeph><apiname keyref="stopLocalAudioMixer"/></codeph> 方法停止本地音频合流;在合流过程中,可以调用 <codeph><apiname keyref="updateLocalAudioMixerConfiguration"/></codeph> 方法更新正在合流的音频流配置。 </p>
Expand Down Expand Up @@ -150,7 +155,7 @@
<p>该版本在 <codeph><apiname keyref="RecorderStreamInfo"/></codeph> 中新增 <parmname>type</parmname> 成员。当调用 <codeph><apiname keyref="createMediaRecorder"/></codeph> 时,可通过该成员指定录制的视频流类型为本地预览视频流,并在 <codeph><apiname keyref="MediaRecorderConfiguration"/></codeph> 中设置录制预览视频的高、宽、帧率、采样率等参数,之后调用 <codeph><apiname keyref="startRecording"/></codeph> 即可开始录制本地预览的视频。</p>
</li>
<li><ph><b>指定视频观测位置截图</b></ph>
<p>该版本新增 <codeph><apiname keyref="takeSnapshot2"/></codeph> 和 <codeph><apiname keyref="takeSnapshotEx2"/></codeph> 方法,你可以在调用该方法时通过 <parmname>config</parmname> 参数,在指定的视频观测点进行截图,比如:编码前、编码后或渲染前的数据,以实现更加灵活的截图效果。</p>
<p>该版本新增 <codeph><apiname keyref="takeSnapshot2"/></codeph> 和 <codeph><apiname keyref="takeSnapshotEx2"/></codeph> 方法,你可以在调用该方法时通过 <codeph>config</codeph> 参数,在指定的视频观测点进行截图,比如:编码前、编码后或渲染前的数据,以实现更加灵活的截图效果。</p>
</li>
<li><ph><b>自定义音频采集改进</b></ph>
<p>该版本在 <codeph><apiname keyref="AudioTrackConfig"/></codeph> 中新增了 <codeph>enableAudioProcessing</codeph> 成员参数,用于控制是否对 <codeph>AUDIO_TRACK_DIRECT</codeph> 类型的自定义音频采集轨道启用 3A 音频处理。该参数默认值为 <codeph><codeph><ph keyref="false"/></codeph></codeph>,即不启用音频处理,用户可以按需开启,此项改动提升了自定义音频处理的灵活性。</p>
Expand Down
8 changes: 4 additions & 4 deletions en-US/dita/RTC-NG/API/class_playerconfig.dita
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@
<pt><ph keyref="GetAutoPlay"/></pt>
<pd>Gets the autoplay settings. See <xref keyref="GetAutoPlay"/>.</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="SetAbrSubscriptionLayer"/></pt>
<pd>Sets the quality level of the subscribed media stream. See <xref keyref="SetAbrSubscriptionLayer"/>.</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="GetAbrSubscriptionLayer"/></pt>
<pd>Gets the quality level of the subscribed video stream. See <xref keyref="GetAbrSubscriptionLayer"/>.</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="SetAbrFallbackLayer"/></pt>
<pd>Sets the fallback option of the subscribed video stream. See <xref keyref="SetAbrFallbackLayer"/>.</pd>
</plentry>
<plentry>
<plentry props="cn">
<pt><ph keyref="GetAbrFallbackLayer"/></pt>
<pd>Gets the fallback option of video stream. See <xref keyref="GetAbrFallbackLayer"/>.</pd>
</plentry>
Expand Down
14 changes: 14 additions & 0 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -6275,6 +6275,20 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="getColorSpace">
<topicmeta>
<keywords>
<keyword>getColorSpace</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="setColorSpace">
<topicmeta>
<keywords>
<keyword>setColorSpace</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="VideoLayout" href="../API/class_videolayout.dita">
<topicmeta>
<keywords>
Expand Down
7 changes: 7 additions & 0 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-links-android.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,12 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="page-size" href="https://developer.android.com/guide/practices/page-sizes" scope="external" format="html">
<topicmeta>
<keywords>
<keyword>Support 16 KB page sizes</keyword>
</keywords>
</topicmeta>
</keydef>
</topichead>
</map>
Loading
Loading