public static enum Constants.VideoCodecType extends java.lang.Enum<Constants.VideoCodecType>
| Enum Constant and Description |
|---|
VIDEO_CODEC_AV1
12: AV1.
|
VIDEO_CODEC_GENERIC
6: Generic.
|
VIDEO_CODEC_GENERIC_H264
7: Generic H.264.
|
VIDEO_CODEC_GENERIC_JPEG
20: Generic JPEG.
|
VIDEO_CODEC_H264
2: Standard H.264.
|
VIDEO_CODEC_H265
3: Standard H.265.
|
VIDEO_CODEC_NONE
0: None.
|
VIDEO_CODEC_VP8
1: Standard VP8.
|
VIDEO_CODEC_VP9
13: VP9.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.VideoCodecType |
fromInt(int value) |
int |
getValue() |
static Constants.VideoCodecType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.VideoCodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.VideoCodecType VIDEO_CODEC_NONE
public static final Constants.VideoCodecType VIDEO_CODEC_VP8
public static final Constants.VideoCodecType VIDEO_CODEC_H264
public static final Constants.VideoCodecType VIDEO_CODEC_H265
public static final Constants.VideoCodecType VIDEO_CODEC_GENERIC
public static final Constants.VideoCodecType VIDEO_CODEC_GENERIC_H264
public static final Constants.VideoCodecType VIDEO_CODEC_AV1
public static final Constants.VideoCodecType VIDEO_CODEC_VP9
public static final Constants.VideoCodecType VIDEO_CODEC_GENERIC_JPEG
public static Constants.VideoCodecType[] values()
for (Constants.VideoCodecType c : Constants.VideoCodecType.values()) System.out.println(c);
public static Constants.VideoCodecType 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()
public static Constants.VideoCodecType fromInt(int value)