Package io.agora.rtc2.video
Enum Class VideoEncoderConfiguration.FRAME_RATE
java.lang.Object
java.lang.Enum<VideoEncoderConfiguration.FRAME_RATE>
io.agora.rtc2.video.VideoEncoderConfiguration.FRAME_RATE
- All Implemented Interfaces:
Serializable,Comparable<VideoEncoderConfiguration.FRAME_RATE>,Constable
- Enclosing class:
- VideoEncoderConfiguration
public static enum VideoEncoderConfiguration.FRAME_RATE
extends Enum<VideoEncoderConfiguration.FRAME_RATE>
The frame rate of the video.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription1: 1 fps.10: 10 fps.15: 15 fps.24: 24 fps.30: 30 fps.Not supported.7: 7 fps. -
Method Summary
Modifier and TypeMethodDescriptionintgetValue()Returns the enum constant of this class with the specified name.static VideoEncoderConfiguration.FRAME_RATE[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
FRAME_RATE_FPS_1
1: 1 fps. -
FRAME_RATE_FPS_7
7: 7 fps. -
FRAME_RATE_FPS_10
10: 10 fps. -
FRAME_RATE_FPS_15
15: 15 fps. -
FRAME_RATE_FPS_24
24: 24 fps. -
FRAME_RATE_FPS_30
30: 30 fps. -
FRAME_RATE_FPS_60
Not supported.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()
-