backgroundSourceType

The custom background.

Enumerator

backgroundNone
0: Process the background as alpha information without replacement, only separating the portrait and the background. After setting this value, you can call startLocalVideoTranscoder to implement the picture-in-picture effect.
backgroundColor
1: (Default) The background image is a solid color.
backgroundImg
2: The background is an image in PNG or JPG format.
backgroundBlur
3: The background is a blurred version of the original background.
backgroundVideo
4: The background is a local video in MP4, AVI, MKV, FLV, or other supported formats.