Skip to content

Commit

Permalink
Merge pull request #3794 from AgoraIO/4.4.0-bugfix-1024
Browse files Browse the repository at this point in the history
bugfix weekly 1024
  • Loading branch information
Cilla-luodan authored Oct 25, 2024
2 parents c56c17f + 373e9d8 commit eeff53e
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion dita/RTC-NG/API/api_imediaplayer_preloadsrc.dita
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
<p props="native unreal bp rn electron">调用该方法后,如果收到 <xref keyref="onPreloadEvent" /> 回调报告事件 <apiname keyref="PLAYER_PRELOAD_EVENT_COMPLETE" />,则预加载成功;如果你收到 <xref keyref="onPreloadEvent" /> 回调报告事件 <apiname keyref="PLAYER_PRELOAD_EVENT_ERROR" />,则预加载失败。</p>
<p>预加载成功后,如果你想播放媒体资源,请调用 <xref keyref="playPreloadedSrc" />;如果你想清空播放列表,请调用 <xref keyref="stop" />。</p>
<note type="note">
<p>SDK 不支持你预加载重复的媒体资源到播放列表,但支持你将正在播放的媒体资源再次预加载到播放列表。</p>
<ul><li>调用该方法前,请确保你已经调用 <xref keyref="open"/> 或 <xref keyref="openWithMediaSource"/> 成功打开媒体资源。</li>
<li>SDK 不支持你预加载重复的媒体资源到播放列表,但支持你将正在播放的媒体资源再次预加载到播放列表。</li></ul>
</note> </section>
<section id="parameters">
<title>参数</title>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_imusiccontentcenter_getcaches.dita
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
</ul>
<ul props="android hmos ios flutter">
<li props="android hmos ios">方法调用成功时,返回包含 <xref keyref="MusicCacheInfo"/> 对象的数组。</li>
<li props="flutter">方法调用成功时,返回 <xref keyref="MusicChartInfo"/> 对象的列表。</li>
<li props="flutter">方法调用成功时,返回 <xref keyref="MusicCacheInfo"/> 对象的列表。</li>
<li props="android hmos ios">方法调用失败时,返回 <ph keyref="NULL"/>。</li>
<li props="flutter">方法调用失败时,会抛出 <xref keyref="AgoraRtcException"/> 异常,你需要捕获异常并进行处理。<ph props="cn">详见<xref keyref="error-code-link"/>了解详情和解决建议。</ph></li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_startscreencapture.dita
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
<pt props="ios">parameters</pt>
<pt props="android hmos">screenCaptureParameters</pt>
<pt props="cpp unreal bp rn unity flutter">captureParams</pt>
<pd>屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2,073,600 像素。该像素值为计费标准。详见 <xref keyref="ScreenCaptureParameters2"/>。</pd>
<pd>屏幕共享的编码参数配置。详见 <xref keyref="ScreenCaptureParameters2"/>。</pd>
</plentry>
</parml> </section>
<section id="return_values">
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_updatescreencapture.dita
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<plentry>
<pt props="ios">parameters</pt>
<pt props="cpp unreal bp electron unity rn flutter cs">captureParams</pt>
<pd>屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2073600 像素。该像素值为计费标准。详见 <xref keyref="ScreenCaptureParameters2" />。</pd>
<pd>屏幕共享的编码参数配置。详见 <xref keyref="ScreenCaptureParameters2" />。</pd>
</plentry>
</parml> </section>
<section id="return_values">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<plentry>
<pt props="android hmos">screenCaptureParameters</pt>
<pt props="mac cpp unreal bp unity electron rn flutter cs">captureParams</pt>
<pd>屏幕共享的编码参数配置。默认的分辨率为 1920 x 1080,即 2073600 像素。该像素值为计费标准。详见 <xref keyref="ScreenCaptureParameters" props="cpp unreal bp electron flutter mac unity cs" /><xref props="android ios" keyref="ScreenCaptureParameters2" />。
<pd>屏幕共享的编码参数配置。详见 <xref keyref="ScreenCaptureParameters" props="cpp unreal bp electron flutter mac unity cs" /><xref props="android ios" keyref="ScreenCaptureParameters2" />。
<note type="attention">屏幕共享流的视频属性只需通过该参数设置,与 <xref keyref="setVideoEncoderConfiguration"/> 无关。</note>
</pd>
</plentry>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<p id="desc1">该回调描述每个用户在通话中的 last mile 网络状态,其中 last mile 是指设备到声网边缘服务器的网络状态。</p>
<p id="desc2">该回调每 2 秒触发一次。如果远端有多个用户,该回调每 2 秒会被触发多次。</p>
<p>该回调通过频道内的广播包反馈网络质量。过多的广播包可能引发广播风暴。为防止广播风暴导致频道内大量数据传输,该回调默认支持同时反馈最多 4 个远端主播的网络质量。</p>
<note type="note"><ph>用户不发流时,<parmname>txQuality</parmname> 为 <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn">Unknown</codeph>;用户不收流时,<parmname>rxQuality</parmname> 为 <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn">Unknown</codeph>。</ph></note> </section>
<note type="note"><ph>用户不发流时,<parmname>txQuality</parmname> 为 <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn flutter">Unknown</codeph>;用户不收流时,<parmname>rxQuality</parmname> 为 <codeph props="cpp unreal bp android hmos unity">UNKNOWN</codeph><codeph props="ios mac electron rn flutter">Unknown</codeph>。</ph></note> </section>
<section id="parameters">
<title><ph keyref="callback-section-title" /></title>
<parml>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/config/keys-rtc-ng-links.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="ktv-billing" href="https://doc.shengwang.cn/doc/online-ktv/android/overview/billing" scope="external" format="html">
<keydef keys="ktv-billing" href="https://doc.shengwang.cn/doc/online-ktv/android/online-ktv-sdk/overview/billing" scope="external" format="html">
<topicmeta>
<keywords>
<keyword>计费说明</keyword>
Expand Down

0 comments on commit eeff53e

Please sign in to comment.