Comments (10)
which uid did you set when you generate the token?
from tools.
i set 0 (zero)
from tools.
could you pls share your appid and generate a token which expires after 24 hours, so that i can try it out from my end?
from tools.
Yep
appId: ad8e2ff9eaec4faf9b5a4a2d833aa9a5
token: 007eJxTYPA2kTHZvcKX99eVtfckdt//lBxUzqWVECt7qs9tVri/6gEFhsQUi1SjtDTL1MTUZJO0xDTLJNNEk0SjFAtj48REy0TT2jyBlIZARgbhZAEmRgZGBhYgBvGZwCQzmGQBk+wMBTmpqak5xYwMBgDI/SIN
from tools.
@klestovVlad which channel are you generating with? btw this token also works on your android?
from tools.
@plutoless
i genenrating with channel: pleeels
and its work well on android
from tools.
@klestovVlad i'm not seeing any success channel join with this channel name in our backend, how do you know that you have successfully joined the channel?
btw maybe you can also share the code you used to generate token.
from tools.
@plutoless
We use PHP library for token generation, code is
$token = RtcTokenBuilder2::buildTokenWithUid($appID, $appCertificate, $channel, 0, RtcTokenBuilder2::ROLE_PUBLISHER, $expireTimeInSeconds, $expireTimeInSeconds);
from tools.
it seems that for the web you need to send the uid from the server along with the token and use it to connect. But this scheme does not work for android. For android it ionly works when uid is set to zero
from tools.
@klestovVlad For android it ionly works when uid is set to zero -> this uid refers to the one you used to generate token or the one you used to join channel?
from tools.
Related Issues (20)
- Which package should I use? when it cames to agora-access-token and agora-token. HOT 3
- [ruby] warning message of dynamic_key5.rb in Ruby 3.2 HOT 3
- feat: Support for ESM HOT 2
- agora-token: Buffer is not defined HOT 1
- java sdk maven**仓库没有更新 HOT 2
- Why c# code is using _uid as _channelName RTM Token generation c# HOT 2
- crypto.createHmac is not a function TypeError: crypto.createHmac is not a function HOT 1
- index.htmlpackage-ecosystem
- 能不能把不同语言的sdk分开,以便使用安装 HOT 3
- Problem in Building AccessToken2 || which library I have to use HOT 1
- Add API for synchronous token validation HOT 1
- python3和python2 下生成的Education Token是否可用? HOT 2
- AgoraRTCError CAN_NOT_GET_GATEWAY_SERVER with PHP 8.2 HOT 1
- go RtcTokenBuilder vs rtctokenbuilder2 HOT 1
- getStats() method is no longer supported HOT 2
- Error: error:0308010C:digital envelope routines::unsupported HOT 7
- 如何renewToken HOT 1
- AGORA TOKEN GENERATION ISSUES HOT 1
- Add README.md to Provide Repository Description HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tools.