Skip to content

Commit

Permalink
Merge pull request #3776 from AgoraIO/4.4.0-bugfix-0912
Browse files Browse the repository at this point in the history
4.4.0 bugfix 0912
  • Loading branch information
Cilla-luodan authored Sep 13, 2024
2 parents 7db98bc + 34fee61 commit 6a11b61
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 26 deletions.
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_ibasespatialaudioengine_setzones.dita
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<parml>
<plentry>
<pt>zones</pt>
<pd>隔声区域的设置。详见 <apiname keyref="SpatialAudioZone"/>。当你将该参数设置为 <codeph><ph keyref="NULL"/></codeph> 时,表示清除所有隔声区域。
<pd>隔声区域的设置。详见 <xref keyref="SpatialAudioZone"/>。当你将该参数设置为 <codeph><ph keyref="NULL"/></codeph> 时,表示清除所有隔声区域。
<note type="attention" props="cpp unreal bp unity cs flutter electron">在 Windows 平台上,需确保 <parmname>zones</parmname> 数组中的成员个数与 <parmname>zoneCount</parmname> 的值相等,否则会导致崩溃。</note></pd>
</plentry>
<plentry props="cpp framework">
Expand Down
9 changes: 5 additions & 4 deletions dita/RTC-NG/API/api_irtcengine_enablecontentinspect.dita
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>调用该方法前,请确保已<xref keyref="ticket-link"/>开通本地截图上传服务。</p>
<ul>
<li>调用该方法前,请确保已<xref keyref="ticket-link"/>开通本地截图上传服务。</li>
<li>视频审核模块选择声网自研插件截图上传(<apiname keyref="CONTENT_INSPECT_SUPERVISION"/>)时需集成本地截图上传动态库 <codeph><ph keyref="moderation"/></codeph>,如果删除该动态库会导致无法正常开启本地截图上传功能。</li>
</ul>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
Expand All @@ -56,9 +59,7 @@
</plentry>
<plentry id="config">
<pt>config</pt>
<pd><ph>本地截图上传配置。详见 <xref keyref="ContentInspectConfig"/>。</ph>
<note>视频审核模块选择声网自研插件截图上传(<apiname keyref="CONTENT_INSPECT_SUPERVISION"/>)时需集成本地截图上传动态库 <codeph><ph keyref="moderation"/></codeph>,如果删除该动态库会导致无法正常开启本地截图上传功能。</note>
</pd>
<pd>本地截图上传配置。详见 <xref keyref="ContentInspectConfig"/>。</pd>
</plentry>
</parml> </section>
<section id="return_values">
Expand Down
1 change: 0 additions & 1 deletion dita/RTC-NG/API/api_irtcengine_statechanged.dita
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
<p>设备状态:
<ul>
<li>0:设备就绪。</li>
<li>1:设备正在使用。</li>
<li props="hide">3:设备已插入。</li>
<li>8:设备被拔出。</li>
</ul></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@
<codeblock props="electron" outputclass="language-typescript"> onLocalUserRegistered?(uid: number, userAccount: string): void;</codeblock>
<codeblock props="unity cs" outputclass="language-csharp">public virtual void OnLocalUserRegistered(uint uid, string userAccount) {}</codeblock>
<codeblock props="rn" outputclass="language-typescript"> onLocalUserRegistered?(uid: number, userAccount: string): void;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(bool isFallbackOrRecover)?
onLocalPublishFallbackToAudioOnly;</codeblock>
<codeblock props="flutter" outputclass="language-dart">final void Function(int uid, String userAccount)? onLocalUserRegistered;</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc">
Expand Down
8 changes: 1 addition & 7 deletions dita/RTC-NG/API/class_videosubscriptionoptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,7 @@ public:
<plentry>
<pt props="android hmos">streamType</pt>
<pt props="ios mac cpp framework">type</pt>
<pd props="ios mac cpp framework">订阅的视频流类型,默认值为 <ph keyref="VIDEO_STREAM_HIGH"/>,即订阅视频大流。详见 <xref keyref="VIDEO_STREAM_TYPE"/>。</pd>
<pd props="android hmos">订阅的视频流类型:
<ul>
<li><ph keyref="VIDEO_STREAM_HIGH"/> (0): (默认)视频大流,即高分辨率、高码率视频流。</li>
<li><ph keyref="VIDEO_STREAM_LOW"/> (1): 视频小流,即低分辨率、低码率视频流。</li>
</ul>
</pd>
<pd>订阅的视频流类型,默认值为 <ph keyref="VIDEO_STREAM_HIGH"/>,即订阅视频大流。详见 <xref keyref="VIDEO_STREAM_TYPE"/>。</pd>
</plentry>
<plentry>
<pt>encodedFrameOnly</pt>
Expand Down
9 changes: 2 additions & 7 deletions dita/RTC-NG/API/enum_videocodectype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,15 @@
</plentry>
<plentry props="android cpp apple framework">
<pt><ph keyref="VIDEO_CODEC_GENERIC"/></pt>
<pd>
<p>6:Generic。</p>
<p>本类型主要用于传输视频裸数据(比如用户已加密的视频帧),该类型视频帧以回调的形式返回给用户,需要用户自行解码与渲染。</p>
</pd>
<pd>6:Generic。本类型主要用于传输视频裸数据(比如用户已加密的视频帧),该类型视频帧以回调的形式返回给用户,需要用户自行解码与渲染。</pd>
</plentry>
<plentry props="hide">
<pt><ph keyref="VIDEO_CODEC_AV1"/></pt>
<pd>12:AV1。</pd>
</plentry>
<plentry props="android cpp apple framework">
<pt><ph keyref="VIDEO_CODEC_GENERIC_JPEG"/></pt>
<pd>20:Generic JPEG。
<p>本类型所需的算力较小,可用于算力有限的 IoT 设备。</p>
</pd>
<pd>20:Generic JPEG。本类型所需的算力较小,可用于算力有限的 IoT 设备。</pd>
</plentry>
<plentry props="hide">
<pt><ph keyref="VIDEO_CODEC_VP9"/></pt>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/RTC_NG_API_Unity.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@
<topicref href="API/toc_snapshot.dita" chunk="to-content">
<topicref keyref="enableContentInspect" toc="no"/>
<topicref keyref="enableContentInspectEx" toc="no"/>
<topicref keyref="setLocalVideoDataSourcePosition" toc="no"/>
<topicref keyref="takeSnapshot" toc="no"/>
<topicref keyref="takeSnapshotEx" toc="no"/>
<topicref keyref="onContentInspectResult" toc="no" props="hide"/>
Expand Down Expand Up @@ -350,6 +349,7 @@
<topicref keyref="enableInstantMediaRendering" toc="no"/>
<topicref keyref="setEnable" toc="no"/>
<topicref keyref="setForUser" toc="no"/>
<topicref keyref="setLocalVideoDataSourcePosition" toc="no"/>
<topicref keyref="setLocalRenderMode1" toc="no"/>
<topicref keyref="setLocalRenderMode2" toc="no"/>
<topicref keyref="setLocalVideoMirrorMode" toc="no"/>
Expand Down
6 changes: 3 additions & 3 deletions dita/RTC-NG/config/keys-rtc-ng-links.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,21 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="song-lists" href="https://doc.shengwang.cn/doc/online-ktv/android/implementation/music-content-center#%E8%8E%B7%E5%8F%96%E6%9B%B2%E5%BA%93%E6%89%80%E6%9C%89%E6%AD%8C%E6%9B%B2%E5%88%97%E8%A1%A8" scope="external" format="html">
<keydef keys="song-lists" href="https://doc.shengwang.cn/doc/online-ktv/android/ktv-scenario/api/music-content-center#%E8%8E%B7%E5%8F%96%E6%9B%B2%E5%BA%93%E6%89%80%E6%9C%89%E6%AD%8C%E6%9B%B2%E5%88%97%E8%A1%A8" scope="external" format="html">
<topicmeta>
<keywords>
<keyword>获取曲库所有歌曲列表</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="new-songs" href="https://doc.shengwang.cn/doc/online-ktv/android/implementation/music-content-center#%E8%8E%B7%E5%8F%96%E5%A2%9E%E9%87%8F%E6%AD%8C%E6%9B%B2%E5%88%97%E8%A1%A8" scope="external" format="html">
<keydef keys="new-songs" href="https://doc.shengwang.cn/doc/online-ktv/android/ktv-scenario/api/music-content-center#%E8%8E%B7%E5%8F%96%E5%A2%9E%E9%87%8F%E6%AD%8C%E6%9B%B2%E5%88%97%E8%A1%A8" scope="external" format="html">
<topicmeta>
<keywords>
<keyword>获取增量歌曲列表</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="ktv-docs" href="https://doc.shengwang.cn/doc/online-ktv/android/landing-page" scope="external" format="html">
<keydef keys="ktv-docs" href="https://doc.shengwang.cn/doc/online-ktv/android/ktv-scenario/landing-page" scope="external" format="html">
<topicmeta>
<keywords>
<keyword>在线 K 歌房文档</keyword>
Expand Down

0 comments on commit 6a11b61

Please sign in to comment.