Static Public Attributes | |
static final int | ERR_OK = Constants.ERR_OK |
static final int | ERR_FAILED = Constants.ERR_FAILED |
static final int | ERR_INVALID_ARGUMENT = Constants.ERR_INVALID_ARGUMENT |
static final int | ERR_NOT_READY = Constants.ERR_NOT_READY |
static final int | ERR_NOT_SUPPORTED = Constants.ERR_NOT_SUPPORTED |
static final int | ERR_REFUSED = Constants.ERR_REFUSED |
static final int | ERR_BUFFER_TOO_SMALL = Constants.ERR_BUFFER_TOO_SMALL |
static final int | ERR_NOT_INITIALIZED = Constants.ERR_NOT_INITIALIZED |
static final int | WARN_INVALID_VIEW = Constants.WARN_INVALID_VIEW |
static final int | ERR_NO_PERMISSION = Constants.ERR_NO_PERMISSION |
static final int | ERR_TIMEDOUT = Constants.ERR_TIMEDOUT |
static final int | ERR_CANCELED = Constants.ERR_CANCELED |
static final int | ERR_TOO_OFTEN = Constants.ERR_TOO_OFTEN |
static final int | ERR_BIND_SOCKET = Constants.ERR_BIND_SOCKET |
static final int | ERR_NET_DOWN = Constants.ERR_NET_DOWN |
static final int | ERR_NET_NOBUFS = Constants.ERR_NET_NOBUFS |
static final int | WARN_INIT_VIDEO = Constants.WARN_INIT_VIDEO |
static final int | ERR_JOIN_CHANNEL_REJECTED = Constants.ERR_JOIN_CHANNEL_REJECTED |
static final int | ERR_LEAVE_CHANNEL_REJECTED = Constants.ERR_LEAVE_CHANNEL_REJECTED |
static final int | ERR_INVALID_APP_ID = Constants.ERR_INVALID_APP_ID |
static final int | ERR_INVALID_CHANNEL_NAME = Constants.ERR_INVALID_CHANNEL_NAME |
static final int | ERR_TOKEN_EXPIRED = Constants.ERR_TOKEN_EXPIRED |
static final int | ERR_INVALID_TOKEN = Constants.ERR_INVALID_TOKEN |
static final int | ERR_CONNECTION_INTERRUPTED = Constants.ERR_CONNECTION_INTERRUPTED |
static final int | ERR_CONNECTION_LOST = Constants.ERR_CONNECTION_LOST |
static final int | ERR_NOT_IN_CHANNEL = Constants.ERR_NOT_IN_CHANNEL |
static final int | ERR_SIZE_TOO_LARGE = Constants.ERR_SIZE_TOO_LARGE |
static final int | ERR_BITRATE_LIMIT = Constants.ERR_BITRATE_LIMIT |
static final int | ERR_TOO_MANY_DATA_STREAMS = Constants.ERR_TOO_MANY_DATA_STREAMS |
static final int | ERR_DECRYPTION_FAILED = Constants.ERR_DECRYPTION_FAILED |
static final int | ERR_CLIENT_IS_BANNED_BY_SERVER = Constants.ERR_CLIENT_IS_BANNED_BY_SERVER |
static final int | ERR_LOAD_MEDIA_ENGINE = Constants.ERR_LOAD_MEDIA_ENGINE |
static final int | ERR_START_CALL = Constants.ERR_START_CALL |
static final int | ERR_START_CAMERA = Constants.ERR_START_CAMERA |
static final int | ERR_START_VIDEO_RENDER = Constants.ERR_START_VIDEO_RENDER |
static final int | ERR_ADM_GENERAL_ERROR = Constants.ERR_ADM_GENERAL_ERROR |
static final int | ERR_ADM_JAVA_RESOURCE = Constants.ERR_ADM_JAVA_RESOURCE |
static final int | ERR_ADM_SAMPLE_RATE = Constants.ERR_ADM_SAMPLE_RATE |
static final int | ERR_ADM_INIT_PLAYOUT = Constants.ERR_ADM_INIT_PLAYOUT |
static final int | ERR_ADM_START_PLAYOUT = Constants.ERR_ADM_START_PLAYOUT |
static final int | ERR_ADM_STOP_PLAYOUT = Constants.ERR_ADM_STOP_PLAYOUT |
static final int | ERR_ADM_INIT_RECORDING = Constants.ERR_ADM_INIT_RECORDING |
static final int | ERR_ADM_START_RECORDING = Constants.ERR_ADM_START_RECORDING |
static final int | ERR_ADM_STOP_RECORDING = Constants.ERR_ADM_STOP_RECORDING |
static final int | ERR_ADM_RUNTIME_PLAYOUT_ERROR = Constants.ERR_ADM_RUNTIME_PLAYOUT_ERROR |
static final int | ERR_ADM_RUNTIME_RECORDING_ERROR = Constants.ERR_ADM_RUNTIME_RECORDING_ERROR |
static final int | ERR_ADM_RECORD_AUDIO_FAILED = Constants.ERR_ADM_RECORD_AUDIO_FAILED |
static final int | ERR_ADM_INIT_LOOPBACK = Constants.ERR_ADM_INIT_LOOPBACK |
static final int | ERR_ADM_START_LOOPBACK = Constants.ERR_ADM_START_LOOPBACK |
static final int | ERR_VDM_CAMERA_NOT_AUTHORIZED = Constants.ERR_VDM_CAMERA_NOT_AUTHORIZED |
Error codes.
|
static |
0: No error.
|
static |
1: General error (no classified reason).
|
static |
2: Invalid parameter called. For example, the specific channel name includes illegal characters.
|
static |
3: The SDK module is not ready. Agora recommends the following methods to solve this error:
|
static |
4: The SDK does not support this function.
|
static |
5: The request is rejected. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
6: The buffer size is not big enough to store the returned data.
|
static |
7: The SDK is not initialized before calling this method.
|
static |
8: The specified view is invalid. You need to specify a view when using the video function.
|
static |
9: No permission. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
10: An API timeout. Some APIs require the SDK to return the execution result, and this error occurs if the request takes too long for the SDK to process.
|
static |
11: The request is cancelled. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
12: The call frequency is too high. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
13: The SDK failed to bind to the network socket. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
14: The network is unavailable. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
15: No network buffers available. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
16: Failed to initialize the video function, possibly caused by lack of resources. The users cannot see the video while the voice communication is not affected.
|
static |
17: The request to join the channel is rejected. This error usually occurs when:
|
static |
18: The request to leave the channel is rejected. This error usually occurs:
|
static |
101: The specified App ID is invalid. Please try to rejoin the channel with a valid App ID.
|
static |
102: The specified channel name is invalid. Please try to rejoin the channel with a valid channel name.
|
static |
109: The token expired due to one of the following reasons:
|
static |
110: The Token is invalid due to one of the following reasons:
|
static |
111: The internet connection is interrupted. This applies to the Agora Web SDK only.
|
static |
112: The internet connection is lost. This applies to the Agora Web SDK only.
|
static |
113: The user is not in the channel when calling the sendStreamMessage method.
|
static |
114: The size of the sent data is over 1024 bytes when the user calls the sendStreamMessage method.
|
static |
115: The bitrate of the sent data exceeds the limit of 6 Kbps when the user calls the sendStreamMessage method.
|
static |
116: Too many data streams (over 5 streams) are created when the user calls the createDataStream} method.
|
static |
120: Decryption failed. The user may have used a different encryption password to join the channel. Please check your settings or try rejoining the channel.
|
static |
123: The client is banned by the server.
|
static |
1001: Failed to load the media engine.
|
static |
1002: Failed to start the call after enabling the media engine.
|
static |
1003: Failed to start the camera.
|
static |
1004: Failed to start the video rendering module.
|
static |
1005: Audio Device Module: General error on the Audio Device Module (no classified reason). Please check if the audio device is occupied by other applications, or try joining the channel.
|
static |
1006: Audio Device Module: Error in using the Java resources.
|
static |
1007: Audio Device Module: Error in setting the sampling frequency.
|
static |
1008: Audio Device Module: Error in initializing the playback device.
|
static |
1009: Audio Device Module: Error in starting the playback device.
|
static |
1010: Audio Device Module: Error in stopping the playback device.
|
static |
1011: Audio Device Module: Error in initializing the recording device.
|
static |
1012: Audio Device Module: Error in starting the recording device.
|
static |
1013: Audio Device Module: Error in stopping the recording device.
|
static |
1015: Audio Device Module: Runtime playback error.
|
static |
1017: Audio Device Module: Runtime recording error.
|
static |
1018: Audio Device Module: Failed to record.
|
static |
1022: Audio Device Module: Error in initializing the loopback device.
|
static |
1023: Audio Device Module: Error in starting the loopback device.
|
static |
1501: Video Device Module: The camera is not authorized.