This topic describes common reasons why a client fails to join a channel and explains how to resolve these issues.
How to obtain the parameters required to join a channel
You must obtain the parameters required to join a channel from your AppServer. For more information, see Generate a token on the server-side.
How to obtain a sessionID
For RTS SDK versions earlier than 1.9, the sessionID field can be an empty string. This field is removed in version 1.9 and later.
Common error codes
| Error code | Description |
| 33620485 | Failed to join the channel: The token is invalid. Regenerate the channel authentication token (Token). For more information, see Use a token for authentication. |
| 33620483 | Failed to join the channel: The channel has expired. A channel is valid for 48 hours. Regenerate the channel authentication token (Token). For more information, see Use a token for authentication. |
该文章对您有帮助吗?