Skip to content

Commit

Permalink
New translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed May 7, 2024
1 parent 837a8bc commit 3d3980b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,8 @@
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
<ul><li>Call this method after joining a channel.</li>
<li>If you call <apiname keyref="muteAllRemoteVideoStreams"/>(<codeph><ph keyref="true"/></codeph>) after leaving the channel, you will not subscribe to any user's video stream the next time you join the channel.</li>
</ul>
</section>
<p>Call this method after joining a channel.</p>
<note type="attention">If you call <apiname keyref="muteAllRemoteVideoStreams"/>(<codeph><ph keyref="true"/></codeph>) after leaving the channel, you will not subscribe to any user's video stream the next time you join the channel. &lt;/note</section>
<section id="restriction" deliveryTarget="details">
<title>Restrictions</title>
<p>If you call this method and then call <xref keyref="enableVideo"/> or <xref keyref="disableVideo"/>, the latest call will prevail.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<p>This method is used to control whether to publish the locally captured audio stream. If the locally captured audio stream is not published, the audio capturing device remains enabled, thus it does not affect the status of audio capture.</p>
<p>This method is used to control whether to publish the locally captured audio stream. If you call this method to stop publishing locally captured audio streams, the audio capturing device will still work and won't be affected.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -37,7 +37,7 @@
</section>
<section id="related" deliveryTarget="details">
<title>Related callbacks</title>
<p>After successfully calling this method, the local end triggers callback <xref keyref="onAudioPublishStateChanged"/>; the remote end triggers callbacks <xref keyref="onUserMuteAudio"/> and <xref keyref="onRemoteAudioStateChanged"/>.</p>
<p>After successfully calling this method, the local end triggers callback <xref keyref="onAudioPublishStateChanged"/>; the remote end triggers <xref keyref="onUserMuteAudio"/> and <xref keyref="onRemoteAudioStateChanged"/> callbacks.</p>
</section>
<section id="parameters">
<title>Parameters</title>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
<codeblock props="reserve" outputclass="language-cpp"/></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<p>This method is used to control whether to publish the locally captured video stream. If the locally captured video stream is not published, the video capturing device remains enabled, thus it does not affect the status of video capture.</p>
<p>Compared to the method of calling <xref keyref="enableLocalVideo"/>(<codeph><ph keyref="false"/></codeph>) to disable local video stream capture, thereby canceling the publishing of local video stream, this method responds faster.</p>
<p>This method is used to control whether to publish the locally captured video stream. If you call this method to stop publishing locally captured video streams, the video capturing device will still work and won't be affected.</p>
<p>Compared to <xref keyref="enableLocalVideo"/>(<codeph><ph keyref="false"/></codeph>), which can also cancel the publishing of local video stream by turning off the local video stream capture, this method responds faster.</p>
</section>
<section id="timing" deliveryTarget="details">
<title>Call timing</title>
Expand All @@ -38,7 +38,7 @@
</section>
<section id="related" deliveryTarget="details">
<title>Related callbacks</title>
<p>After successfully calling this method, the local end triggers callback <xref keyref="onVideoPublishStateChanged"/>; the remote end triggers callbacks <xref keyref="onUserMuteVideo"/> and <xref keyref="onRemoteVideoStateChanged"/>.</p>
<p>After successfully calling this method, the local end triggers callback <xref keyref="onVideoPublishStateChanged"/>; the remote end triggers <xref keyref="onUserMuteVideo"/> and <xref keyref="onRemoteVideoStateChanged"/> callbacks.</p>
</section>
<section id="parameters">
<title>Parameters</title>
Expand Down

0 comments on commit 3d3980b

Please sign in to comment.