Package im.zego.zegoexpress.constants
Enum ZegoStreamRelayCDNUpdateReason
- java.lang.Object
-
- java.lang.Enum<ZegoStreamRelayCDNUpdateReason>
-
- im.zego.zegoexpress.constants.ZegoStreamRelayCDNUpdateReason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ZegoStreamRelayCDNUpdateReason>
public enum ZegoStreamRelayCDNUpdateReason extends java.lang.Enum<ZegoStreamRelayCDNUpdateReason>
Reason for state of CDN relay changed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCESS_POINT_ERROR
Access point errorBAD_NAME
Bad stream IDCDN_SERVER_DISCONNECTED
CDN server actively disconnectedCREATE_STREAM_FAILED
Stream create failureDISCONNECTED
Active disconnectHANDSHAKE_FAILED
Handshake errorMIX_STREAM_ALL_INPUT_STREAM_CLOSED
All mixer input streams sessions closedMIX_STREAM_ALL_INPUT_STREAM_NO_DATA
All mixer input streams have no dataMIX_STREAM_SERVER_INTERNAL_ERROR
Internal error of stream mixer serverNONE
No errorSERVER_ERROR
Server error
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ZegoStreamRelayCDNUpdateReason
getZegoStreamRelayCDNUpdateReason(int value)
int
value()
static ZegoStreamRelayCDNUpdateReason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ZegoStreamRelayCDNUpdateReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ZegoStreamRelayCDNUpdateReason NONE
No error
-
SERVER_ERROR
public static final ZegoStreamRelayCDNUpdateReason SERVER_ERROR
Server error
-
HANDSHAKE_FAILED
public static final ZegoStreamRelayCDNUpdateReason HANDSHAKE_FAILED
Handshake error
-
ACCESS_POINT_ERROR
public static final ZegoStreamRelayCDNUpdateReason ACCESS_POINT_ERROR
Access point error
-
CREATE_STREAM_FAILED
public static final ZegoStreamRelayCDNUpdateReason CREATE_STREAM_FAILED
Stream create failure
-
BAD_NAME
public static final ZegoStreamRelayCDNUpdateReason BAD_NAME
Bad stream ID
-
CDN_SERVER_DISCONNECTED
public static final ZegoStreamRelayCDNUpdateReason CDN_SERVER_DISCONNECTED
CDN server actively disconnected
-
DISCONNECTED
public static final ZegoStreamRelayCDNUpdateReason DISCONNECTED
Active disconnect
-
MIX_STREAM_ALL_INPUT_STREAM_CLOSED
public static final ZegoStreamRelayCDNUpdateReason MIX_STREAM_ALL_INPUT_STREAM_CLOSED
All mixer input streams sessions closed
-
MIX_STREAM_ALL_INPUT_STREAM_NO_DATA
public static final ZegoStreamRelayCDNUpdateReason MIX_STREAM_ALL_INPUT_STREAM_NO_DATA
All mixer input streams have no data
-
MIX_STREAM_SERVER_INTERNAL_ERROR
public static final ZegoStreamRelayCDNUpdateReason MIX_STREAM_SERVER_INTERNAL_ERROR
Internal error of stream mixer server
-
-
Method Detail
-
values
public static ZegoStreamRelayCDNUpdateReason[] 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 (ZegoStreamRelayCDNUpdateReason c : ZegoStreamRelayCDNUpdateReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ZegoStreamRelayCDNUpdateReason 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
-
value
public int value()
-
getZegoStreamRelayCDNUpdateReason
public static ZegoStreamRelayCDNUpdateReason getZegoStreamRelayCDNUpdateReason(int value)
-
-