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 | 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 | 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_ALREADY_IN_USE = Constants.ERR_ALREADY_IN_USE |
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_NO_SERVER_RESOURCES = Constants.ERR_NO_SERVER_RESOURCES |
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_WATERMARK_PATH = Constants.ERR_WATERMARK_PATH |
static final int | ERR_INVALID_USER_ACCOUNT = Constants.ERR_INVALID_USER_ACCOUNT |
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_AUDIO_BT_SCO_FAILED = Constants.ERR_AUDIO_BT_SCO_FAILED |
static final int | ERR_ADM_NO_RECORDING_DEVICE = Constants.ERR_ADM_NO_RECORDING_DEVICE |
static final int | ERR_VDM_CAMERA_NOT_AUTHORIZED = Constants.ERR_VDM_CAMERA_NOT_AUTHORIZED |
static final int | ERR_VCM_UNKNOWN_ERROR = Constants.ERR_VCM_UNKNOWN_ERROR |
static final int | ERR_VCM_ENCODER_INIT_ERROR = Constants.ERR_VCM_ENCODER_INIT_ERROR |
static final int | ERR_VCM_ENCODER_ENCODE_ERROR = Constants.ERR_VCM_ENCODER_ENCODE_ERROR |
static final int | ERR_VCM_ENCODER_SET_ERROR = Constants.ERR_VCM_ENCODER_SET_ERROR |
Error codes.
|
static |
0: No error occurs.
|
static |
1: A general error occurs (no specified reason).
|
static |
2: An invalid parameter is used. For example, the specific channel name includes illegal characters.
|
static |
3: The SDK module is not ready. We recommend the following methods to solve this error:
|
static |
4: The SDK does not support this function.
|
static |
5: The request is rejected.
|
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 |
9: No permission exists. Check if the user has granted access to the audio or video device.
|
static |
10: An API timeout occurs. 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 method is called too often. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
13: The SDK fails 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 are available. This is for internal SDK internal use only, and is not returned to the app through any method or callback.
|
static |
17: The request to join the channel is rejected. This error usually occurs when:
joinChannel
.
|
static |
18: The request to leave the channel is rejected. This error usually occurs:
leaveChannel
. This error stops once the user stops calling the method. leaveChannel
before joining the channel. No extra operation is needed.
|
static |
19: The resources are occupied and cannot be used.
|
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 |
103: there is no server resources. Please try to set the others area code.
|
static |
109: The token expired due to one of the following reasons:
CONNECTION_CHANGED_TOKEN_EXPIRED(9)
in the onConnectionStateChanged
callback instead.
|
static |
110: The token is invalid due to one of the following reasons:
joinChannel
method. CONNECTION_CHANGED_INVALID_TOKEN(8)
in the onConnectionStateChanged
callback instead.
|
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.
|
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 five streams) are created when the user calls the createDataStream
} method.
|
static |
120: Decryption fails. 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 user is banned by the server. This error occurs when the user is kicked out the channel from the server.
|
static |
125: Incorrect watermark file path.
|
static |
134: The user account is invalid.
|
static |
1001: Fails to load the media engine.
|
static |
1002: Fails to start the call after enabling the media engine.
|
static |
1003: Fails to start the camera.
LOCAL_VIDEO_STREAM_ERROR_CAPTURE_FAILURE(4)
in the onLocalVideoStateChanged
callback instead.
|
static |
1004: Fails to start the video rendering module.
|
static |
1005: Audio Device Module: A general error occurs in the Audio Device Module (no classified reason). Please check if the audio device is used by other apps, or try joining the channel.
|
static |
1006: Audio Device Module: An error occurs in using the Java resources.
|
static |
1007: Audio Device Module: An error occurs in setting the sampling frequency.
|
static |
1008: Audio Device Module: An error occurs in initializing the playback device.
|
static |
1009: Audio Device Module: An error occurs in starting the playback device.
|
static |
1010: Audio Device Module: An error occurs in stopping the playback device.
|
static |
1011: Audio Device Module: An error occurs in initializing the sampling device.
|
static |
1012: Audio Device Module: An error occurs in starting the sampling device.
|
static |
1013: Audio Device Module: An error occurs in stopping the sampling device.
|
static |
1015: Audio Device Module: A playback error occurs.
|
static |
1017: Audio Device Module: A sampling error occurs.
|
static |
1018: Audio Device Module: Fails to record.
|
static |
1022: Audio Device Module: An error occurs in initializing the loopback device.
|
static |
1023: Audio Device Module: An error occurs in starting the loopback device.
|
static |
1030: Audio Routing: Fails to route the audio to the connected Bluetooth device. The default route is used.
|
static |
1359: Audio Device Module: No sampling device exists.
|
static |
1501: Video Device Module: The camera is not authorized.
|
static |
1600: Video Device Module: Unknown error.
|
static |
1601: Video Device Module: Error in initializing the video encoder. This is a serious error and you can try to rejoin the channel.
|
static |
1602: Video Device Module: Error in the video encoder. This is a serious error and you can try to rejoin the channel.
|
static |