4: The App ID is invalid.
3: Invalid login argument.
5: The token is invalid. Check whether you used the correct method to generate the token.
7: RESERVED FOR FUTURE USE
2: DEPRECATED
The login times out. The current timeout is ten seconds. You need to log in again after timeout.
6: The token has expired, and hence login is rejected. You need to generate a new token.
10: The call frequency of the login method exceeds the limit of two calls per second.
1: Common login failure.
8: The user has logged in to the same client. Possible reasons: The user has already logged in or is logging in the Agora RTM system, or the user has not called the logout method to leave the ABORTED state.