BACKGROUND_SOURCE_TYPE
Custom background type.
Enumerations
- BACKGROUND_NONE
- (0): Treats the background as alpha data without replacement, only separating the portrait from the background. After setting this value, you can call startLocalVideoTranscoder to achieve picture-in-picture effects.
- BACKGROUND_COLOR
- (1): (Default) The background is a solid color image.
- 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, supporting formats such as MP4, AVI, MKV, FLV, etc.