Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bugfix weekly 1024 #3794

Merged
merged 5 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

那里的不需要调整,因为那个 class 就是 ScreenCaptureParameters2 里的 sub-class,只给移动端用的,里面的分辨率本来就是正确的 1280 × 720

</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
Loading