Closed neilyoung closed 6 months ago
Update: If I set my uid to 0 (which means don't care, I think), my generated token is accepted. I'm now getting all the time a new ID.
sorry i saw you reopen the issue. does the issue persists?
No, thanks for asking. I was tricked by the fact, that a token with "valid" UID (!= 0) needs to be uniquely used in the "room".
Thanks
First, I'm patching around in a Vue app, currently not exactly knowing, what I'm doing.
The (inherited) source code contains lines like this:
The join works and later on the code continues to subscribe to a stream, magically published by -- I need to say -- "somebody else", because that "somebody else" is some code in a DJI Pilot2 app, which is NOT accessible to me.
At least the join works with the temp token from the Agora console and the subscribe too. The userID used by the publisher is 123456 (number), no idea, where this is taken from.
Now I started to generate my own token using JS code. I already managed to join with this token, but I don't currently get the role of the UID in the token.
I currently have no idea anymore, how to make my tokens work.
Do you?