Namespaces | |
media | |
rtc | |
util | |
Warning code.
Error code.
Enumerator | |
---|---|
ERR_OK | 0: No error occurs. |
ERR_FAILED | 1: A general error occurs (no specified reason). |
ERR_INVALID_ARGUMENT | 2: An invalid parameter is used. For example, the specific channel name includes illegal characters. |
ERR_NOT_READY | 3: The SDK module is not ready. Possible solutions:
|
ERR_NOT_SUPPORTED | 4: The SDK does not support this function. |
ERR_REFUSED | 5: The request is rejected. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_BUFFER_TOO_SMALL | 6: The buffer size is not big enough to store the returned data. |
ERR_NOT_INITIALIZED | 7: The SDK is not initialized before calling this method. |
ERR_NO_PERMISSION | 9: No permission exists. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_TIMEDOUT | 10: An API method timeout occurs. Some API methods require the SDK to return the execution result, and this error occurs if the request takes too long (more than 10 seconds) for the SDK to process. |
ERR_CANCELED | 11: The request is canceled. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_TOO_OFTEN | 12: The method is called too often. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_BIND_SOCKET | 13: The SDK fails to bind to the network socket. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_NET_DOWN | 14: The network is unavailable. This is for internal SDK use only, and it does not return to the application through any method or callback. |
ERR_NET_NOBUFS | 15: No network buffers are available. This is for internal SDK internal use only, and it does not return to the application through any method or callback. |
ERR_JOIN_CHANNEL_REJECTED | 17: The request to join the channel is rejected. This error usually occurs when the user is already in the channel, and still calls the method to join the channel, for example, joinChannel. |
ERR_LEAVE_CHANNEL_REJECTED | 18: The request to leave the channel is rejected. This error usually occurs:
|
ERR_ALREADY_IN_USE | 19: Resources are occupied and cannot be reused. |
ERR_ABORTED | 20: The SDK gives up the request due to too many requests. |
ERR_INIT_NET_ENGINE | 21: In Windows, specific firewall settings can cause the SDK to fail to initialize and crash. |
ERR_RESOURCE_LIMITED | 22: The application uses too much of the system resources and the SDK fails to allocate the resources. |
ERR_INVALID_APP_ID | 101: The specified App ID is invalid. Please try to rejoin the channel with a valid App ID. |
ERR_INVALID_CHANNEL_NAME | 102: The specified channel name is invalid. Please try to rejoin the channel with a valid channel name. |
ERR_TOKEN_EXPIRED | 109: The token expired due to one of the following reasons:
|
ERR_INVALID_TOKEN | 110: The token is invalid due to one of the following reasons:
|
ERR_CONNECTION_INTERRUPTED | 111: The internet connection is interrupted. This applies to the Agora Web SDK only. |
ERR_CONNECTION_LOST | 112: The internet connection is lost. This applies to the Agora Web SDK only. |
ERR_NOT_IN_CHANNEL | 113: The user is not in the channel when calling the sendStreamMessage method. |
ERR_SIZE_TOO_LARGE | 114: The size of the sent data is over 1024 bytes when the user calls the sendStreamMessage method. |
ERR_BITRATE_LIMIT | 115: The bitrate of the sent data exceeds the limit of 6 Kbps when the user calls the sendStreamMessage method. |
ERR_TOO_MANY_DATA_STREAMS | 116: Too many data streams (over 5 streams) are created when the user calls the createDataStream method. |
ERR_STREAM_MESSAGE_TIMEOUT | 117: The data stream transmission timed out. |
ERR_SET_CLIENT_ROLE_NOT_AUTHORIZED | 119: Switching roles fail. Please try to rejoin the channel. |
ERR_DECRYPTION_FAILED | 120: Decryption fails. The user may have used a different encryption password to join the channel. Check your settings or try rejoining the channel. |
ERR_CLIENT_IS_BANNED_BY_SERVER | 123: The client is banned by the server. |
ERR_WATERMARK_PARAM | 124: Incorrect watermark file parameter. |
ERR_WATERMARK_PATH | 125: Incorrect watermark file path. |
ERR_WATERMARK_PNG | 126: Incorrect watermark file format. |
ERR_WATERMARKR_INFO | 127: Incorrect watermark file information. |
ERR_WATERMARK_ARGB | 128: Incorrect watermark file data format. |
ERR_WATERMARK_READ | 129: An error occurs in reading the watermark file. |
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). |
ERR_LOGOUT_OTHER | |
ERR_LOGOUT_USER | 401: The user logged out. |
ERR_LOGOUT_NET | 402: Network failure. |
ERR_LOGOUT_KICKED | 403: Logged in another device. |
ERR_LOGOUT_PACKET | |
ERR_LOGOUT_TOKEN_EXPIRED | 405: The token expired. |
ERR_LOGOUT_OLDVERSION | |
ERR_LOGOUT_TOKEN_WRONG | |
ERR_LOGOUT_ALREADY_LOGOUT | |
ERR_LOGIN_OTHER | |
ERR_LOGIN_NET | |
ERR_LOGIN_FAILED | |
ERR_LOGIN_CANCELED | |
ERR_LOGIN_TOKEN_EXPIRED | |
ERR_LOGIN_OLD_VERSION | |
ERR_LOGIN_TOKEN_WRONG | |
ERR_LOGIN_TOKEN_KICKED | |
ERR_LOGIN_ALREADY_LOGIN | |
ERR_JOIN_CHANNEL_OTHER | |
ERR_SEND_MESSAGE_OTHER | |
ERR_SEND_MESSAGE_TIMEOUT | |
ERR_QUERY_USERNUM_OTHER | |
ERR_QUERY_USERNUM_TIMEOUT | |
ERR_QUERY_USERNUM_BYUSER | |
ERR_LEAVE_CHANNEL_OTHER | |
ERR_LEAVE_CHANNEL_KICKED | |
ERR_LEAVE_CHANNEL_BYUSER | |
ERR_LEAVE_CHANNEL_LOGOUT | |
ERR_LEAVE_CHANNEL_DISCONNECTED | |
ERR_INVITE_OTHER | |
ERR_INVITE_REINVITE | |
ERR_INVITE_NET | |
ERR_INVITE_PEER_OFFLINE | |
ERR_INVITE_TIMEOUT | |
ERR_INVITE_CANT_RECV | |
ERR_LOAD_MEDIA_ENGINE | 1001: Fails to load the media engine. |
ERR_START_CALL | 1002: Fails to start the call after enabling the media engine. |
ERR_START_CAMERA | 1003: Fails to start the camera. |
ERR_START_VIDEO_RENDER | 1004: Fails to start the video rendering module. |
ERR_ADM_GENERAL_ERROR | 1005: A general error occurs in the Audio Device Module (no specified reason). Check if the audio device is used by another application, or try rejoining the channel. |
ERR_ADM_JAVA_RESOURCE | 1006: Audio Device Module: An error occurs in using the Java resources. |
ERR_ADM_SAMPLE_RATE | 1007: Audio Device Module: An error occurs in setting the sampling frequency. |
ERR_ADM_INIT_PLAYOUT | 1008: Audio Device Module: An error occurs in initializing the playback device. |
ERR_ADM_START_PLAYOUT | 1009: Audio Device Module: An error occurs in starting the playback device. |
ERR_ADM_STOP_PLAYOUT | 1010: Audio Device Module: An error occurs in stopping the playback device. |
ERR_ADM_INIT_RECORDING | 1011: Audio Device Module: An error occurs in initializing the recording device. |
ERR_ADM_START_RECORDING | 1012: Audio Device Module: An error occurs in starting the recording device. |
ERR_ADM_STOP_RECORDING | 1013: Audio Device Module: An error occurs in stopping the recording device. |
ERR_ADM_RUNTIME_PLAYOUT_ERROR | 1015: Audio Device Module: A playback error occurs. Check your playback device and try rejoining the channel. |
ERR_ADM_RUNTIME_RECORDING_ERROR | 1017: Audio Device Module: A recording error occurs. |
ERR_ADM_RECORD_AUDIO_FAILED | 1018: Audio Device Module: Fails to record. |
ERR_ADM_INIT_LOOPBACK | 1022: Audio Device Module: An error occurs in initializing the loopback device. |
ERR_ADM_START_LOOPBACK | 1023: Audio Device Module: An error occurs in starting the loopback device. |
ERR_ADM_NO_PERMISSION | 1027: Audio Device Module: No recording permission exists. Check if the recording permission is granted. |
ERR_ADM_RECORD_AUDIO_IS_ACTIVE | |
ERR_ADM_ANDROID_JNI_JAVA_RESOURCE | |
ERR_ADM_ANDROID_JNI_NO_RECORD_FREQUENCY | |
ERR_ADM_ANDROID_JNI_NO_PLAYBACK_FREQUENCY | |
ERR_ADM_ANDROID_JNI_JAVA_START_RECORD | |
ERR_ADM_ANDROID_JNI_JAVA_START_PLAYBACK | |
ERR_ADM_ANDROID_JNI_JAVA_RECORD_ERROR | |
ERR_ADM_ANDROID_OPENSL_CREATE_ENGINE | |
ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_RECORDER | |
ERR_ADM_ANDROID_OPENSL_START_RECORDER_THREAD | |
ERR_ADM_ANDROID_OPENSL_CREATE_AUDIO_PLAYER | |
ERR_ADM_ANDROID_OPENSL_START_PLAYER_THREAD | |
ERR_ADM_IOS_INPUT_NOT_AVAILABLE | |
ERR_ADM_IOS_ACTIVATE_SESSION_FAIL | |
ERR_ADM_IOS_VPIO_INIT_FAIL | |
ERR_ADM_IOS_VPIO_REINIT_FAIL | |
ERR_ADM_IOS_VPIO_RESTART_FAIL | |
ERR_ADM_IOS_SET_RENDER_CALLBACK_FAIL | |
ERR_ADM_IOS_SESSION_SAMPLERATR_ZERO | |
ERR_ADM_WIN_CORE_INIT | |
ERR_ADM_WIN_CORE_INIT_RECORDING | |
ERR_ADM_WIN_CORE_INIT_PLAYOUT | |
ERR_ADM_WIN_CORE_INIT_PLAYOUT_NULL | |
ERR_ADM_WIN_CORE_START_RECORDING | |
ERR_ADM_WIN_CORE_CREATE_REC_THREAD | |
ERR_ADM_WIN_CORE_CAPTURE_NOT_STARTUP | |
ERR_ADM_WIN_CORE_CREATE_RENDER_THREAD | |
ERR_ADM_WIN_CORE_RENDER_NOT_STARTUP | |
ERR_ADM_WIN_CORE_NO_RECORDING_DEVICE | |
ERR_ADM_WIN_CORE_NO_PLAYOUT_DEVICE | |
ERR_ADM_WIN_WAVE_INIT | |
ERR_ADM_WIN_WAVE_INIT_RECORDING | |
ERR_ADM_WIN_WAVE_INIT_MICROPHONE | |
ERR_ADM_WIN_WAVE_INIT_PLAYOUT | |
ERR_ADM_WIN_WAVE_INIT_SPEAKER | |
ERR_ADM_WIN_WAVE_START_RECORDING | |
ERR_ADM_WIN_WAVE_START_PLAYOUT | |
ERR_ADM_NO_RECORDING_DEVICE | 1359: Audio Device Module: No recording device exists. |
ERR_ADM_NO_PLAYOUT_DEVICE | 1360: Audio Device Module: No playback device exists. |
ERR_VDM_CAMERA_NOT_AUTHORIZED | 1501: Video Device Module: The camera is unauthorized. |
ERR_VDM_WIN_DEVICE_IN_USE | 1502: Video Device Module: The camera in use. |
ERR_VCM_UNKNOWN_ERROR | 1600: Video Device Module: An unknown error occurs. |
ERR_VCM_ENCODER_INIT_ERROR | 1601: Video Device Module: An error occurs in initializing the video encoder. |
ERR_VCM_ENCODER_ENCODE_ERROR | 1602: Video Device Module: An error occurs in encoding. |
ERR_VCM_ENCODER_SET_ERROR | 1603: Video Device Module: An error occurs in setting the video encoder. |
Output log filter level.