public class VirtualBackgroundSource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
BACKGROUND_BLUR
3: Background blur.
|
static int |
BACKGROUND_COLOR
1: Background source is hex color string.
|
static int |
BACKGROUND_IMG
2: Background source is image path, only support png format.
|
int |
backgroundSourceType
The source type used to substitude capture image background.
|
static int |
BLUR_DEGREE_HIGH
blur degree high, blur default, hard to find background
|
static int |
BLUR_DEGREE_LOW
blur degree low, have few blur effect
|
static int |
BLUR_DEGREE_MEDIUM
blur degree medium, blur more than level 1
|
int |
blurDegree
Background blur degree
|
int |
color
Background color value, for example: "#aabbcc"
|
java.lang.String |
source
Background image file path
|
Constructor and Description |
---|
VirtualBackgroundSource() |
VirtualBackgroundSource(int backgroundSourceType,
int color,
java.lang.String source,
int blurDegree) |
public static final int BACKGROUND_COLOR
public static final int BACKGROUND_IMG
public static final int BACKGROUND_BLUR
public static final int BLUR_DEGREE_LOW
public static final int BLUR_DEGREE_MEDIUM
public static final int BLUR_DEGREE_HIGH
public int backgroundSourceType
backgroundSourceType
: BACKGROUND_NONE(0)
:
background is none. BACKGROUND_COLOR(1)
: (default) background is color. BACKGROUND_IMG(2)
: background is
image.
public int color
public java.lang.String source
public int blurDegree