Package im.zego.zegoexpress.entity
Class ZegoBackgroundConfig
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoBackgroundConfig
-
public class ZegoBackgroundConfig extends java.lang.Object
Background config. It is used to configure background when the object segmentation is turned on.
-
-
Field Summary
Fields Modifier and Type Field Description ZegoBackgroundBlurLevel
blurLevel
Background blur level.int
color
Background color, the format is 0xRRGGBB, default is black, which is 0x000000java.lang.String
imageURL
Background image URL.ZegoBackgroundProcessType
processType
Background process type.java.lang.String
videoURL
Background video URL.
-
Constructor Summary
Constructors Constructor Description ZegoBackgroundConfig()
-
-
-
Field Detail
-
processType
public ZegoBackgroundProcessType processType
Background process type.
-
color
public int color
Background color, the format is 0xRRGGBB, default is black, which is 0x000000
-
imageURL
public java.lang.String imageURL
Background image URL. Support local file absolute path (file://xxx). The format supports png, jpg.
-
videoURL
public java.lang.String videoURL
Background video URL. Caution: 1. The video will be played in a loop. 2. Support local file absolute path (file://xxx). 3. The format supports MP4, FLV, MKV, AVI. 4. The maximum resolution should not exceed 4096px, and it is recommended to be within 1920px. 5. The maximum video duration should not exceed 30 seconds, and it is recommended to be within 15 seconds. 6. The maximum video size should not exceed 50MB, and 10MB is recommended.
-
blurLevel
public ZegoBackgroundBlurLevel blurLevel
Background blur level.
-
-