public static enum IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE extends java.lang.Enum<IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE>
Enum Constant and Description |
---|
RTMP_STREAM_PUBLISH_STATE_CONNECTING
1: The SDK is connecting to the streaming server and the RTMP server.
|
RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
The SDK is disconnecting to Agora's streaming server and the CDN server.
|
RTMP_STREAM_PUBLISH_STATE_FAILURE
4: The RTMP streaming fails.
|
RTMP_STREAM_PUBLISH_STATE_IDLE
0: The RTMP streaming has not started or has ended.
|
RTMP_STREAM_PUBLISH_STATE_RECOVERING
3: The RTMP streaming is recovering.
|
RTMP_STREAM_PUBLISH_STATE_RUNNING
2: The RTMP streaming publishes.
|
Modifier and Type | Method and Description |
---|---|
static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE |
fromInt(int v) |
int |
getValue() |
static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_IDLE
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_CONNECTING
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_RUNNING
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_RECOVERING
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_FAILURE
public static final IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE RTMP_STREAM_PUBLISH_STATE_DISCONNECTING
public static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE[] values()
for (IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE c : IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE.values()) System.out.println(c);
public static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE 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 getValue()
public static IRtcEngineEventHandler.RTMP_STREAM_PUBLISH_STATE fromInt(int v)