public static class AgoraRtcService.ErrorCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ERR_AUDIO_DECODER_NOT_MATCH_AUDIO_FRAME
Audio decoder does not match incoming audio data type.
|
static int |
ERR_CLIENT_IS_BANNED_BY_SERVER
Client is banned by the server
|
static int |
ERR_DECRYPTION_FAILED
Decryption fails.
|
static int |
ERR_FAILED
General error
|
static int |
ERR_INVALID_APP_ID
App ID is invalid.
|
static int |
ERR_INVALID_CHANNEL_NAME
Channel is invalid.
|
static int |
ERR_INVALID_TOKEN
Token is invalid due to reasons belows:
- If application certificate is enabled on the Dashboard,
valid token SHOULD be set when invoke.
|
static int |
ERR_JOIN_CHANNEL_REJECTED
Request to join channel is rejected.
|
static int |
ERR_LOOKUP_CHANNEL_REJECTED
Server rejected request to look up channel.
|
static int |
ERR_NET_DOWN
Network is unavailable
|
static int |
ERR_NO_AUDIO_DECODER_TO_HANDLE_AUDIO_FRAME
Audio decoder does not match incoming audio data type.
|
static int |
ERR_NO_SERVER_RESOURCES
Fails to get server resources in the specified region.
|
static int |
ERR_OKAY
No error.
|
static int |
ERR_OPEN_CHANNEL_INVALID_TICKET
Ticket to open channel is invalid
|
static int |
ERR_OPEN_CHANNEL_REJECTED
Server rejected request to open channel.
|
static int |
ERR_OPEN_CHANNEL_TRY_NEXT_VOS
Try another server.
|
static int |
ERR_SEND_VIDEO_OVER_BANDWIDTH_LIMIT
Sending video data too fast and over the bandwidth limit.
|
static int |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
Switching roles failed.
|
static int |
ERR_TOKEN_EXPIRED
Token expired due to reasons belows:
- Authorized Timestamp expired:
The timestamp is represented by the number of
seconds elapsed since 1/1/1970.
|
Constructor and Description |
---|
ErrorCode() |
public static final int ERR_OKAY
public static final int ERR_FAILED
public static final int ERR_NET_DOWN
public static final int ERR_JOIN_CHANNEL_REJECTED
public static final int ERR_INVALID_APP_ID
public static final int ERR_INVALID_CHANNEL_NAME
public static final int ERR_NO_SERVER_RESOURCES
public static final int ERR_LOOKUP_CHANNEL_REJECTED
public static final int ERR_OPEN_CHANNEL_REJECTED
public static final int ERR_TOKEN_EXPIRED
public static final int ERR_INVALID_TOKEN
public static final int ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
public static final int ERR_DECRYPTION_FAILED
public static final int ERR_OPEN_CHANNEL_INVALID_TICKET
public static final int ERR_OPEN_CHANNEL_TRY_NEXT_VOS
public static final int ERR_CLIENT_IS_BANNED_BY_SERVER
public static final int ERR_SEND_VIDEO_OVER_BANDWIDTH_LIMIT
public static final int ERR_AUDIO_DECODER_NOT_MATCH_AUDIO_FRAME
public static final int ERR_NO_AUDIO_DECODER_TO_HANDLE_AUDIO_FRAME