Skip to content

Commit

Permalink
Merge pull request #3791 from AgoraIO/4.4.0-bugfix-1017
Browse files Browse the repository at this point in the history
4.4.0 bugfix 1017
  • Loading branch information
Cilla-luodan authored Oct 17, 2024
2 parents 3ad4717 + fe23210 commit 15998fb
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_enablelocalaudio.dita
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</section>
<section id="scenario" deliveryTarget="details">
<title>适用场景</title>
<p>该方法不影响接收远端音频流,<xref keyref="enableLocalAudio" /><codeph>(<ph keyref="false" />)</codeph> 适用于只听不发的用户场景。</p>
<p>该方法不影响远端音频流的接收和播放。<apiname keyref="enableLocalAudio" /><codeph>(<ph keyref="false" />)</codeph> 适用于只接收远端音频而不发送本地采集音频的场景。</p>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
Expand Down
5 changes: 2 additions & 3 deletions dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,8 @@
<p>调用 <xref keyref="createDataStream2" /> 后,你可以调用该方法向频道内所有用户发送数据流消息。</p>
<p id="limit">SDK 对该方法的实现进行了如下限制:
<ul>
<li>频道内每人最多能同时有 5 个数据通道。</li>
<li>每个数据通道每秒最多能发送 60 个包(每个包最大为 1 KB)。</li>
<li>每个数据通道每秒最多能发送 30 KB 数据。</li>
<li>频道内每个客户端最多可以同时拥有 5 个数据通道,所有数据通道共用的总发包码率限制为 30 KB/s。</li>
<li>每个数据通道每秒最多能发送 60 个包,每个包最大为 1 KB。</li>
</ul></p>
<p id="error">成功调用该方法后,远端会触发 <xref keyref="onStreamMessage" /> 回调,远端用户可以在该回调中获取接收到的流消息;若调用失败,远端会触发 <xref keyref="onStreamMessageError" /> 回调。</p>
<note type="attention">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_DEVICE_NOT_FOUND"/> (8):找不到本地视频采集设备。需检查摄像头是否与设备正常连接、摄像头是否正常工作,或者尝试重新加入频道。</li>
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_DEVICE_INTERRUPT"/> (14):视频采集中断。可能的原因是:<ul>
<li>摄像头被其他 App 占用。请提示用户检查摄像头是否被其他 App 占用。</li>
<li>当前 App 已被切换到后台。可以使用前台服务通知操作系统,确保 App 在切换到后台时仍可采集视频。<ph props="cn">详见<xref keyref="android-background"/>。</ph></li>
<li>设备已锁屏,或当前 App 已被切换到后台。可以使用前台服务通知操作系统,确保 App 在切换到后台时仍可采集视频。<ph props="cn">详见<xref keyref="android-background"/>。</ph></li>
</ul></li>
<li><ph keyref="LOCAL_VIDEO_STREAM_REASON_DEVICE_FATAL_ERROR"/> (15):视频采集设备出错。请提示用户关闭并重新启动摄像头以恢复功能,如果该操作不能解决问题,请检查摄像头是否出现硬件故障。</li>
</ul> </p>
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/API/class_remoteaudiostats.dita
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ class RemoteAudioStats {
<li><ph keyref="QUALITY_BAD" /> (4):勉强能沟通但不顺畅。</li>
<li><ph keyref="QUALITY_VBAD" /> (5):网络质量非常差,基本不能沟通。</li>
<li><ph keyref="QUALITY_DOWN" /> (6):网络连接断开,完全无法沟通。</li>
<li><ph keyref="QUALITY_DETECTING" /> (8):网络质量检测进行中。</li>
</ul> </p>
</pd>
</plentry>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/enum_qualitytype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
</plentry>
<plentry props="android cpp apple framework">
<pt><ph keyref="QUALITY_DETECTING"/></pt>
<pd>8: 网络质量检测已开始还没完成。</pd>
<pd>8: 网络质量检测进行中。</pd>
</plentry>
</parml> </section>
</refbody>
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 @@ -9838,6 +9838,13 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="QUALITY_DETECTING">
<topicmeta>
<keywords>
<keyword>QUALITY_DETECTING</keyword>
</keywords>
</topicmeta>
</keydef>
<keydef keys="RAW_AUDIO_FRAME_OP_MODE_READ_ONLY">
<topicmeta>
<keywords>
Expand Down

0 comments on commit 15998fb

Please sign in to comment.