Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyuagora committed Jul 16, 2024
1 parent deeab17 commit b92f27f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@
CameraCapturerConfiguration config);</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title"/>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<note type="attention" props="cpp unreal bp unity flutter">该方法仅适用于 Android 和 iOS。</note>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法必须在开启本地摄像头采集前调用,如 <xref keyref="startPreview2"/> 和 <xref keyref="joinChannel2"/> 前调用。</p>
Expand All @@ -39,7 +41,6 @@
<title>调用限制</title>
<p>在调整摄像头的焦距配置前,建议先调用 <xref keyref="queryCameraFocalLengthCapability"/> 查询设备支持的焦距能力,再根据查询结果进行配置。</p>
<p props="android cpp unreal bp flutter unity rn">由于部分 Android 设备的限制,即使根据 <apiname keyref="queryCameraFocalLengthCapability"/> 的查询结果设置焦距类型,设置结果也可能不生效。</p>
<note type="attention" props="cpp unreal bp unity flutter">该方法仅适用于 Android 和 iOS。</note>
</section>
<section id="parameters" deliveryTarget="details">
<title>参数</title>
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/API/api_irtcengine_seteffectsvolume.dita
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
<codeblock props="flutter" outputclass="language-dart">Future&lt;void&gt; setEffectsVolume(int volume);</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title"/>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="playEffect3" /> 后调用。</p>
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/API/api_irtcengine_setvolumeofeffect.dita
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<codeblock props="flutter" outputclass="language-dart">Future&lt;void&gt; setVolumeOfEffect({required int soundId, required int volume});</codeblock>
<codeblock props="reserve" outputclass="language-cpp"></codeblock></p>
</section>
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title"/>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
<p>该方法需要在 <xref keyref="playEffect3" /> 后调用。</p>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/api_irtcengine_switchcamera.dita
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
<section id="detailed_desc" deliveryTarget="details" otherprops="no-title">
<p id="desc">你可以调用该方法在 App 运行期间基于可用摄像头的实际情况来动态切换摄像头,而无需重启视频流或重新配置视频源。</p>
<p props="android">该方法和 <xref keyref="switchCamera2"/> 均用于切换摄像头,区别在于 <apiname keyref="switchCamera2"/> 通过指定摄像头 ID 切换到特定的摄像头,该方法则切换摄像头的方向(前置或后置)。</p>
<note type="attention" props="cpp unreal bp flutter unity">该方法仅适用于 Android 和 iOS。</note>
</section>
<section id="timing" deliveryTarget="details">
<title>调用时机</title>
Expand All @@ -36,7 +37,6 @@
<section id="restriction" deliveryTarget="details">
<title>调用限制</title>
<p>该方法仅会对第一路摄像头采集的视频流进行摄像头切换操作,即调用 <xref keyref="startCameraCapture"/> 时设置为 <apiname keyref="VIDEO_SOURCE_CAMERA_PRIMARY" props="android"/><apiname keyref="VIDEO_SOURCE_CAMERA" props="apple cpp framework"/> (0) 的视频源。</p>
<note type="attention" props="cpp unreal bp flutter unity">该方法仅适用于 Android 和 iOS。</note>
</section>
<section id="return_values">
<title><ph keyref="return-section-title"/></title>
Expand Down
1 change: 1 addition & 0 deletions dita/RTC-NG/API/api_irtcengine_switchcamera2.dita
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
</dl>
<p conkeyref="switchCamera/desc"/>
<p>该方法和 <xref keyref="switchCamera"/> 均用于切换摄像头,区别在于 <apiname keyref="switchCamera"/> 切换摄像头的方向(前置或后置),该方法则通过指定摄像头 ID 切换到特定的摄像头。</p>
<note type="attention" props="cpp unreal bp flutter unity">该方法仅适用于 Android 和 iOS。</note>
</section>
<section id="timing" deliveryTarget="details" conkeyref="switchCamera/timing"/>
<section id="restriction" deliveryTarget="details" conkeyref="switchCamera/restriction"/>
Expand Down

0 comments on commit b92f27f

Please sign in to comment.