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

OpenLive can't run #58

Closed
iceshou opened this issue Jun 13, 2022 · 3 comments
Closed

OpenLive can't run #58

iceshou opened this issue Jun 13, 2022 · 3 comments

Comments

@iceshou
Copy link

iceshou commented Jun 13, 2022

我在 .env 中填入我的项目的appid和临时token,并且chaner name 也是对的。但是demo一直提示说token无效

image

@plutoless
Copy link
Contributor

@iceshou 您的token是怎么生成的呢
同样的token和uid,使用这个demo是否可以成功?
https://webdemo.agora.io/basicVideoCall/index.html

@iceshou
Copy link
Author

iceshou commented Jun 14, 2022

@iceshou 您的token是怎么生成的呢 同样的token和uid,使用这个demo是否可以成功? https://webdemo.agora.io/basicVideoCall/index.html

@plutoless 我就是在控制台生成的临时token。
你给我的这个地址中可以使用:
image

生成的token的方式:
image

@plutoless
Copy link
Contributor

那就说明token本身是好的,您方便在这里打个断点,看下参数传递是否和您设置的匹配吗?

localClient.join(config.channel, config.token)

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

3 participants