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

实时视频通话agoraToken被encode之后导致报错appid和token不匹配 #18

Open
fdwszd123 opened this issue Aug 9, 2023 · 1 comment

Comments

@fdwszd123
Copy link

位置:src/components/livestream-agora.vue
在onMountend的时候
agoraPara.token = encodeURIComponent(agoraPara.token)encode了声网的token,好像是为了后面拼接url用,这样有个问题在join频道的时候,有些token里面的字符会被转义导致token错误,一直加入不了频道。

@fdwszd123
Copy link
Author

我怕影响到其他逻辑在join的时候又把这个token decode了一下

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

1 participant