Package com.alivc.live.pusher
Enum AlivcEncodeType
- java.lang.Object
-
- java.lang.Enum<AlivcEncodeType>
-
- com.alivc.live.pusher.AlivcEncodeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AlivcEncodeType>
public enum AlivcEncodeType extends java.lang.Enum<AlivcEncodeType>
编码模式
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Encode_TYPE_H264
H264编码,默认类型Encode_TYPE_H265
H264编码
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlivcEncodeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AlivcEncodeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Encode_TYPE_H264
public static final AlivcEncodeType Encode_TYPE_H264
H264编码,默认类型
-
Encode_TYPE_H265
public static final AlivcEncodeType Encode_TYPE_H265
H264编码
-
-
Method Detail
-
values
public static AlivcEncodeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AlivcEncodeType c : AlivcEncodeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlivcEncodeType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-