public enum AgoraVideoCodecType extends java.lang.Enum<AgoraVideoCodecType>
Enum Constant and Description |
---|
VIDEOCODEC_TYPE_GENERIC |
VIDEOCODEC_TYPE_GENERIC_H264 |
VIDEOCODEC_TYPE_GENERIC_JPEG |
VIDEOCODEC_TYPE_H264 |
VIDEOCODEC_TYPE_H265 |
VIDEOCODEC_TYPE_VP8 |
VIDEOCODEC_TYPE_VP9 |
Modifier and Type | Field and Description |
---|---|
int |
codecType |
Modifier and Type | Method and Description |
---|---|
static AgoraVideoCodecType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AgoraVideoCodecType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_VP8
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_H264
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_H265
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_VP9
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_GENERIC
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_GENERIC_H264
public static final AgoraVideoCodecType VIDEOCODEC_TYPE_GENERIC_JPEG
public static AgoraVideoCodecType[] values()
for (AgoraVideoCodecType c : AgoraVideoCodecType.values()) System.out.println(c);
public static AgoraVideoCodecType 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