Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Aug 16, 2024
1 parent c93adfe commit b1129e0
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,13 @@ elapseSinceLastState:(int)elapseSinceLastState;</codeblock>
<ul>
<li>调用 <xref keyref="muteLocalAudioStream" />(<codeph><ph keyref="true" /></codeph>) 停止发送本地音频流。</li>
<li>调用 <xref keyref="disableAudio" /> 关闭本地音频模块。</li>
<li>调用 <xref keyref="enableLocalAudio" />(<ph keyref="false" />) 关闭本地音频采集。</li>
<li>调用 <xref keyref="enableLocalAudio" />(<codeph><ph keyref="false" /></codeph>) 关闭本地音频采集。</li>
<li>用户角色为观众。</li>
</ul></li>
<li>本地用户调用以下方法停止接收远端音频流:
<ul id="ul_mjk_gyk_p4b">
<li>调用 <xref keyref="joinChannel2"/> 或 <xref keyref="updateChannelMediaOptions"/> 时设置 <parmname>autoSubscribeAudio</parmname> 为 <codeph><ph keyref="false" /></codeph>,不自动订阅任何音频流。</li>
<li>调用 <xref keyref="muteRemoteAudioStream" />(<ph keyref="true" />)、 <xref keyref="muteAllRemoteAudioStreams" />(<ph keyref="true" />) 停止接收远端音频流。</li>
<li>调用 <xref keyref="muteRemoteAudioStream" /> 为 <codeph><ph keyref="true" /></codeph>、 <xref keyref="muteAllRemoteAudioStreams" /> 为 <codeph><ph keyref="true" /></codeph>, 停止接收远端音频流。</li>
</ul></li>
</ul></li>
<li><ph keyref="SUB_STATE_SUBSCRIBING" /> (2): 正在订阅。</li>
Expand All @@ -118,7 +118,7 @@ elapseSinceLastState:(int)elapseSinceLastState;</codeblock>
<li>本地用户调用以下方法停止接收远端音频流:
<ul>
<li>调用 <xref keyref="joinChannel2"/> 或 <xref keyref="updateChannelMediaOptions"/> 时设置 <parmname>autoSubscribeAudio</parmname> 为 <codeph><ph keyref="false" /></codeph>,不自动订阅任何音频流。</li>
<li>调用 <xref keyref="muteRemoteAudioStream" />(<codeph><ph keyref="true" /></codeph>)、 <xref keyref="muteAllRemoteAudioStreams" />(<codeph><ph keyref="true" /></codeph>) 停止接收远端音频流。</li>
<li>调用 <xref keyref="muteRemoteAudioStream" />(<codeph><ph keyref="true" /></codeph>)、 <xref keyref="muteAllRemoteAudioStreams" />(<codeph><ph keyref="true" /></codeph>) 停止接收远端音频流。</li>
</ul></li>
</ul></li>
<li><ph keyref="SUB_STATE_SUBSCRIBING" /> (2): 正在订阅。</li>
Expand Down

0 comments on commit b1129e0

Please sign in to comment.