3: The SDK is connected to the server and has joined a channel. You can now publish or subscribe to a track in the channel.
2: The SDK is connecting to the server.
1: The SDK is disconnected with server.
5: The SDK fails to connect to the server or join the channel.
4: The SDK keeps rejoining the channel after being disconnected from the channel, probably because of network issues.
Connection states between rtm sdk and agora server.