public enum VideoCodec extends java.lang.Enum<VideoCodec> implements Control
CameraView.setVideoCodec(VideoCodec)| Enum Constant and Description |
|---|
DEVICE_DEFAULT
Let the device choose its codec.
|
H_263
The H.263 codec.
|
H_264
The H.264 codec.
|
| Modifier and Type | Method and Description |
|---|---|
static VideoCodec |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VideoCodec[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VideoCodec DEVICE_DEFAULT
public static final VideoCodec H_263
public static final VideoCodec H_264
public static VideoCodec[] values()
for (VideoCodec c : VideoCodec.values()) System.out.println(c);
public static 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