-
- All Implemented Interfaces:
-
com.otaliastudios.cameraview.controls.Control
public enum VideoCodec implements Control
Constants for selecting the encoder of video recordings. https://developer.android.com/guide/topics/media/media-formats.html#video-formats
-
-
Field Summary
Fields Modifier and Type Field Description final static VideoCodecDEFAULT
-
Constructor Summary
Constructors Constructor Description VideoCodec(int value)
-
Enum Constant Summary
Enum Constants Enum Constant Description DEVICE_DEFAULTLet the device choose its codec.
H_263The H.263 codec.
H_264The H.264 codec.
-
Method Summary
Modifier and Type Method Description intvalue()static VideoCodecfromValue(int value)static Array<VideoCodec>values()static VideoCodecvalueOf(String name)-
-
Method Detail
-
value
int value()
-
fromValue
@NonNull() static VideoCodec fromValue(int value)
-
values
static Array<VideoCodec> values()
-
valueOf
static VideoCodec valueOf(String name)
-
-
-
-