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

Token is Invalid #94

Closed
gkapellmann opened this issue Aug 24, 2022 · 2 comments
Closed

Token is Invalid #94

gkapellmann opened this issue Aug 24, 2022 · 2 comments

Comments

@gkapellmann
Copy link

Well, as the title says, I followed the instructions of advance demo and I get: RTC Error:110, msg: The Token is invalid

I have created two apps, one with and one without certificate enabled and nothing changes.

In the demo MainScene, the gamecontroller, there is no place to add the "token".

@plutoless
Copy link
Contributor

https://github.com/AgoraIO/Agora-Unity-Quickstart/blob/master/API-Example-Unity/Assets/API-Example/examples/basic/JoinChannelVideo/HelloVideoAgora.cs
i assume the project without token is working for you - above link you can find the place in the c# source to add token value.

@gkapellmann
Copy link
Author

gkapellmann commented Sep 1, 2022

OK, this is a script in the API-Example-Unity, that is where I was lost.

I am trying to do an RTMP Stream, now I am getting this error:

OnRtmpStreamingStateChanged url: rtmp://a.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx, state: RTMP_STREAM_PUBLISH_STATE_FAILURE, code: RTMP_STREAM_PUBLISH_ERROR_INVALID_APPID

I have enabled Media push, so I am a bit stuck in what else I am missing.

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