Skip to content

Commit

Permalink
Merge pull request #3375 from AgoraIO/translation/4.x-releasenotes
Browse files Browse the repository at this point in the history
New YiCAT updates
  • Loading branch information
Cilla-luodan authored Sep 28, 2023
2 parents 6a2433f + 6211ee3 commit 9d93a0f
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<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 <codeph><apiname keyref="pushVideoFrame"/></codeph>. By setting the <parmname>d3d11_texture_2d</parmname> and <parmname>texture_slice_index</parmname> properties, you can determine the ID3D11Texture2D texture object to use.</p>
<li props="cpp unity flutter electron"><ph><b>ID3D11Texture2D Rendering</b></ph> (Windows)<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 <codeph>format</codeph> 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 <codeph>d3d11_texture_2d</codeph> and <codeph>texture_slice_index</codeph> properties, you can determine the ID3D11Texture2D texture 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 props="cpp unity flutter electron"><ph><b>Local video status error code update</b></ph> (Windows, macOS)<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>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_RESUMED"/></codeph>(24): Screen capture has resumed from the paused state.</li>
<li><codeph><apiname keyref="LOCAL_VIDEO_STREAM_ERROR_SCREEN_CAPTURE_WINDOW_HIDDEN"/></codeph>(25): The window being captured on the current screen is in a hidden state and is not visible on the current screen.</li>
Expand All @@ -40,7 +40,7 @@
<ol>
<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 the 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>
<li props="cpp unity flutter electron android"><ph><b>Screen sharing scenario optimization</b></ph><p props="cpp unity flutter electron">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 release also 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>
</li>
</ol>
Expand All @@ -57,7 +57,7 @@
<body>
<p>This release fixed the following issues:</p>
<ul>
<li props="cpp">Occasional crashes and dropped frames occured in screen sharing scenarios.</li>
<li props="cpp unity flutter electron">Occasional crashes and dropped frames occured in screen sharing scenarios. (Windows)</li>
<li props="android">When using the H.265 encoding mode, when a Web client joined the interactivity, it caused a redundant <codeph><apiname keyref="onUserEnableLocalVideo"/></codeph> callback on the native side: when the host called <codeph><apiname keyref="enableLocalVideo"/> (true)</codeph>, the receiving end first received a <codeph><apiname keyref="onUserEnableLocalVideo"/></codeph> callback (with <codeph>enabled</codeph> as <codeph>false</codeph>) before receiving a <codeph><apiname keyref="onUserEnableLocalVideo"/></codeph> callback (with <codeph>enabled</codeph> as <codeph>true</codeph>).</li>
<li props="mac unity flutter electron"><p><ph>Occasional crashes when joining a channel. </ph><ph>(macOS)</ph></p></li>
<li>Occasional failure of joining a channel when the local system time was not set correctly.</li>
Expand All @@ -75,16 +75,14 @@
<title>API changes</title>
<body>
<p><b>Added</b><ul>
<li props="cpp">The following enumerations in <codeph><apiname keyref="onLocalVideoStateChanged"/></codeph>:<ul>
<li props="cpp unity flutter electron">The following enumerations in <codeph><apiname keyref="onLocalVideoStateChanged"/></codeph>: (Windows, macOS)<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>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 unity flutter electron"><codeph>d3d11_texture_2d</codeph> and <codeph>texture_slice_index</codeph> members in <codeph><apiname keyref="ExternalVideoFrame"/></codeph>.</li>(Windows)<li props="cpp unity flutter electron"><codeph><apiname keyref="VIDEO_TEXTURE_ID3D11TEXTURE2D"/></codeph> in <codeph><apiname keyref="VIDEO_PIXEL_FORMAT"/></codeph>.</li>(Windows)<li><codeph><apiname keyref="enableContentInspectEx"/></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>
Expand Down

0 comments on commit 9d93a0f

Please sign in to comment.