backgroundSourceType
- Flutter
更新时间
自定义的背景。
枚举值
| 参数名 | 描述 |
|---|---|
backgroundNone | 0: 将背景处理为 Alpha 数据,不作替换,仅分割人像和背景。设置后,你可以调用 startLocalVideoTranscoder,实现人像画中画的效果。 |
backgroundColor | 1:(默认)背景为纯色。 |
backgroundImg | 2: 背景为 PNG、JPG 格式的图片。 |
backgroundBlur | 3: 背景为虚化处理后的背景。 |
backgroundVideo | 4: 背景为 MP4、AVI、MKV、FLV 等格式的本地视频。 |