Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyuagora committed Jul 17, 2024
1 parent 1987fe0 commit a8d8312
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_sendstreammessage.dita
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
若调用失败,远端会触发 <xref keyref="onStreamMessageError" /> 回调。</p>
<note type="attention">
<ul>
<li>该方法需要在加入频道前调用。</li>
<li>该方法需要在加入频道后调用。</li>
<li>请确保在调用该方法前,已调用 <xref keyref="createDataStream2" /> 创建了数据通道。</li>
<li>直播场景下,该方法仅适用于主播用户。</li>
</ul></note> </section>
Expand Down
5 changes: 4 additions & 1 deletion dita/RTC-NG/API/api_irtcengineex_createdatastreamex2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<p props="native unreal unity cs">相比 <xref keyref="createDataStreamEx1" />,本方法不保证数据传输的可靠性。接收方会丢弃超出发送时间 5 秒后的数据包。</p>
</section>
<section id="timing" deliveryTarget="details" conkeyref="createDataStream2/timing"/>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="joinChannelEx"/> 后调用。</p>
</section>
<section id="restriction" deliveryTarget="details" conkeyref="createDataStream2/restriction"/>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengineex_sendstreammessageex.dita
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<p conkeyref="sendStreamMessage/error"/>
<note type="attention">
<ul>
<li>该方法需要在 <xref keyref="joinChannelEx"/> 前调用。</li>
<li>该方法需要在 <xref keyref="joinChannelEx"/> 后调用。</li>
<li>请确保在调用该方法前,已调用 <apiname keyref="createDataStreamEx2" /> 创建了数据通道。</li>
<li>该方法仅适用于通信场景以及直播场景下的主播用户,如果直播场景下的观众调用此方法可能会造成观众变主播。</li>
</ul></note> </section>
Expand Down

0 comments on commit a8d8312

Please sign in to comment.