Package io.agora.rtc2.video
Enum Class VideoEncoderConfiguration.VIDEO_CODEC_TYPE
java.lang.Object
java.lang.Enum<VideoEncoderConfiguration.VIDEO_CODEC_TYPE>
io.agora.rtc2.video.VideoEncoderConfiguration.VIDEO_CODEC_TYPE
- All Implemented Interfaces:
Serializable,Comparable<VideoEncoderConfiguration.VIDEO_CODEC_TYPE>,Constable
- Enclosing class:
- VideoEncoderConfiguration
public static enum VideoEncoderConfiguration.VIDEO_CODEC_TYPE
extends Enum<VideoEncoderConfiguration.VIDEO_CODEC_TYPE>
Video code types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription12: AV1.6: Generic.20: Generic JPEG.2: Standard H.264.3: Standard H.265.1: Standard VP8.13: VP9. -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
VIDEO_CODEC_NONE
-
VIDEO_CODEC_VP8
1: Standard VP8. -
VIDEO_CODEC_H264
2: Standard H.264. -
VIDEO_CODEC_H265
3: Standard H.265. -
VIDEO_CODEC_GENERIC
6: Generic. This type is used for transmitting raw video data, such as encrypted video frames. The SDK returns this type of video frames in callbacks, and you need to decode and render the frames yourself. -
VIDEO_CODEC_AV1
12: AV1. -
VIDEO_CODEC_VP9
13: VP9. -
VIDEO_CODEC_GENERIC_JPEG
20: Generic JPEG. This type consumes minimum computing resources and applies to IoT devices.
-
-
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()
-