backgroundSourceType
Custom background.
Enumerations
- backgroundNone
- 0: Process the background as alpha data without replacement, only segmenting the portrait from the background. After setting this, you can call startLocalVideoTranscoder to achieve a picture-in-picture effect of the portrait.
- backgroundColor
- 1: (Default) Background is a solid color.
- backgroundImg
- 2: Background is an image in PNG or JPG format.
- backgroundBlur
- 3: Background is a blurred version of the original.
- backgroundVideo
- 4: Background is a local video in formats such as MP4, AVI, MKV, FLV, etc.