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

部署到vancel后,一直停留在disconnect #6

Open
delong130 opened this issue Feb 6, 2024 · 3 comments
Open

部署到vancel后,一直停留在disconnect #6

delong130 opened this issue Feb 6, 2024 · 3 comments

Comments

@delong130
Copy link

请问大佬,是否只要在环境变量中设置这三个变量名为自己在livekit上相应的值,然后部署就可以了?

LIVEKIT_API_KEY
LIVEKIT_API_SECRET
LIVEKIT_URL

还是还有什么地方需要设置的?

我部署好之后,创建一个聊天室,设置名字进入后,上方显示Disconnected,没有别的界面了。和您提供的demo相比,没有出现聊天的窗口。

@delong130
Copy link
Author

打错,是 vercel 容器里部署。

@velor2012
Copy link
Owner

还需要设置NEXT_PUBLIC_LK_TOKEN_ENDPOINT,这个是请求token的接口地址,用.env.exmple里的默认值就行

@ddpopbb3
Copy link

ddpopbb3 commented Jul 7, 2024

还需要设置NEXT_PUBLIC_LK_TOKEN_ENDPOINT,这个是请求token的接口地址,用.env.exmple里的默认值就行

所以不需要改是吗?还是说需要在前面拼上 vercel的domain?

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