public enum AlivcLiveMode extends java.lang.Enum<AlivcLiveMode>
推拉流模式
Enum Constant and Description |
---|
AlivcLiveBasicMode
基础模式(默认模式)
常规的RTMP推流、RTS推流,不支持连麦、PK等实时互动;
如果一场直播没有互动需求,建议使用该模式;
|
AlivcLiveInteractiveMode
互动模式
支持连麦、PK等实时互动;
如果一场直播有互动需求,建议使用该模式;
|
Modifier and Type | Method and Description |
---|---|
int |
getMode() |
static AlivcLiveMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AlivcLiveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlivcLiveMode AlivcLiveBasicMode
public static final AlivcLiveMode AlivcLiveInteractiveMode
public static AlivcLiveMode[] values()
for (AlivcLiveMode c : AlivcLiveMode.values()) System.out.println(c);
public static AlivcLiveMode 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 getMode()