Skip to content

Commit 6ca6bfa

Browse files
authored
Merge pull request #3592 from AgoraIO/release/rtc-ng/4.3.1
Release/rtc ng/4.3.1
2 parents f117b4c + b920abc commit 6ca6bfa

File tree

6 files changed

+505
-21
lines changed

6 files changed

+505
-21
lines changed

dita/RTC-NG/release/release_notes.dita

+6-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<ol>
2020
<li props="ios unity flutter rn"><ph><b>隐私清单文件 (iOS)</b></ph>
2121
<p>为满足 Apple 对于 App 发布的安全合规要求,SDK 自该版本起新增隐私清单文件 <codeph>PrivacyInfo.xcprivacy</codeph>,其中包含 SDK 中需要访问或使用用户数据的 API 调用说明和 SDK 采集的数据类型说明。</p>
22-
<note>如果你需要将集成 v4.3.1 之前的 SDK 版本的 App 发布到苹果应用商店,则需要在 Xcode 工程中手动添加 <codeph>PrivacyInfo.xcprivacy</codeph> 文件。详见<xref keyref="privacyinfo"/></note></li>
22+
<note>如果你需要将集成 v4.3.1 之前的 SDK 版本的 App 发布到苹果应用商店,则需要在 Xcode 工程中手动添加 <codeph>PrivacyInfo.xcprivacy</codeph> 文件。<ph props="cn">详见<xref keyref="privacyinfo"/></ph></note></li>
2323
<li props="apple framework"><ph><b>人像锁定 (iOS, macOS)</b></ph>
2424
<p>为提升在线会议、秀场、在线教育等场景中的主播演讲效果,该版本新增 <xref keyref="enableCameraCenterStage"/> 方法开启人像锁定功能。该功能可确保主播无论移动与否,始终位于画面中心,以取得良好的演讲效果。 </p>
2525
<p>在开启人像锁定前,建议你先调用 <xref keyref="isCameraCenterStageSupported"/> 查询当前设备性能是否支持该功能。支持的设备清单可参考 <xref keyref="enableCameraCenterStage">API 文档</xref>。</p>
@@ -58,7 +58,7 @@
5858

5959
<ul>
6060
<li props="android"><codeph>surfaceTexture</codeph>:设置一个 Android 原生的 <codeph>SurfaceTexture</codeph> 对象作为提供视频图像的容器,然后使用 SDK 外部的方法自行实现 OpenGL 中的纹理绘制。</li>
61-
<li>enableAlphaMask:可以通过该成员设置接收端是否开启 alpha 遮罩渲染。alpha 遮罩渲染功能可以创建具有透明效果的图像或提取视频中的人像。</li>
61+
<li><codeph>enableAlphaMask</codeph>:可以通过该成员设置接收端是否开启 alpha 遮罩渲染。alpha 遮罩渲染功能可以创建具有透明效果的图像或提取视频中的人像。</li>
6262
</ul></p>
6363
</li>
6464
<li><ph><b>视频小流自适应配置</b></ph>
@@ -166,14 +166,14 @@
166166
<li props="ios flutter unity rn"><xref keyref="CAMERA_STABILIZATION_MODE"/> (iOS)</li>
167167
<li props="android"><xref keyref="VideoCanvas"/> 中新增 <codeph>surfaceTexture</codeph> 和 <codeph>enableAlphaMask</codeph></li>
168168
<li props="ios"><xref keyref="VideoCanvas"/> 中新增 <codeph>enableAlphaMask</codeph></li>
169-
<li props="android mac"><xref keyref="LOCAL_VIDEO_STREAM_REASON"/> 中新增如下枚举:
169+
<li props="android mac"><ph><xref keyref="LOCAL_VIDEO_STREAM_REASON"/> 中新增如下枚举:</ph>
170170
<ul>
171171
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT</codeph></li>
172172
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR</codeph></li>
173173
<li props="mac"><codeph><ph keyref="LOCAL_VIDEO_STREAM_REASON_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED"/></codeph></li>
174174
</ul></li>
175175
<li><xref keyref="EncryptionConfig"/> 中新增 <codeph>datastreamEncryptionEnabled</codeph></li>
176-
<li props="cpp apple framework"><xref keyref="ENCRYPTION_ERROR_TYPE"/> 中新增如下枚举:
176+
<li props="cpp apple framework"><ph><xref keyref="ENCRYPTION_ERROR_TYPE"/> 中新增如下枚举:</ph>
177177

178178
<ul>
179179
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE"/></codeph></li>
@@ -198,12 +198,12 @@
198198
<li props="android ios flutter unity rn"><xref keyref="FocalLengthInfo"/> (Android, iOS)</li>
199199
<li props="android ios flutter unity rn"><xref keyref="CAMERA_FOCAL_LENGTH_TYPE"/> (Android, iOS)</li>
200200
<li props="android ios flutter unity rn"><xref keyref="CameraCapturerConfiguration"/> 新增成员 <codeph>cameraFocalLengthType</codeph> (Android, iOS)</li>
201-
<li props="android"><xref keyref="VIDEO_SOURCE_TYPE"/> 新增以下枚举:
201+
<li props="android"><ph><xref keyref="VIDEO_SOURCE_TYPE"/> 新增以下枚举:</ph>
202202
<ul>
203203
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_THIRD"/></codeph>(11)</li>
204204
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_FOURTH"/></codeph>(12)</li>
205205
</ul></li>
206-
<li props="android"><xref keyref="ChannelMediaOptions"/> 新增以下成员:
206+
<li props="android"><ph><xref keyref="ChannelMediaOptions"/> 新增以下成员:</ph>
207207
<ul>
208208
<li><codeph>publishThirdCameraTrack</codeph></li>
209209
<li><codeph>publishFourthCameraTrack</codeph></li>

en-US/dita/RTC-NG/release/release_notes.dita

+7-12
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,12 @@
1919
<ol>
2020
<li><ph><b>Speech Driven Avatar</b></ph>
2121
<p>The SDK introduces a speech driven extension that converts speech information into corresponding facial expressions to animate avatar. You can access the facial information through the newly added <xref keyref="registerFaceInfoObserver"/> method and <xref keyref="onFaceInfo"/> callback. This facial information conforms to the ARKit standard for Blend Shapes (BS), which you can further process using third-party 3D rendering engines.</p>
22-
<p>The speech driven extension is a trimmable dynamic library, and details about the increase in app size are available at <xref keyref="reduce-app-size"/>.</p>
23-
<note type="attention">
24-
<ul>
25-
<li>The Agora SDK extension extension, MetaKit, simplifies the implementation process of animating avatar with speech, eliminating the need to build your own framework for collection, encoding, and transmission. Detailed introduction and integration guidance for MetaKit are available at <xref keyref="metakit-overview"/>.</li>
26-
<li>The speech driven avatar feature is currently in beta testing. To use it, please <xref keyref="ticket-link"/>.</li>
27-
</ul>
28-
</note>
22+
<p>The speech driven extension is a trimmable dynamic library, and details about the increase in app size are available at [reduce-app-size]().</p>
23+
<note type="attention">The speech driven avatar feature is currently in beta testing. To use it, please contact <xref keyref="ticket-link"/>.</note>
2924
</li>
3025
<li props="ios unity flutter rn"><ph><b>Privacy manifest file (iOS)</b></ph>
3126
<p>To meet Apple's safety compliance requirements for app publication, the SDK now includes a privacy manifest file, <codeph>PrivacyInfo.xcprivacy</codeph>, detailing the SDK's API calls that access or use user data, along with a description of the types of data collected.</p>
32-
<note>If you need to publish an app with SDK versions prior to v4.3.1 to the Apple App Store, you must manually add the <codeph>PrivacyInfo.xcprivacy</codeph> file to your Xcode project. For more details, see <xref keyref="privacyinfo"/>.</note>
27+
<note>If you need to publish an app with SDK versions prior to v4.3.1 to the Apple App Store, you must manually add the <codeph>PrivacyInfo.xcprivacy</codeph> file to your Xcode project.</note>
3328
</li>
3429
<li props="apple framework"><ph><b>Center stage camera (iOS, macOS)</b></ph>
3530
<p>To enhance the presentation effect in online meetings, shows, and online education scenarios, this version introduces the <xref keyref="enableCameraCenterStage"/> method to activate the center stage camera feature. This ensures that presenters, regardless of movement, always remain centered in the video frame, achieving better presentation effects.</p>
@@ -180,7 +175,7 @@
180175
<li props="ios flutter unity rn"><xref keyref="CAMERA_STABILIZATION_MODE"/> (iOS)</li>
181176
<li props="android">The <codeph>surfaceTexture</codeph> and <codeph>enableAlphaMask</codeph> members in <xref keyref="VideoCanvas"/></li>
182177
<li props="ios">The <codeph>enableAlphaMask</codeph> member in <xref keyref="VideoCanvas"/></li>
183-
<li props="android mac">The following enumerations in <xref keyref="LOCAL_VIDEO_STREAM_REASON"/>:
178+
<li props="android mac"><ph>The following enumerations in <xref keyref="LOCAL_VIDEO_STREAM_REASON"/>:</ph>
184179
<ul>
185180
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT</codeph></li>
186181
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR</codeph></li>
@@ -193,7 +188,7 @@
193188
<li><xref keyref="MEDIA_SOURCE_TYPE"/> adds <codeph><apiname keyref="SPEECH_DRIVEN_VIDEO_SOURCE"/></codeph></li>
194189
<li><xref keyref="VIDEO_SOURCE_TYPE"/> adds <codeph><apiname keyref="VIDEO_SOURCE_SPEECH_DRIVEN"/></codeph></li>
195190
<li><xref keyref="EncryptionConfig"/> adds <codeph>datastreamEncryptionEnabled</codeph></li>
196-
<li props="cpp apple framework"><xref keyref="ENCRYPTION_ERROR_TYPE"/> adds the following enumerations:
191+
<li props="cpp apple framework"><ph><xref keyref="ENCRYPTION_ERROR_TYPE"/> adds the following enumerations:</ph>
197192
<ul>
198193
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE"/></codeph></li>
199194
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE"/></codeph></li>
@@ -217,12 +212,12 @@
217212
<li props="android ios flutter unity rn"><xref keyref="FocalLengthInfo"/> (Android, iOS)</li>
218213
<li props="android ios flutter unity rn"><xref keyref="CAMERA_FOCAL_LENGTH_TYPE"/> (Android, iOS)</li>
219214
<li props="android ios flutter unity rn"><xref keyref="CameraCapturerConfiguration"/> adds a new member <codeph>cameraFocalLengthType</codeph> (Android, iOS)</li>
220-
<li props="android"><xref keyref="VIDEO_SOURCE_TYPE"/> adds the following enumerations:
215+
<li props="android"><ph><xref keyref="VIDEO_SOURCE_TYPE"/> adds the following enumerations:</ph>
221216
<ul>
222217
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_THIRD"/></codeph>(11)</li>
223218
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_FOURTH"/></codeph>(12)</li>
224219
</ul></li>
225-
<li props="android"><xref keyref="ChannelMediaOptions"/> adds the following members:
220+
<li props="android"><ph><xref keyref="ChannelMediaOptions"/> adds the following members:</ph>
226221
<ul>
227222
<li><codeph>publishThirdCameraTrack</codeph></li>
228223
<li><codeph>publishFourthCameraTrack</codeph></li>

0 commit comments

Comments
 (0)