Enumeration RTM_CONNECTION_STATE

Connection states between rtm sdk and agora server.

Enumeration Members

RTM_CONNECTION_STATE_CONNECTED: 3

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.

RTM_CONNECTION_STATE_CONNECTING: 2

2: The SDK is connecting to the server.

RTM_CONNECTION_STATE_DISCONNECTED: 1

1: The SDK is disconnected with server.

RTM_CONNECTION_STATE_FAILED: 5

5: The SDK fails to connect to the server or join the channel.

RTM_CONNECTION_STATE_RECONNECTING: 4

4: The SDK keeps rejoining the channel after being disconnected from the channel, probably because of network issues.