public static class IRtcEngineEventHandler.ErrorCode
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ERR_ABORTED
20: The SDK gives up the request due to too many requests.
|
static int |
ERR_ADM_GENERAL_ERROR
1005: General error on the audio device module (no specified reason).
|
static int |
ERR_ADM_INIT_PLAYOUT
1008: Audio Device Module: An error occurs in initializing the playback device.
|
static int |
ERR_ADM_INIT_RECORDING
1011: Audio Device Module: An error occurs when initializing the recording device.
|
static int |
ERR_ADM_START_PLAYOUT
1009: Audio Device Module: An error occurs when starting the playback device.
|
static int |
ERR_ADM_START_RECORDING
1012: Audio Device Module: An error occurs when starting the recording device.
|
static int |
ERR_ADM_STOP_PLAYOUT
1010: Audio Device Module: An error occurs when stopping the playback device.
|
static int |
ERR_ADM_STOP_RECORDING
1013: Audio Device Module: An error occurs when stopping the recording device.
|
static int |
ERR_ALREADY_IN_USE
19: Resources are occupied, and cannot be reused.
|
static int |
ERR_BIND_SOCKET
13: The SDK fails to bind to the network socket.
|
static int |
ERR_BITRATE_LIMIT
115: The bitrate is limited.
|
static int |
ERR_BUFFER_TOO_SMALL
6: The buffer size is not big enough to store the returned data.
|
static int |
ERR_CANCELED
11: The request is cancelled.
|
static int |
ERR_CLIENT_IS_BANNED_BY_SERVER
123: The client is banned by the server.
|
static int |
ERR_CONNECTION_INTERRUPTED
111: The CONNECTION_INTERRUPTED callback.
|
static int |
ERR_CONNECTION_LOST
112: The CONNECTION_LOST callback.
|
static int |
ERR_DECRYPTION_FAILED
120: Decryption fails.
|
static int |
ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
130: Encryption is enabled when the user calls the
addPublishStreamUrl method (CDN
live streaming does not support encrypted streams). |
static int |
ERR_FAILED
1: A general error occurs (no specified reason).
|
static int |
ERR_INIT_NET_ENGINE
21: On Windows, specific firewall settings can cause the SDK to fail to
initialize and crash.
|
static int |
ERR_INVALID_APP_ID
101: The specified App ID is invalid.
|
static int |
ERR_INVALID_ARGUMENT
2: An invalid parameter is used.
|
static int |
ERR_INVALID_CHANNEL_NAME
102: The specified channel name is invalid.
|
static int |
ERR_INVALID_TOKEN
110: The token is invalid due to one of the following reasons:
- The App Certificate for the project is enabled in Console, but the user is still using the
App ID.
|
static int |
ERR_INVALID_USER_ACCOUNT
134: The user account is invalid, usually because the data format of the user account is
incorrect.
|
static int |
ERR_INVALID_USER_ID
121: The user ID is invalid.
|
static int |
ERR_JOIN_CHANNEL_REJECTED
17: The request to join the channel is rejected.
|
static int |
ERR_LEAVE_CHANNEL_REJECTED
18: The request to leave the channel is rejected.
|
static int |
ERR_LICENSE_CREDENTIAL_INVALID
131: License credential is invalid
|
static int |
ERR_LOAD_MEDIA_ENGINE
1001: Fails to load the media engine.
|
static int |
ERR_MODULE_NOT_FOUND
157: The extension library is not integrated, such as the library for enabling deep-learning
noise reduction.
|
static int |
ERR_NET_DOWN
14: The network is unavailable.
|
static int |
ERR_NO_PERMISSION
9: No permission.
|
static int |
ERR_NO_SERVER_RESOURCES
103: Fails to get server resources in the specified region.
|
static int |
ERR_NOT_IN_CHANNEL
113: The user is not in the channel.
|
static int |
ERR_NOT_INITIALIZED
7: The SDK is not initialized before calling this API.
|
static int |
ERR_NOT_READY
3: The SDK module is not ready.
|
static int |
ERR_NOT_SUPPORTED
4: The SDK does not support this function.
|
static int |
ERR_OK
0: No error occurs.
|
static int |
ERR_REFUSED
5: The request is rejected.
|
static int |
ERR_RESOURCE_LIMITED
22: The app uses too much of the system resource and the SDK
fails to allocate any resource.
|
static int |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
119: Switching the user role fails.
|
static int |
ERR_SIZE_TOO_LARGE
114: The data size is too big.
|
static int |
ERR_STREAM_MESSAGE_TIMEOUT
117: A timeout occurs for the data stream transmission.
|
static int |
ERR_TIMEDOUT
10: An API timeout.
|
static int |
ERR_TOKEN_EXPIRED
109: The token expired due to one of the following reasons:
- Authorized Timestamp expired: The timestamp is represented by the number of seconds elapsed
since 1/1/1970.
|
static int |
ERR_TOO_MANY_DATA_STREAMS
116: Too many data streams.
|
static int |
ERR_TOO_OFTEN
12: The call frequency is too high.
|
static int |
ERR_VDM_CAMERA_NOT_AUTHORIZED
1501: Video Device Module: The camera is not authorized.
|
Constructor and Description |
---|
ErrorCode() |
public static final int ERR_OK
public static final int ERR_FAILED
public static final int ERR_INVALID_ARGUMENT
public static final int ERR_NOT_READY
public static final int ERR_NOT_SUPPORTED
public static final int ERR_REFUSED
public static final int ERR_BUFFER_TOO_SMALL
public static final int ERR_NOT_INITIALIZED
public static final int ERR_NO_PERMISSION
public static final int ERR_TIMEDOUT
public static final int ERR_CANCELED
public static final int ERR_TOO_OFTEN
public static final int ERR_BIND_SOCKET
public static final int ERR_NET_DOWN
public static final int ERR_JOIN_CHANNEL_REJECTED
public static final int ERR_LEAVE_CHANNEL_REJECTED
public static final int ERR_ALREADY_IN_USE
public static final int ERR_ABORTED
public static final int ERR_INIT_NET_ENGINE
public static final int ERR_RESOURCE_LIMITED
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_TOKEN_EXPIRED
public static final int ERR_INVALID_TOKEN
public static final int ERR_CONNECTION_INTERRUPTED
public static final int ERR_CONNECTION_LOST
public static final int ERR_NOT_IN_CHANNEL
public static final int ERR_SIZE_TOO_LARGE
public static final int ERR_BITRATE_LIMIT
public static final int ERR_TOO_MANY_DATA_STREAMS
public static final int ERR_STREAM_MESSAGE_TIMEOUT
public static final int ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED
public static final int ERR_DECRYPTION_FAILED
public static final int ERR_INVALID_USER_ID
public static final int ERR_CLIENT_IS_BANNED_BY_SERVER
public static final int ERR_ENCRYPTED_STREAM_NOT_ALLOWED_PUBLISH
addPublishStreamUrl
method (CDN
live streaming does not support encrypted streams).public static final int ERR_LICENSE_CREDENTIAL_INVALID
public static final int ERR_INVALID_USER_ACCOUNT
public static final int ERR_MODULE_NOT_FOUND
public static final int ERR_LOAD_MEDIA_ENGINE
public static final int ERR_ADM_GENERAL_ERROR
public static final int ERR_ADM_INIT_PLAYOUT
public static final int ERR_ADM_START_PLAYOUT
public static final int ERR_ADM_STOP_PLAYOUT
public static final int ERR_ADM_INIT_RECORDING
public static final int ERR_ADM_START_RECORDING
public static final int ERR_ADM_STOP_RECORDING
public static final int ERR_VDM_CAMERA_NOT_AUTHORIZED