Symptoms:
- I couldn't join the channel.
- When I run the TestHelloVideo scene in the SDK Demo, all I see is a white cube.
Cause:
Error 101 is returned when you use an invalid AppID; error 110 means the token is invalid.
When you:
- Create a test AppID, and supply this token to joinChannel; Agora returns error 101.
- Create a certificate mode AppID, but do not supply a token, or send an invalid token to joinChannel, Agora returns error 110.
Resolution:
When using the Agora SDK demo, the best practice is to create a new project with a Testing Mode AppID. The AppID alone is enough for authentication.
If you create an app in secured mode, calls to joinChannel must supply the App ID and a token. Either create a temporary token for your project in the Agora Console or set up a token server for authentication.
More Information:
Comments
0 comments
Please sign in to leave a comment.