Package io.agora.rtc2.video
Enum Class VideoEncoderConfiguration.CODEC_CAP_MASK
java.lang.Object
java.lang.Enum<VideoEncoderConfiguration.CODEC_CAP_MASK>
io.agora.rtc2.video.VideoEncoderConfiguration.CODEC_CAP_MASK
- All Implemented Interfaces:
Serializable,Comparable<VideoEncoderConfiguration.CODEC_CAP_MASK>,Constable
- Enclosing class:
- VideoEncoderConfiguration
public static enum VideoEncoderConfiguration.CODEC_CAP_MASK
extends Enum<VideoEncoderConfiguration.CODEC_CAP_MASK>
Supported codec type bit mask.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionbit 1: Hardware decoder support flagbit 2: Hardware encoder support flagcodec cap maskbit 3: Software decoder support flagbit 4: Software encoder support flag -
Method Summary
Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CODEC_CAP_MASK_NONE
codec cap mask -
CODEC_CAP_MASK_HW_DEC
bit 1: Hardware decoder support flag -
CODEC_CAP_MASK_HW_ENC
bit 2: Hardware encoder support flag -
CODEC_CAP_MASK_SW_DEC
bit 3: Software decoder support flag -
CODEC_CAP_MASK_SW_ENC
bit 4: Software encoder support flag
-
-
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()
-