- I couldn't join the channel.
- When I run the TestHelloVideo scene in the SDK Demo, all I see is a white cube.
Error 101 is returned when you use an invalid AppID; error 110 means the token is invalid.
- 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.
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.
See the 'Connecting to Agora with Tokens' tutorial for more information.