Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

启动项目 error回调一直 110 #67

Open
FlameLip opened this issue Apr 5, 2021 · 1 comment
Open

启动项目 error回调一直 110 #67

FlameLip opened this issue Apr 5, 2021 · 1 comment

Comments

@FlameLip
Copy link

FlameLip commented Apr 5, 2021

error: code 110 -

@zhangtao1104
Copy link
Collaborator

错误原因:
initialize 传入的 appId 开启了鉴权,但是 joinChannel 的 token 不匹配,参考 官网流程,生成 token,拿 对应的 uid 和 channel 进去频道。

在 Agora 控制台中启用了 App 证书,但仍旧在代码里使用了 App ID。当项目启用了 App 证书,就必须使用 Token 鉴权。
生成 Token 时填入的 uid 字段,和用户加入频道时填入的 uid 不匹配。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants