public static enum Constants.RemoteVideoStateReason extends java.lang.Enum<Constants.RemoteVideoStateReason>
| Enum Constant and Description |
|---|
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
8: The remote audio-and-video stream falls back to the audio-only stream
due to poor network conditions.
|
REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
9: The remote audio-only stream switches back to the audio-and-video
stream after the network conditions improve.
|
REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT
13: The remote video stream is not supported by the decoder
|
REMOTE_VIDEO_STATE_REASON_INTERNAL
0: The SDK reports this reason when the video state changes.
|
REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
3: The local user stops receiving the remote video stream or disables the
video module.
|
REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
4: The local user resumes receiving the remote video stream or enables the
video module.
|
REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
1: Network congestion.
|
REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
2: Network recovery.
|
REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
5: The remote user stops sending the video stream or disables the video
module.
|
REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
7: The remote user leaves the channel.
|
REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
6: The remote user resumes sending the video stream or enables the video
module.
|
REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
(iOS only) 12: The app of the remote user is in background.
|
REMOTE_VIDEO_STATE_REASON_UNKNOWN |
REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH
(Internal use only) 11: The remote video stream type change to high stream
type
|
REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW
(Internal use only) 10: The remote video stream type change to low stream
type
|
| Modifier and Type | Field and Description |
|---|---|
private int |
value |
| Modifier and Type | Method and Description |
|---|---|
static Constants.RemoteVideoStateReason |
fromInt(int value) |
int |
getValue() |
static Constants.RemoteVideoStateReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.RemoteVideoStateReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_UNKNOWN
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_INTERNAL
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_NETWORK_CONGESTION
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_NETWORK_RECOVERY
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_LOCAL_MUTED
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_LOCAL_UNMUTED
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_REMOTE_OFFLINE
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_AUDIO_FALLBACK_RECOVERY
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_LOW
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_VIDEO_STREAM_TYPE_CHANGE_TO_HIGH
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_SDK_IN_BACKGROUND
public static final Constants.RemoteVideoStateReason REMOTE_VIDEO_STATE_REASON_CODEC_NOT_SUPPORT
public static Constants.RemoteVideoStateReason[] values()
for (Constants.RemoteVideoStateReason c : Constants.RemoteVideoStateReason.values()) System.out.println(c);
public static Constants.RemoteVideoStateReason 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 Constants.RemoteVideoStateReason fromInt(int value)