BACKGROUND_SOURCE_TYPE
The custom background.
Enumerator
- BACKGROUND_NONE
- 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.
- BACKGROUND_COLOR
- 1: (Default) The background image is a solid color.
- BACKGROUND_IMG
- 2: The background is an image in PNG or JPG format.
- BACKGROUND_BLUR
- 3: The background is a blurred version of the original background.
- BACKGROUND_VIDEO
- 4: The background is a local video in MP4, AVI, MKV, FLV, or other supported formats.