Skip to content

Commit

Permalink
Merge branch '4.5.0-release' of github.com:AgoraIO/agora_doc_source i…
Browse files Browse the repository at this point in the history
…nto 4.5.0-release
  • Loading branch information
Suri539 committed Nov 14, 2024
2 parents 301e61b + 88e87dc commit dd76f69
Show file tree
Hide file tree
Showing 3 changed files with 1,103 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<p>当网络情况不稳定时,观众端可以调用 <codeph><apiname keyref="SetAbrFallbackLayer"/></codeph> 来设置订阅的视频流的回退选项。SDK 会以你指定的最低质量层级对应的视频流分辨率为下限,在此范围内根据网络状况动态调整分辨率。</p><p props="hide">有关该功能的实现步骤,详见 <xref keyref="rte-player"/>。</p>
</li>
<li><ph><b>滤镜效果</b></ph>
<p>该版本新增 <codeph><apiname keyref="setFilterEffectOptions"/></codeph> 方法,你可以在 <parmname>config</parmname> 参数中传入指定格式的立方体贴图文件 (.cube),从而实现美白、鲜艳、冷色、黑白等自定义滤镜效果。此外,SDK 提供了一个内置的 <codeph>built_in_whiten_filter.cube</codeph> 文件,用于快速实现美白滤镜效果。</p>
<p>该版本新增 <codeph><apiname keyref="setFilterEffectOptions"/></codeph> 方法,你可以在 <codeph>config</codeph> 参数中传入指定格式的立方体贴图文件 (.cube),从而实现美白、鲜艳、冷色、黑白等自定义滤镜效果。此外,SDK 提供了一个内置的 <codeph>built_in_whiten_filter.cube</codeph> 文件,用于快速实现美白滤镜效果。</p>
</li>
<li><ph><b>本地音频合流</b></ph>
<p>该版本新增本地音频合流功能,你可以调用 <codeph><apiname keyref="startLocalAudioMixer"/></codeph> 方法,将本地麦克风采集的音频流、媒体播放器中的音频流、声卡采集的音频流、远端音频流等合并为一路音频流,你可以将合并后的音频流发布到频道中。不再需要音频合流时,你可以调用 <codeph><apiname keyref="stopLocalAudioMixer"/></codeph> 方法停止本地音频合流;在合流过程中,可以调用 <codeph><apiname keyref="updateLocalAudioMixerConfiguration"/></codeph> 方法更新正在合流的音频流配置。 </p>
Expand Down Expand Up @@ -155,7 +155,7 @@
<p>该版本在 <codeph><apiname keyref="RecorderStreamInfo"/></codeph> 中新增 <parmname>type</parmname> 成员。当调用 <codeph><apiname keyref="createMediaRecorder"/></codeph> 时,可通过该成员指定录制的视频流类型为本地预览视频流,并在 <codeph><apiname keyref="MediaRecorderConfiguration"/></codeph> 中设置录制预览视频的高、宽、帧率、采样率等参数,之后调用 <codeph><apiname keyref="startRecording"/></codeph> 即可开始录制本地预览的视频。</p>
</li>
<li><ph><b>指定视频观测位置截图</b></ph>
<p>该版本新增 <codeph><apiname keyref="takeSnapshot2"/></codeph> 和 <codeph><apiname keyref="takeSnapshotEx2"/></codeph> 方法,你可以在调用该方法时通过 <parmname>config</parmname> 参数,在指定的视频观测点进行截图,比如:编码前、编码后或渲染前的数据,以实现更加灵活的截图效果。</p>
<p>该版本新增 <codeph><apiname keyref="takeSnapshot2"/></codeph> 和 <codeph><apiname keyref="takeSnapshotEx2"/></codeph> 方法,你可以在调用该方法时通过 <codeph>config</codeph> 参数,在指定的视频观测点进行截图,比如:编码前、编码后或渲染前的数据,以实现更加灵活的截图效果。</p>
</li>
<li><ph><b>自定义音频采集改进</b></ph>
<p>该版本在 <codeph><apiname keyref="AudioTrackConfig"/></codeph> 中新增了 <codeph>enableAudioProcessing</codeph> 成员参数,用于控制是否对 <codeph>AUDIO_TRACK_DIRECT</codeph> 类型的自定义音频采集轨道启用 3A 音频处理。该参数默认值为 <codeph><codeph><ph keyref="false"/></codeph></codeph>,即不启用音频处理,用户可以按需开启,此项改动提升了自定义音频处理的灵活性。</p>
Expand Down
4 changes: 2 additions & 2 deletions en-US/dita/RTC-NG/release/release_notes.dita
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
<p>As of this version, audience members can directly open a specific URL to play the real-time media stream through <codeph><apiname keyref="OpenWithUrl"/></codeph>, instead of joining a channel and subscribing to the streams of hosts, which greatly simplifies the API calls for the audience end to watch a live stream.</p>
</li>
<li><ph><b>Filter effects</b></ph>
<p>This version introduces the <codeph><apiname keyref="setFilterEffectOptions"/></codeph> method. You can pass a cube map file (.cube) in the <parmname>config</parmname> parameter to achieve custom filter effects such as whitening, vivid, cool, black and white, etc. Additionally, the SDK provides a built-in <codeph>built_in_whiten_filter.cube</codeph> file for quickly achieving a whitening filter effect.</p>
<p>This version introduces the <codeph><apiname keyref="setFilterEffectOptions"/></codeph> method. You can pass a cube map file (.cube) in the <codeph>config</codeph> parameter to achieve custom filter effects such as whitening, vivid, cool, black and white, etc. Additionally, the SDK provides a built-in <codeph>built_in_whiten_filter.cube</codeph> file for quickly achieving a whitening filter effect.</p>
</li>
<li><ph><b>Local audio mixing</b></ph>
<p>This version introduces the local audio mixing feature. You can call the <codeph><apiname keyref="startLocalAudioMixer"/></codeph> method to mix the audio streams from the local microphone, media player, sound card, and remote audio streams into a single audio stream, which can then be published to the channel. When you no longer need audio mixing, you can call the <codeph><apiname keyref="stopLocalAudioMixer"/></codeph> method to stop local audio mixing. During the mixing process, you can call the <codeph><apiname keyref="updateLocalAudioMixerConfiguration"/></codeph> method to update the configuration of the audio streams being mixed.</p>
Expand Down Expand Up @@ -159,7 +159,7 @@
<p>This version adds the <parmname>type</parmname> member to <codeph><apiname keyref="RecorderStreamInfo"/></codeph>. When calling <codeph><apiname keyref="createMediaRecorder"/></codeph>, you can specify the type of video stream to be recorded as the local preview video stream through this member. You can set parameters such as height, width, frame rate, and sampling rate of the preview video in <codeph><apiname keyref="MediaRecorderConfiguration"/></codeph>, and then call <codeph><apiname keyref="startRecording"/></codeph> to start recording the local preview video.</p>
</li>
<li><ph><b>Snapshot at specified video observation points</b></ph>
<p>This version introduces the <codeph><apiname keyref="takeSnapshot2"/></codeph> and <codeph><apiname keyref="takeSnapshotEx2"/></codeph> methods. You can use the <parmname>config</parmname> parameter when calling these methods to take snapshots at specified video observation points, such as before encoding, after encoding, or before rendering, to achieve more flexible snapshot effects.</p>
<p>This version introduces the <codeph><apiname keyref="takeSnapshot2"/></codeph> and <codeph><apiname keyref="takeSnapshotEx2"/></codeph> methods. You can use the <codeph>config</codeph> parameter when calling these methods to take snapshots at specified video observation points, such as before encoding, after encoding, or before rendering, to achieve more flexible snapshot effects.</p>
</li>
<li><ph><b>Custom audio capture improvements</b></ph>
<p>This version adds the <codeph>enableAudioProcessing</codeph> member parameter to <codeph><apiname keyref="AudioTrackConfig"/></codeph>, which is used to control whether to enable 3A audio processing for custom audio capture tracks of the <codeph>AUDIO_TRACK_DIRECT</codeph> type. The default value of this parameter is <codeph><ph keyref="false"/></codeph>, meaning that audio processing is not enabled. Users can enable it as needed, enhancing the flexibility of custom audio processing.</p>
Expand Down
Loading

0 comments on commit dd76f69

Please sign in to comment.