public enum VideoEncoderType extends java.lang.Enum<VideoEncoderType>
| Enum Constant and Description |
|---|
DEFAULT
默认
|
ERROR
错误编码
|
HARD_ENCODER_H264
h264硬编
|
HARD_ENCODER_H265
h265硬编
|
SOFT_ENCODER_H265
h265软编
|
SOFT_ENCODER_X264
x264软编
|
| Modifier and Type | Method and Description |
|---|---|
static VideoEncoderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoEncoderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoEncoderType SOFT_ENCODER_X264
public static final VideoEncoderType HARD_ENCODER_H264
public static final VideoEncoderType SOFT_ENCODER_H265
public static final VideoEncoderType HARD_ENCODER_H265
public static final VideoEncoderType DEFAULT
public static final VideoEncoderType ERROR
public static VideoEncoderType[] values()
for (VideoEncoderType c : VideoEncoderType.values()) System.out.println(c);
public static VideoEncoderType 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 null