BACKGROUND_SOURCE_TYPE

Custom background.

Enumerations

BACKGROUND_NONE
0: Process the background as Alpha data without replacement, only segmenting the portrait and background. After setting this, you can call StartLocalVideoTranscoder to achieve a picture-in-picture effect for the portrait.
BACKGROUND_COLOR
1: (Default) The background 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 similar formats.