BackgroundSourceType

The custom background.

Enumerator

BackgroundNone
0: Process the background as alpha data 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.