Skip to content

Commit

Permalink
Merge branch 'master' of github.com:AgoraIO/agora_doc_source
Browse files Browse the repository at this point in the history
  • Loading branch information
Suri539 committed May 23, 2024
2 parents 7bd777b + 3b29bb4 commit c070612
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dita/RTC-NG/API/api_irtcengine_startscreencapture2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,13 @@
<li><ph props="cpp unreal bp unity flutter"><xref keyref="startScreenCapture"/>/</ph><xref keyref="startScreenCaptureByDisplayId"/>/<xref keyref="startScreenCaptureByWindowId"/>:仅支持采集单个屏幕或窗口,适合仅共享单个屏幕的场景。</li>
<li><xref keyref="startScreenCapture2"/>:支持指定多个视频源,以采集多路屏幕共享流,用于本地合图或者多频道发布场景。</li></ul></p>
</section>
<section id="timing" deliveryTarget="details" conkeyref="startScreenCapture/timing">
<title/>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法在加入频道前后均可调用,区别如下:
<ul>
<li>如果在加入频道前调用该方法,然后调用 <xref keyref="joinChannel2"/> 加入频道,并设置 <parmname>publishScreenCaptureVideo</parmname> 为 <codeph><ph keyref="true"/></codeph>,即可开始屏幕共享。</li>
<li>如果在加入频道后调用该方法,然后调用 <xref keyref="updateChannelMediaOptions"/> 更新频道媒体选项,并设置 <parmname>publishScreenCaptureVideo</parmname> 为 <codeph><ph keyref="true"/></codeph>,即可开始屏幕共享。</li>
</ul></p>
</section>
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
Expand Down
2 changes: 2 additions & 0 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-api-electron.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,8 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="leaveChannelEx" href="../API/api_irtcengineex_leavechannelex.dita">
</keydef>
<keydef keys="leaveChannelEx2" href="../API/api_irtcengineex_leavechannelex2.dita">
<topicmeta>
<keywords>
Expand Down
2 changes: 2 additions & 0 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-api-flutter.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -1331,6 +1331,8 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="leaveChannelEx" href="../API/api_irtcengineex_leavechannelex.dita">
</keydef>
<keydef keys="leaveChannelEx2" href="../API/api_irtcengineex_leavechannelex2.dita">
<topicmeta>
<keywords>
Expand Down
2 changes: 2 additions & 0 deletions en-US/dita/RTC-NG/config/keys-rtc-ng-api-rn.ditamap
Original file line number Diff line number Diff line change
Expand Up @@ -1330,6 +1330,8 @@
</keywords>
</topicmeta>
</keydef>
<keydef keys="leaveChannelEx" href="../API/api_irtcengineex_leavechannelex.dita">
</keydef>
<keydef keys="leaveChannelEx2" href="../API/api_irtcengineex_leavechannelex2.dita">
<topicmeta>
<keywords>
Expand Down

0 comments on commit c070612

Please sign in to comment.