public static enum VideoTrack.VideoCodec extends java.lang.Enum<VideoTrack.VideoCodec> implements Track.Codec
| Enum Constant and Description |
|---|
AVC |
H263 |
MP4_ASP |
UNKNOWN_VIDEO_CODEC |
| Modifier and Type | Method and Description |
|---|---|
static VideoTrack.VideoCodec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoTrack.VideoCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoTrack.VideoCodec AVC
public static final VideoTrack.VideoCodec H263
public static final VideoTrack.VideoCodec MP4_ASP
public static final VideoTrack.VideoCodec UNKNOWN_VIDEO_CODEC
public static VideoTrack.VideoCodec[] values()
for (VideoTrack.VideoCodec c : VideoTrack.VideoCodec.values()) System.out.println(c);
public static VideoTrack.VideoCodec 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