Enumeration RtmConnectionState

Connection states between rtm sdk and agora server.

Enumeration Members

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.

connecting: 2

2: The SDK is connecting to the server.

disconnected: 1

1: The SDK is disconnected with server.

failed: 5

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

reconnecting: 4

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