Skip to content

Commit

Permalink
Merge pull request #3694 from AgoraIO/release/rtc-ng/4.4.0
Browse files Browse the repository at this point in the history
Release/rtc ng/4.4.0
  • Loading branch information
Cilla-luodan authored Jul 11, 2024
2 parents d8a4a33 + 1b20ab4 commit c5bd192
Show file tree
Hide file tree
Showing 11 changed files with 225 additions and 94 deletions.
2 changes: 0 additions & 2 deletions dita/RTC-NG/API/api_irtcengine_geteffectcurrentposition.dita
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<codeblock props="android" outputclass="language-java">public int getEffectCurrentPosition(int soundId);</codeblock>
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId NS_SWIFT_NAME(getEffectCurrentPosition(_:));</codeblock>
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int getEffectCurrentPosition(int soundId) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int GetEffectCurrentPosition(int soundId);</codeblock>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
<li props="cpp unreal bp electron unity cs flutter">在 Windows 平台上,最多支持 4 路摄像头采集的视频流 + 4 路屏幕共享流合图。</li>
<li props="cpp unreal bp mac unity electron flutter">在 macOS 平台上,最多支持 4 路摄像头采集的视频流 + 1 路屏幕共享流合图。</li>
<li props="cpp unreal bp unity rn flutter">在 Android 和 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。</li>
<li props="android hmos">在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。</li>
<li props="android">在 Android 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。</li>
<li props="ios">在 iOS 平台上,最多支持 2 路摄像头采集的视频流(需要设备本身支持双摄或支持外接摄像头)+ 1 路屏幕共享合图。</li></ul></li>
<li>在进行合图配置时,需确保采集人像的摄像头视频流在合图中的图层编号大于屏幕共享流的图层编号,否则人像会被屏幕共享覆盖、无法显示在最终合图的视频流中。</li>
</ul>
Expand Down
3 changes: 2 additions & 1 deletion dita/RTC-NG/API/class_advanceoptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ struct FAdvanceOptions {
<codeblock props="rn" outputclass="language-typescript">export class AdvanceOptions {
encodingPreference?: EncodingPreference;
compressionPreference?: CompressionPreference;
}</codeblock> <codeblock props="flutter" outputclass="language-dart">class AdvanceOptions {
}</codeblock>
<codeblock props="flutter" outputclass="language-dart">class AdvanceOptions {
const AdvanceOptions({this.encodingPreference, this.compressionPreference});

@JsonKey(name: 'encodingPreference')
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/RTC_NG_API_Android.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@
</topicref>
<topicref href="API/toc_drm.dita" chunk="to-content" props="cn">
<topicref keyref="createMusicPlayer" toc="no"/>
<topicref keyref="destroyMusicPlayer" toc="no"/>
<topicref keyref="destroy_IMusicContentCenter" toc="no"/>
<topicref keyref="destroy_IMusicPlayer" toc="no"/>
<topicref keyref="getCaches" toc="no"/>
Expand Down
7 changes: 7 additions & 0 deletions dita/RTC-NG/config/keys-rtc-ng-api-java.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -3515,6 +3515,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="destroyMusicPlayer" href="../API/api_imusiccontentcenter_destroymusicplayer.dita">
<topicmeta>
<keywords>
<keyword>destroyMusicPlayer</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="getLyric" href="../API/api_imusiccontentcenter_getlyric.dita">
<topicmeta>
<keywords>
Expand Down
46 changes: 23 additions & 23 deletions dita/RTC-NG/release/release_notes.dita

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<codeblock props="android" outputclass="language-java">public int getEffectCurrentPosition(int soundId);</codeblock>
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId NS_SWIFT_NAME(getEffectCurrentPosition(_:));</codeblock>
<codeblock props="hmos" outputclass="language-arkts"></codeblock>
<codeblock props="ios mac" outputclass="language-objectivec">- (int)getEffectCurrentPosition:(int)soundId;</codeblock>
<codeblock props="cpp unreal" outputclass="language-cpp">virtual int getEffectCurrentPosition(int soundId) = 0;</codeblock>
<codeblock props="bp" outputclass="language-cpp">UFUNCTION(BlueprintCallable, Category = &quot;Agora|RtcEngineProxy&quot;)
int GetEffectCurrentPosition(int soundId);</codeblock>
Expand Down
3 changes: 2 additions & 1 deletion en-US/dita/RTC-NG/API/class_advanceoptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ struct FAdvanceOptions {
<codeblock props="rn" outputclass="language-typescript">export class AdvanceOptions {
encodingPreference?: EncodingPreference;
compressionPreference?: CompressionPreference;
}</codeblock> <codeblock props="flutter" outputclass="language-dart">class AdvanceOptions {
}</codeblock>
<codeblock props="flutter" outputclass="language-dart">class AdvanceOptions {
const AdvanceOptions({this.encodingPreference, this.compressionPreference});

@JsonKey(name: 'encodingPreference')
Expand Down
7 changes: 7 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 @@ -3515,6 +3515,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="destroyMusicPlayer" href="../API/api_imusiccontentcenter_destroymusicplayer.dita">
<topicmeta>
<keywords>
<keyword>destroyMusicPlayer</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="getLyric" href="../API/api_imusiccontentcenter_getlyric.dita">
<topicmeta>
<keywords>
Expand Down
101 changes: 101 additions & 0 deletions en-US/dita/RTC-NG/release/release_ng_4.3.2.dita
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
<topic id="release_notes">
<title>v4.3.2</title>
<body>
<p>This version was released on May x, 20xx.</p>
</body>
<topic id="level2">
<title/>
<topic id="compatibility" props="hide">
<title>Upgrade Notes</title>
<body>
<ol>
<li><ph><b>Important Upgrade Information</b></ph>
<ul>
<li><?oxy-placeholder content="Describe using a list"?></li>
<li><?oxy-placeholder content="Describe using a list"?></li>
</ul>
</li>
<li><ph><b>Important Upgrade Information</b></ph>
<p><?oxy-placeholder content="Describe using a paragraph"?></p>
</li>
</ol>
</body>
</topic>
<topic id="newfeature" props="hide">
<title>New Features</title>
<body>
<ol>
<li><ph><b>New Feature Name</b></ph>
<ul>
<li><?oxy-placeholder content="Describe using a list"?></li>
<li><?oxy-placeholder content="Describe using a list"?></li>
</ul>
</li>
<li><ph><b>New Feature Name</b></ph>
<p><?oxy-placeholder content="Describe using a paragraph"?></p>
</li>
</ol>
</body>
</topic>
<topic id="improvement">
<title>Improvements</title>
<body>
<ol>
<li>This release enhances the usability of the <xref keyref="setRemoteSubscribeFallbackOption"/> method by removing the timing requirements for invocation. It can now be called both before and after joining the channel to dynamically switch audio and video stream fallback options in weak network conditions.</li>
<li props="android ios">The Agora media player supports playing MP4 files with an Alpha channel. (iOS, Android)</li>
<li props="android">The Agora media player fully supports playing music files located in the <codeph>/assets/</codeph> directory or from URI starting with <codeph>content://</codeph>. (Android)</li>
</ol>
</body>
</topic>
<topic id="bugfix">
<title>Issues fixed</title>
<body><p>This version fixed the following issues:</p>
<ul>
<li props="ios flutter unity rn">The remote video froze or became pixelated when the app returned to the foreground after being in the background for a long time. (iOS)</li>
<li props="ios flutter unity rn">The local preview image rotated by 90° on some iPad devices, which did not meet expectations. (iOS)</li>
<li>Occasional video smoothness issues during audio and video interactions.</li>
<li>The app occasionally crashed when the decoded video resolution on the receiving end was an odd number.</li>
<li props="android flutter unity rn">The app crashed when opening the app and starting screen sharing after the first installation or system reboot. (Android)</li>
<li props="android flutter unity rn">Local audio capture failed after joining a channel while answering a system phone call and hanging up, causing remote users to not hear any sound. (Android)</li>
<li props="android flutter unity rn">During the interaction process on certain devices (for example, Redmi Note8), after answering and hanging up a system call, local media files were played without sound and no sound was heard from the remote end. (Android)</li>
<li>Fixed an occasional crash when remote users left the channel.</li>
<li props="cpp flutter unity electron">The screen occasionally flickered on the receiver's side when sharing a PPT window using <xref keyref="startScreenCaptureByWindowId"/> and playing PPT animations. (Windows)</li>
<li props="cpp flutter unity electron">The window border did not retain its original size after exiting the presentation and then maximizing the PPT window when sharing a WPS PPT window on Windows 7 using <xref keyref="startScreenCaptureByWindowId"/> and setting <codeph>enableHighLight</codeph> in <xref keyref="ScreenCaptureParameters"/> to <codeph><ph keyref="true"/></codeph>. (Windows)</li>
<li props="cpp flutter unity electron">The specified window could not be brought to the foreground if it was covered by other windows when sharing a window using <xref keyref="startScreenCaptureByWindowId"/> and setting <codeph>windowFocus</codeph> and <codeph>enableHighLight</codeph> in <xref keyref="ScreenCaptureParameters"/> to <codeph><ph keyref="true"/></codeph>. (Windows)</li>
<li props="cpp flutter unity electron">Clicking on the desktop widget caused the outlined part to flicker when sharing and highlighting a window on a Windows 7 device. (Windows)</li>
<li props="android">The values of <codeph>cameraDirection</codeph> and <codeph>focalLengthType</codeph> in <xref keyref="AgoraFocalLengthInfo"/> returned by <xref keyref="queryCameraFocalLengthCapability"/> could not be read directly.</li>
<li props="ios flutter unity rn">When playing an audio file using <xref keyref="startAudioMixing"/> and the playing finished, the SDK sometimes failed to trigger the <xref keyref="onAudioMixingStateChanged"/>(<ph keyref="AUDIO_MIXING_STATE_STOPPED"/>, <ph keyref="AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED"/>) callback which reports that the playing is completed. (iOS)</li>
<li props="ios flutter unity rn">When calling the <xref keyref="playEffect3"/> method to play sound effect files shorter than 1 second with <codeph>loopCount</codeph> set to 0, there was no sound. (iOS)</li>
<li props="ios flutter unity rn">When using the Agora media player to play a video and stopping it during playing, sometimes there was no sound for a short time after the playing was resumed. (iOS)</li>
</ul>
</body>
</topic>
<topic id="apichange">
<title>API Changes</title>
<body>
<p><b>Added</b>
<ul>
<li><codeph><apiname/></codeph></li>
</ul>
</p>
<p><b>Modified</b>
<ul>
<li><apiname/></li>
</ul>
</p>
<p><b>Deprecated</b>
<ul>
<li><apiname/></li>
</ul>
</p>
<p><b>Removed</b>
<ul>
<li><apiname/></li>
</ul>
</p>
</body>
</topic>
</topic>
</topic>
Loading

0 comments on commit c5bd192

Please sign in to comment.