public static enum VideoEncoderConfiguration.DEGRADATION_PREFERENCE extends java.lang.Enum<VideoEncoderConfiguration.DEGRADATION_PREFERENCE>
Enum Constant and Description |
---|
DISABLED
4: Disabled VQC adjustion.
|
MAINTAIN_BALANCED
2: Maintain resolution in video quality control process.
|
MAINTAIN_FRAMERATE
1: Degrade resolution in order to maintain framerate.
|
MAINTAIN_QUALITY
0: (Default) Degrade the frame rate and keep resolution to guarantee the video quality.
|
MAINTAIN_RESOLUTION
3: Degrade framerate in order to maintain resolution.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static VideoEncoderConfiguration.DEGRADATION_PREFERENCE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoEncoderConfiguration.DEGRADATION_PREFERENCE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoEncoderConfiguration.DEGRADATION_PREFERENCE MAINTAIN_QUALITY
public static final VideoEncoderConfiguration.DEGRADATION_PREFERENCE MAINTAIN_FRAMERATE
public static final VideoEncoderConfiguration.DEGRADATION_PREFERENCE MAINTAIN_BALANCED
public static final VideoEncoderConfiguration.DEGRADATION_PREFERENCE MAINTAIN_RESOLUTION
public static final VideoEncoderConfiguration.DEGRADATION_PREFERENCE DISABLED
public static VideoEncoderConfiguration.DEGRADATION_PREFERENCE[] values()
for (VideoEncoderConfiguration.DEGRADATION_PREFERENCE c : VideoEncoderConfiguration.DEGRADATION_PREFERENCE.values()) System.out.println(c);
public static VideoEncoderConfiguration.DEGRADATION_PREFERENCE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()