Skip to content

Commit

Permalink
Merge pull request #3592 from AgoraIO/release/rtc-ng/4.3.1
Browse files Browse the repository at this point in the history
Release/rtc ng/4.3.1
  • Loading branch information
Cilla-luodan authored Apr 16, 2024
2 parents f117b4c + b920abc commit 6ca6bfa
Show file tree
Hide file tree
Showing 6 changed files with 505 additions and 21 deletions.
12 changes: 6 additions & 6 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<ol>
<li props="ios unity flutter rn"><ph><b>隐私清单文件 (iOS)</b></ph>
<p>为满足 Apple 对于 App 发布的安全合规要求,SDK 自该版本起新增隐私清单文件 <codeph>PrivacyInfo.xcprivacy</codeph>,其中包含 SDK 中需要访问或使用用户数据的 API 调用说明和 SDK 采集的数据类型说明。</p>
<note>如果你需要将集成 v4.3.1 之前的 SDK 版本的 App 发布到苹果应用商店,则需要在 Xcode 工程中手动添加 <codeph>PrivacyInfo.xcprivacy</codeph> 文件。详见<xref keyref="privacyinfo"/></note></li>
<note>如果你需要将集成 v4.3.1 之前的 SDK 版本的 App 发布到苹果应用商店,则需要在 Xcode 工程中手动添加 <codeph>PrivacyInfo.xcprivacy</codeph> 文件。<ph props="cn">详见<xref keyref="privacyinfo"/></ph></note></li>
<li props="apple framework"><ph><b>人像锁定 (iOS, macOS)</b></ph>
<p>为提升在线会议、秀场、在线教育等场景中的主播演讲效果,该版本新增 <xref keyref="enableCameraCenterStage"/> 方法开启人像锁定功能。该功能可确保主播无论移动与否,始终位于画面中心,以取得良好的演讲效果。 </p>
<p>在开启人像锁定前,建议你先调用 <xref keyref="isCameraCenterStageSupported"/> 查询当前设备性能是否支持该功能。支持的设备清单可参考 <xref keyref="enableCameraCenterStage">API 文档</xref>。</p>
Expand Down Expand Up @@ -58,7 +58,7 @@

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

<ul>
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE"/></codeph></li>
Expand All @@ -198,12 +198,12 @@
<li props="android ios flutter unity rn"><xref keyref="FocalLengthInfo"/> (Android, iOS)</li>
<li props="android ios flutter unity rn"><xref keyref="CAMERA_FOCAL_LENGTH_TYPE"/> (Android, iOS)</li>
<li props="android ios flutter unity rn"><xref keyref="CameraCapturerConfiguration"/> 新增成员 <codeph>cameraFocalLengthType</codeph> (Android, iOS)</li>
<li props="android"><xref keyref="VIDEO_SOURCE_TYPE"/> 新增以下枚举:
<li props="android"><ph><xref keyref="VIDEO_SOURCE_TYPE"/> 新增以下枚举:</ph>
<ul>
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_THIRD"/></codeph>(11)</li>
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_FOURTH"/></codeph>(12)</li>
</ul></li>
<li props="android"><xref keyref="ChannelMediaOptions"/> 新增以下成员:
<li props="android"><ph><xref keyref="ChannelMediaOptions"/> 新增以下成员:</ph>
<ul>
<li><codeph>publishThirdCameraTrack</codeph></li>
<li><codeph>publishFourthCameraTrack</codeph></li>
Expand Down
19 changes: 7 additions & 12 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,12 @@
<ol>
<li><ph><b>Speech Driven Avatar</b></ph>
<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>
<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>
<note type="attention">
<ul>
<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>
<li>The speech driven avatar feature is currently in beta testing. To use it, please <xref keyref="ticket-link"/>.</li>
</ul>
</note>
<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>
<note type="attention">The speech driven avatar feature is currently in beta testing. To use it, please contact <xref keyref="ticket-link"/>.</note>
</li>
<li props="ios unity flutter rn"><ph><b>Privacy manifest file (iOS)</b></ph>
<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>
<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>
<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>
</li>
<li props="apple framework"><ph><b>Center stage camera (iOS, macOS)</b></ph>
<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>
Expand Down Expand Up @@ -180,7 +175,7 @@
<li props="ios flutter unity rn"><xref keyref="CAMERA_STABILIZATION_MODE"/> (iOS)</li>
<li props="android">The <codeph>surfaceTexture</codeph> and <codeph>enableAlphaMask</codeph> members in <xref keyref="VideoCanvas"/></li>
<li props="ios">The <codeph>enableAlphaMask</codeph> member in <xref keyref="VideoCanvas"/></li>
<li props="android mac">The following enumerations in <xref keyref="LOCAL_VIDEO_STREAM_REASON"/>:
<li props="android mac"><ph>The following enumerations in <xref keyref="LOCAL_VIDEO_STREAM_REASON"/>:</ph>
<ul>
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT</codeph></li>
<li props="android"><codeph>LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR</codeph></li>
Expand All @@ -193,7 +188,7 @@
<li><xref keyref="MEDIA_SOURCE_TYPE"/> adds <codeph><apiname keyref="SPEECH_DRIVEN_VIDEO_SOURCE"/></codeph></li>
<li><xref keyref="VIDEO_SOURCE_TYPE"/> adds <codeph><apiname keyref="VIDEO_SOURCE_SPEECH_DRIVEN"/></codeph></li>
<li><xref keyref="EncryptionConfig"/> adds <codeph>datastreamEncryptionEnabled</codeph></li>
<li props="cpp apple framework"><xref keyref="ENCRYPTION_ERROR_TYPE"/> adds the following enumerations:
<li props="cpp apple framework"><ph><xref keyref="ENCRYPTION_ERROR_TYPE"/> adds the following enumerations:</ph>
<ul>
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_DECRYPTION_FAILURE"/></codeph></li>
<li><codeph><apiname keyref="ENCRYPTION_ERROR_DATASTREAM_ENCRYPTION_FAILURE"/></codeph></li>
Expand All @@ -217,12 +212,12 @@
<li props="android ios flutter unity rn"><xref keyref="FocalLengthInfo"/> (Android, iOS)</li>
<li props="android ios flutter unity rn"><xref keyref="CAMERA_FOCAL_LENGTH_TYPE"/> (Android, iOS)</li>
<li props="android ios flutter unity rn"><xref keyref="CameraCapturerConfiguration"/> adds a new member <codeph>cameraFocalLengthType</codeph> (Android, iOS)</li>
<li props="android"><xref keyref="VIDEO_SOURCE_TYPE"/> adds the following enumerations:
<li props="android"><ph><xref keyref="VIDEO_SOURCE_TYPE"/> adds the following enumerations:</ph>
<ul>
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_THIRD"/></codeph>(11)</li>
<li><codeph><apiname keyref="VIDEO_SOURCE_CAMERA_FOURTH"/></codeph>(12)</li>
</ul></li>
<li props="android"><xref keyref="ChannelMediaOptions"/> adds the following members:
<li props="android"><ph><xref keyref="ChannelMediaOptions"/> adds the following members:</ph>
<ul>
<li><codeph>publishThirdCameraTrack</codeph></li>
<li><codeph>publishFourthCameraTrack</codeph></li>
Expand Down
Loading

0 comments on commit 6ca6bfa

Please sign in to comment.