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

The RTC Token value generated by the server is invalid #338

Open
SeowonPark001 opened this issue Aug 17, 2022 · 2 comments
Open

The RTC Token value generated by the server is invalid #338

SeowonPark001 opened this issue Aug 17, 2022 · 2 comments

Comments

@SeowonPark001
Copy link

SeowonPark001 commented Aug 17, 2022

Hello.

I am currently using the 1to1 video call kotlin project as an Android app.
As specified in this READ ME, I generated a temporary RTC Token from the Agora dashboard and ran the project using this token value, and it seems to work well. (Because the camera is working.)

However, my project requires the client to issue channelName every time, so I need to create a different RTC Token every time on Node.js server.
So I followed the token generation on the server specified in this READ ME.
What I ran is a project to create an RTC Token on the Node.js server.
I modified all the values of app ID, app Certificate, channelName, and uid (and other tutorial process as well) according to the READ ME of Github page mentioned above, and succeeded in creating RTC Token using RTC Token Builder.

However, the token created in this way does not appear to be effective.
I applied this token value to my project's function joinChannel() and it doesn't seem to work properly.
Because the camera (maybe even the microphone) does not turn on.
In this regard, there is no error message output in the Run/Build log window.
It's just that the camera isn't turning on.
Maybe there's no communication.

There is no error or problem with my project.
Because applying the temporary token value issued by the dashboard works well.

If you know the cause or solution of this situation, please give me an answer regarding this problem.

I am desperate for help in solving this problem.
(I also want to apply it to 1to1 as well as 1toN video call projects.)

Thank you.
(And sorry for my bad English)

@plutoless
Copy link
Contributor

@SeowonPark001 hi, i think there's a didJoinChannel callback. is that callback called?

@plutoless
Copy link
Contributor

also there should be a onError callback, is that callback called?

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