public enum AlivcQualityModeEnum extends java.lang.Enum<AlivcQualityModeEnum>
AlivcLivePushConstants
Enum Constant and Description |
---|
QM_CUSTOM
自定义模式
SDK会根据开发者设置的码率进行配置
|
QM_FLUENCY_FIRST
流畅度优先模式
SDK内部会对码率参数进行配置,优先保障推流视频的流畅度
|
QM_RESOLUTION_FIRST
清晰度优先模式
SDK内部会对码率参数进行配置,优先保障推流视频的清晰度
|
Modifier and Type | Method and Description |
---|---|
int |
getQualityMode()
获取枚举值
|
static AlivcQualityModeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcQualityModeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcQualityModeEnum QM_RESOLUTION_FIRST
public static final AlivcQualityModeEnum QM_FLUENCY_FIRST
public static final AlivcQualityModeEnum QM_CUSTOM
public static AlivcQualityModeEnum[] values()
for (AlivcQualityModeEnum c : AlivcQualityModeEnum.values()) System.out.println(c);
public static AlivcQualityModeEnum valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getQualityMode()