3: The connection between the SDK and Agora's edge server is banned by Agora's edge server.
13: The IP Address of SDK client has changed. i.e., Network type or IP/Port changed by network operator might change client IP address.
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 connection failed since Appid is not valid.
7: The connection failed since channel name is not valid.
8: The connection failed since token is not valid, possibly because:
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 CONNECTION_STATE_RECONNECTING.
5: The SDK has left the channel.
10: The connection is rejected by server.
12: When SDK is in connection failed, the renew token operation will make it connecting.
11: The connection changed to reconnecting since SDK has set a proxy server.
9: The connection failed since token is expired.
Generated using TypeDoc
Reasons for a connection state change.