Skip to content

Commit

Permalink
wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Cilla-luodan committed Jul 16, 2024
1 parent 8ada853 commit 967c166
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dita/RTC-NG/API/class_advanceoptions.dita
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ struct FAdvanceOptions {
<pt>encodeAlpha</pt>
<pd>当视频帧包含 Alpha 通道数据时,设置是否将 Alpha 数据编码并发送至远端:
<ul>
<li><codeph><ph keyref="true"/></codeph>:对 Alpha 信息进行编码发送。</li>
<li><codeph><ph keyref="false"/></codeph>:(默认)不对 Alpha 信息进行编码发送。</li>
<li><codeph><ph keyref="true"/></codeph>:对 Alpha 数据进行编码发送。</li>
<li><codeph><ph keyref="false"/></codeph>:(默认)不对 Alpha 数据进行编码发送。</li>
</ul></pd>
</plentry>
</parml> </section>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/class_virtualbackgroundsource.dita
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ struct FVirtualBackgroundSource
<pt props="unity cpp unreal bp electron rn cs">background_source_type</pt>
<pd><ph>自定义的背景。</ph><ph props="ios mac cpp unreal bp unity flutter electron rn cs">详见 <xref keyref="BACKGROUND_SOURCE_TYPE" />。</ph>
<ul props="android hmos">
<li><ph keyref="BACKGROUND_NONE" />(0):将背景处理为 Alpha 信息,不进行替换,仅分割人像和背景。设置后,你可以调用 <xref keyref="startLocalVideoTranscoder"/>,实现人像画中画的效果。</li>
<li><ph keyref="BACKGROUND_NONE" />(0):将背景处理为 Alpha 数据,不进行替换,仅分割人像和背景。设置后,你可以调用 <xref keyref="startLocalVideoTranscoder"/>,实现人像画中画的效果。</li>
<li><ph keyref="BACKGROUND_COLOR" />(1):(默认)背景为纯色。</li>
<li><ph keyref="BACKGROUND_IMG" />(2):背景为 PNG、JPG 格式的图片。</li>
<li><ph keyref="BACKGROUND_BLUR" />(3):背景为虚化处理后的背景。</li>
Expand Down
2 changes: 1 addition & 1 deletion dita/RTC-NG/API/enum_backgroundsourcetype.dita
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parml>
<plentry>
<pt><ph keyref="BACKGROUND_NONE"/></pt>
<pd>0: 将背景处理为 Alpha 信息,不作替换,仅分割人像和背景。设置后,你可以调用 <xref keyref="startLocalVideoTranscoder"/>,实现人像画中画的效果。</pd>
<pd>0: 将背景处理为 Alpha 数据,不作替换,仅分割人像和背景。设置后,你可以调用 <xref keyref="startLocalVideoTranscoder"/>,实现人像画中画的效果。</pd>
</plentry>
<plentry>
<pt><ph keyref="BACKGROUND_COLOR"/></pt>
Expand Down

0 comments on commit 967c166

Please sign in to comment.