3: The connection between the SDK and Agora’s edge server is banned by Agora’s edge server.
13: The client IP address has changed, probably due to a change of the network type, IP address, or network port.
0: The SDK is connecting to Agora’s edge server.
2: The connection between the SDK and Agora’s edge server is interrupted.
6: The specified App ID is invalid. Try to rejoin the channel with a valid App ID.
7: The specified channel name is invalid. Try to rejoin the channel with a valid channel name.
8: The generated token is invalid probably due to the following reasons:
joinChannelmethod is different from the uid that you pass for generating the token.
4: The SDK fails to join the channel for more than 20 minutes and stops reconnecting to the channel.
1: The SDK has joined the channel successfully.
14: Timeout for the keep-alive of the connection between the SDK and Agora’s edge server. The connection state changes to:
5: The SDK has left the channel.
10: The user is banned by the server.
12: The token renews.
19: Join the same channel from different devices using the same user ID.
11: The SDK tries to reconnect after setting a proxy server.
9: The token has expired. Generate a new token from your server.
20: The number of hosts in the channel is already at the upper limit.
Generated using TypeDoc
Reasons for the connection state change.