Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Sep 22, 2023
1 parent 5a279cf commit 4b57873
Showing 1 changed file with 18 additions and 22 deletions.
40 changes: 18 additions & 22 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,21 @@
<topic id="level2">
<title>v4.2.3</title>
<body>
<p>v4.2.2 was released on September xx, 2023.</p>
<p>v4.2.3 was released on September xx, 2023.</p>
</body>
<topic id="level3">
<title/>
<topic id="newfeature">
<title>New features</title>
<body>
<ol>
<li><ph><b><b>Video screenshot and upload</b></b></ph><p><ph>为方便接入声网云市场提供的第三方视频审核服务,该版本有以下改动:</ph>
<ul>
<li props="cpp apple unity rn flutter"><codeph><apiname keyref="CONTENT_INSPECT_TYPE"/></codeph>中新增 <codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> 枚举值,代表使用声网云市场视频审核插件对视频截图并上传。</li>
<li props="android"><codeph><apiname keyref="ContentInspectModule"/></codeph>中的 <codeph>type</codeph> 新增 <codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> 枚举值,代表使用声网云市场视频审核插件对视频截图并上传。</li>
<li><codeph><apiname keyref="ContentInspectConfig"/></codeph>中新增的 <codeph>serverConfig</codeph> 可选参数用于云市场视频截图上传相关服务端配置,配置后可同时接入多个云市场审核插件并实现灵活控制插件开关等功能,详情请<ph keyref="ticket-link"/>。</li>
</ul> <ph>此外,该版本还新增了 <codeph><apiname keyref="enableContentInspectEx"/></codeph> 方法,支持同时对多条视频流截图并上传。</ph>
</p>
<li><ph><b><b>Update video screenshot and upload</b></b></ph><p><ph>To facilitate the integration of third-party video moderation services from Agora Extensions Marketplace, this version has the following changes:</ph><ul>
<li props="cpp apple unity rn flutter">The <codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> enumeration is added in <codeph><apiname keyref="CONTENT_INSPECT_TYPE"/></codeph> which means using video moderation extensions from Agora Extensions Marketplace to take video screenshots and upload them.</li>
<li props="android">The <codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> enumeration is added in the <codeph>type</codeph> parameter of <codeph><apiname keyref="ContentInspectModule"/></codeph>, which means using video moderation extensions from Agora Extensions Marketplace to take video screenshots and upload them.</li>
<li>An optional parameter <codeph>serverConfig</codeph> is added in <codeph><apiname keyref="ContentInspectConfig"/></codeph>, which is for server-side configuration related to video screenshot and upload via extensions from Agora Extensions Marketplace. By configuring this parameter, you can integrate multiple third-party moderation extensions and achieve flexible control over extension switches and other features. For more details, please contact <ph keyref="ticket-link"/>.</li>
</ul><ph>In addition, this version also introduces the <codeph><apiname keyref="enableContentInspectEx"/></codeph> method, which supports taking screenshots for multiple video streams and uploading them.</ph></p>
</li>
<li props="cpp"><ph><b>ID3D11Texture2D Rendering </b></ph><p>As of this release, the SDK supports video formats of type ID3D11Texture2D, improving the rendering effect of video frames in game scenarios. You can set <parmname>format</parmname> to <codeph>VIDEO_TEXTURE_ID3D11TEXTURE2D</codeph> when pushing external raw video frames to the SDK by calling . By setting the *<parmname>d3d11_texture_2d</parmname> and texture_slice_index properties, you can determine the ID3D11Texture2D<parmname> texture</parmname> object to use.<codeph><apiname keyref="pushVideoFrame"/></codeph></p>
<li props="cpp"><ph><b>ID3D11Texture2D Rendering </b></ph><p>As of this release, the SDK supports video formats of type ID3D11Texture2D, improving the rendering effect of video frames in game scenarios. You can set <parmname>format</parmname> to <codeph>VIDEO_TEXTURE_ID3D11TEXTURE2D</codeph> when pushing external raw video frames to the SDK by calling <codeph><apiname keyref="pushVideoFrame"/></codeph>. By setting the <parmname>d3d11_texture_2d</parmname> and texture_slice_index properties, you can determine the ID3D11Texture2D<parmname> texture</parmname> object to use.</p>
</li>
<li props="cpp"><ph><b>Local video status error code update</b></ph><p>In order to help users understand the exact reasons for local video errors in screen sharing scenarios, the following sets of enumerations have been added to the <codeph><apiname keyref="onLocalVideoStateChanged"/></codeph> callback:<ul>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED"/></codeph>(23): Screen capture has been paused. Common scenarios for reporting this error code: The current screen may have been switched to a secure desktop, such as a UAC dialog box or Winlogon desktop.</li>
Expand All @@ -38,8 +36,7 @@
<title>Improvements</title>
<body>
<ol>
<li><ph><b>优化虚拟背景内存占用</b></ph>
<p>该版本升级了虚拟背景算法,降低了虚拟背景功能的内存占用。 相比之前的版本,在低端机上使用虚拟背景功能时 App 运行占用的内存降低了约 4%~10%(具体数值取决于设备型号和平台)。</p>
<li><ph><b>Optimize virtual background memory usage</b></ph><p>This version has upgraded the virtual background algorithm, reducing the memory usage of the virtual background feature. Compared to the previous version, the memory consumption of the app during the use of virtual background feature on low-end devices has been reduced by approximately 4% to 10% (specific values may vary depending on the device model and platform).</p>
</li>
<li props="cpp android"><ph><b>Screen sharing scenario optimization</b></ph><p props="cpp">This release optimizes the performance and encoding efficiency in ultra-high-definition (4K, 60 fps) game sharing scenarios, effectively reducing the system resource usage during screen sharing.</p>
<p props="android">This version optimizes the video encoding configuration in screen sharing scenarios. When users customize the <codeph>width</codeph> and <codeph>height</codeph> properties of the video, the SDK rounds down the actual encoding resolution while maintaining the aspect ratio of the video and the screen, ensuring that the final encoding resolution does not exceed the user-defined encoding resolution, thereby improving the accuracy of billing for screen sharing streams.</p>
Expand All @@ -48,7 +45,7 @@
<p><b>Other Improvements</b></p>
<p>This release includes the following additional improvements:<ul>
<li props="android">Optimizes the management method of Texture Buffer for SDK capture and custom video capture scenarios, effectively eliminating frame dropping and crash risks.</li>
<li>当调用 <codeph><apiname keyref="setPlaybackSpeed"/></codeph> 设置音频文件的播放进度时,传入非法参数后会返回错误码 -2,表示方法中设置了无效的参数,需要重新设置参数。</li>
<li>When <codeph><apiname keyref="setPlaybackSpeed"/></codeph></li>
<li>优化了 Token 解析时的逻辑,避免传入非法 Token 后 App 发生崩溃。</li>
</ul></p>
</body>
Expand All @@ -64,32 +61,31 @@
<li>本地系统时间不正确时,偶现加入频道失败。</li>
<li>调用 playEffect 使用相同的 soundId 播放两个不同的音效文件,偶现第一个音效文件播放完毕后会重复播放。</li>
<li props="android unity flutter rn"><p><ph>主播调用 <codeph><apiname keyref="startAudioMixing2"/></codeph> 播放音乐文件时,偶现主播本地无法听见音乐,远端用户可以正常听见。 </ph><ph props="unity flutter rn">(Android)</ph></p></li>
<li props="android ios unity flutter rn"><p><ph>合唱场景下,调用 <codeph><apiname keyref="preload"/></codeph> 加载音乐,偶现加载失败。 </ph>(Android, iOS)<ph props="unity flutter"></ph></p></li>
<li props="android ios unity flutter rn"><p><ph>合唱场景下,调用 <codeph><apiname keyref="preload"/></codeph> 加载音乐,偶现加载失败。 </ph><ph props="unity flutter">(Android, iOS)</ph></p></li>
<li props="android unity flutter rn"><p><ph>在特定机型上开启 AI 降噪偶现崩溃。 </ph><ph props="unity flutter rn">(Android)</ph></p></li>
<li props="android ios unity flutter rn"><p><ph>当本地系统时间不准确时,歌曲榜单加载失败。 </ph><ph props="unity flutter">(Android, iOS)</ph></p></li>
<li>调用一次 <codeph><apiname keyref="takeSnapshotEx"/></codeph> 获取视频截图会收到多次 <codeph><apiname keyref="onSnapshotTaken"/></codeph> 视频截图结果回调。</li>
<li props="android unity flutter rn"><p><ph>在仅调用 <codeph><apiname keyref="joinChannelEx"/></codeph> 加入的频道中,调用 <codeph><apiname keyref="setEnableSpeakerphone"/></codeph> 无法将音频路由从扬声器切换至听筒。 </ph><ph props="unity flutter rn">(Android)</ph></p></li>
<li>Calling <codeph><apiname keyref="takeSnapshotEx"/></codeph> once receives the <codeph><apiname keyref="onSnapshotTaken"/></codeph> callback for multiple times. </li>
<li props="android unity flutter rn"><p><ph>In channels joined by calling <codeph><apiname keyref="joinChannelEx"/></codeph> exclusively, calling <codeph><apiname keyref="setEnableSpeakerphone"/></codeph> is unable to switch audio route from the speaker to the headphone. </ph><ph props="unity flutter rn">(Android)</ph></p></li>
</ul>
</body>
</topic>
<topic id="apichange">
<title>API changes</title>
<body>
<p><b>Added</b><ul>
<li props="cpp"><codeph><apiname keyref="onLocalVideoStateChanged"/></codeph>中新增如下枚举:
<ul>
<li props="cpp">The following enumerations in <codeph><apiname keyref="onLocalVideoStateChanged"/></codeph>:<ul>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_PAUSED"/></codeph></li>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED"/></codeph></li>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_HIDDEN"/></codeph></li>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_HIDDEN"/></codeph></li>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_RECOVER_FROM_MINIMIZED"/></codeph></li>
</ul></li>
<li props="cpp"><codeph><apiname keyref="ExternalVideoFrame"/></codeph>中新增 <codeph>d3d11_texture_2d</codeph> <codeph>texture_slice_index</codeph> 成员</li>
<li props="cpp"><codeph><apiname keyref="VIDEO_PIXEL_FORMAT"/></codeph>中新增 <codeph><apiname keyref="VIDEO_TEXTURE_ID3D11TEXTURE2D"/></codeph> 枚举</li>
<li props="cpp"><codeph>d3d11_texture_2d</codeph> and <codeph>texture_slice_index</codeph> members in <codeph><apiname keyref="ExternalVideoFrame"/></codeph>.</li>
<li props="cpp"><codeph><apiname keyref="VIDEO_TEXTURE_ID3D11TEXTURE2D"/></codeph> in <codeph><apiname keyref="VIDEO_PIXEL_FORMAT"/></codeph>.</li>
<li><codeph><apiname keyref="enableContentInspectEx"/></codeph></li>
<li props="cpp apple rn unity flutter">Added<codeph><apiname keyref="CONTENT_INSPECT_TYPE"/></codeph><codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph></li>
<li props="android"><codeph><apiname keyref="ContentInspectModule"/></codeph>中的 <codeph>type</codeph> 新增 <codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> </li>
<li><codeph><apiname keyref="ContentInspectConfig"/></codeph>中新增 <codeph>serverConfig</codeph> 可选参数</li>
<li props="cpp apple rn unity flutter"><codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> in <codeph><apiname keyref="CONTENT_INSPECT_TYPE"/></codeph>.</li>
<li props="android"><codeph><apiname keyref="CONTENT_INSPECT_IMAGE_MODERATION"/></codeph> in <codeph>type</codeph> of <codeph><apiname keyref="ContentInspectModule"/></codeph>.</li>
<li><codeph>serverConfig</codeph> in <codeph><apiname keyref="ContentInspectConfig"/></codeph></li>
<li><codeph><apiname keyref="isFeatureAvailableOnDevice"/></codeph></li>
<li><codeph><apiname keyref="FeatureType"/></codeph></li>
</ul></p>
Expand Down

0 comments on commit 4b57873

Please sign in to comment.