AgoraIO-Usecase / Video-Calling

Calling Interface + Connection Service on top of Agora RTM + RTC for Video Calling Example
MIT License
60 stars 43 forks source link

[OpenDuo-Web] Logon failure #33

Closed caobaloc12 closed 3 years ago

caobaloc12 commented 3 years ago

I clone and start the OpenDuo-Web but encounter this error: RTM:ERROR Error Code 5. The vendor enabled the dynamic key, but uses the static key My .env file already updated. REACT_APP_AGORA_APP_ID=my_app_id REACT_APP_AGORA_APP_TOKEN=my_temp_token REACT_APP_AGORA_LOG=true

yoreland commented 3 years ago

RTM currently don't support temp token on console. If it is for demo purpose only. Can you just use app id without token?

caobaloc12 commented 3 years ago

@yoreland thanks for the response. I removed the token in client login function:

//login uid
 login(uid) {
    this._uid = uid;
    return this._client.login({ uid })
      .then(() => {
        this.status = 'onLine'
     });
 }

now getting this error when starting a call

RTM:ERROR Error Code 102. The client is not logged in.
caobaloc12 commented 3 years ago

Turned out the app that I created was enabled the token. I created new one without token and it worked. Close this issue.