20: The SDK gives up the request due to too many requests.
1115: Audio device module: AudioRecord returns error. The SDK will automatically restart AudioRecord.
1101: Audio device module: A fatal exception occurs.
1112: Audio device module: AudioTrack fails to start up. A ROM system error occurs. We recommend the following options to debug:
1111: Audio device module: AudioRecord fails to start up. A ROM system error occurs. We recommend the following options to debug:
1109: The playback frequency is lower than 50. 0 indicates that the playback is not yet started. We recommend checking if you have created too many AudioTrack instances.
1108: Audio device module: The recording frequency is lower than 50. 0 indicates that the recording is not yet started. We recommend checking your recording permission.
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.
1022: Audio Device Module: An error occurs in initializing the loopback device.
1008: Audio Device Module: An error occurs in initializing the playback device.
1011: Audio Device Module: An error occurs in initializing the recording device.
1206: Audio device module: Cannot activate the Audio Session.
1201: Audio device module: The current device does not support audio input, possibly because you have mistakenly configured the audio session category, or because some other app is occupying the input device. We recommend terminating all background apps and re-joining the channel.
1210: Audio device module: Fails to initialize the audio device, normally because the audio device parameters are wrongly set.
1213: Audio device module: Fails to re-initialize the audio device, normally because the audio device parameters are wrongly set.
1214: Fails to re-start up the Audio Unit, possibly because the audio session category is not compatible with the settings of the Audio Unit.
1006: Audio Device Module: An error occurs in using the Java resources.
1027: Audio Device Module: No recording permission exists. Check if the recording permission is granted.
1360: Audio Device Module: No playback device exists.
1359: Audio Device Module: No recording device exists.
1018: Audio Device Module: Fails to record.
1033: Audio device module: The device is occupied.
1015: Audio Device Module: A playback error occurs. Check your playback device and try rejoining the channel.
1017: Audio Device Module: A recording error occurs.
1007: Audio Device Module: An error occurs in setting the sampling frequency.
1023: Audio Device Module: An error occurs in starting the loopback device.
1009: Audio Device Module: An error occurs in starting the playback device.
1012: Audio Device Module: An error occurs in starting the recording device.
1010: Audio Device Module: An error occurs in stopping the playback device.
1013: Audio Device Module: An error occurs in stopping the recording device.
1314: Audio device module: An audio driver abnormality occurs. Solutions:
1311: Audio device module: Insufficient system memory or poor device performance. Solutions: Reboot the system or replace the device.
1319: Audio device module: Insufficient system memory or poor device performance. Solutions: Reboot the system or replace the device.
1301: Audio device module: An audio driver abnomality or a compatibility issue occurs. Solutions: Disable and restart the audio device, or reboot the system
1306: Audio device module: A playout driver abnomality or a compatibility issue occurs. Solutions: Disable and restart the audio device, or reboot the system.
1307: Audio device module: No audio device is available. Solutions: Plug in a proper audio device.
1303: Audio device module: A recording driver abnomality or a compatibility issue occurs. Solutions: Disable and restart the audio device, or reboot the system.
1323: Audio device module: No audio playout device is available. Solutions: Plug in a proper playback device.
1322: Audio device module: No audio sampling device is available. Solutions: Plug in a proper recording device.
1320: Audio device module: An audio driver abnormality occurs. Solutions:
1309: Audio device module: An audio driver abnomality or a compatibility issue occurs. Solutions: Disable and restart the audio device, or reboot the system.
1351: Audio device module: An audio driver abnormality or a compatibility issue occurs. Solutions:
1354: Audio device module: An audio driver abnormality occurs. Solutions:
1355: Audio device module: An audio driver abnormality occurs. Solutions:
1353: Audio device module: An audio driver abnormality occurs. Solutions:
1356: Audio device module: An audio driver abnormality occurs. Solutions:
1358: Audio device module: An audio driver abnormality occurs. Solutions:
1357: Audio device module: An audio driver abnormality occurs. Solutions:
19: Resources are occupied and cannot be reused.
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.
115: The bitrate of the sent data exceeds the limit of 6 Kbps when the user calls the sendStreamMessage method.
6: The buffer size is not big enough to store the returned data.
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.
123: The client is banned by the server.
111: The internet connection is interrupted. This applies to the Agora Web SDK only.
112: The internet connection is lost. This applies to the Agora Web SDK only.
120: Decryption fails. The user may have used a different encryption password to join the channel. Check your settings or try rejoining the channel.
130: Encryption is enabled when the user calls the addPublishStreamUrl method (CDN live streaming does not support encrypted streams).
1: A general error occurs (no specified reason).
21: In Windows, specific firewall settings can cause the SDK to fail to initialize and crash.
101: The specified App ID is invalid. Please try to rejoin the channel with a valid App ID.
2: An invalid parameter is used. For example, the specific channel name includes illegal characters.
102: The specified channel name is invalid. Please try to rejoin the channel with a valid channel name.
134: The user account is invalid.
17: The request to join the channel is rejected.
18: The request to leave the channel is rejected.
This error usually occurs:
1001: Fails to load the media engine.
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.
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.
7: The SDK is not initialized before calling this method.
113: The user is not in the channel when calling the method.
3: The SDK module is not ready. Possible solutions:
4: The SDK does not support this function.
9: No permission exists. Check if the user has granted access to the audio or video device.
103: Fails to get server resources in the specified region. Please try to specify another region when calling init .
0: No error occurs.
151: CDN related errors. Remove the original URL address and add a new one by calling the removePublishStreamUrl and addPublishStreamUrl methods.
156: The format of the RTMP stream URL is not supported. Check whether the URL format is correct.
154: An error occurs in Agora's streaming server. Call the addPublishStreamUrl method to publish the streaming again.
153: The host manipulates other hosts' URLs. Check your app logic.
155: The server fails to find the stream.
152: The host publishes more than 10 URLs. Delete the unnecessary URLs before adding new ones.
5: The request is rejected.
22: The application uses too much of the system resources and the SDK fails to allocate the resources.
119: Switching roles fail. Please try to rejoin the channel.
114: The size of the sent data is over 1024 bytes when the user calls the sendStreamMessage method.
1002: Fails to start the call after enabling the media engine.
1004: Fails to start the video rendering module.
117: The data stream transmission timed out.
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.
116: Too many data streams (over 5 streams) are created when the user calls the createDataStream method.
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.
1602: Video Device Module: An error occurs in encoding.
1601: Video Device Module: An error occurs in initializing the video encoder.
1603: Video Device Module: An error occurs in setting the video encoder.
1600: Video Device Module: An unknown error occurs.
1501: Video Device Module: The camera is unauthorized.
127: Incorrect watermark file information.
128: Incorrect watermark file data format.
124: Incorrect watermark file parameter.
125: Incorrect watermark file path.
126: Incorrect watermark file format.
129: An error occurs in reading the watermark file.
Generated using TypeDoc
Error code.