# backgroundSourceType (/zh-CN/api-reference/rtc/flutter/enum-backgroundsourcetype)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

<a id="enum_backgroundsourcetype__parameters"></a>

## 枚举值 [#枚举值]

<ParameterList>
<a id="backgroundnone"></a>
<Parameter name="backgroundNone">

0: 将背景处理为 Alpha 数据，不作替换，仅分割人像和背景。设置后，你可以调用 [startLocalVideoTranscoder](/zh-CN/api-reference/rtc/flutter/video/video-prenpro/local-transcoder#api_irtcengine_startlocalvideotranscoder)，实现人像画中画的效果。

</Parameter>
<a id="backgroundcolor"></a>
<Parameter name="backgroundColor">

1:（默认）背景为纯色。

</Parameter>
<a id="backgroundimg"></a>
<Parameter name="backgroundImg">

2: 背景为 PNG、JPG 格式的图片。

</Parameter>
<a id="backgroundblur"></a>
<Parameter name="backgroundBlur">

3: 背景为虚化处理后的背景。

</Parameter>
<a id="backgroundvideo"></a>
<Parameter name="backgroundVideo">

4: 背景为 MP4、AVI、MKV、FLV 等格式的本地视频。

</Parameter>
</ParameterList>
