Comments (13)
AgoraRTC.js:2 18:23:13:459 Agora-SDK [ERROR]: [23EF4] User join failed [ERR_NO_AUTHORIZED]
使用H5端测试出现该错误
from tools.
生成的方式可以发我看一下吗
from tools.
使用的就是提供的例子,H5的版本是v2.8.0
`public class RtcTokenBuilderSample {
static String appId = "";
static String appCertificate = "";
static String channelName = "7d72365eb983485397e3e3f9d460bdda";
static String userAccount = "2082341273";
static int uid = 2082341273;
static int expirationTimeInSeconds = 3600;
public static void main(String[] args) throws Exception {
RtcTokenBuilder token = new RtcTokenBuilder();
int timestamp = (int)(System.currentTimeMillis() / 1000 + expirationTimeInSeconds);
String result = token.buildTokenWithUserAccount(appId, appCertificate,
channelName, userAccount, Role.Role_Publisher, timestamp);
System.out.println(result);
result = token.buildTokenWithUid(appId, appCertificate,
channelName, uid, Role.Role_Publisher, timestamp);
System.out.println(result);
}
}`
from tools.
@Leo-LiJun 你加入频道的时候,uid指定的也是2082341273 吗?
from tools.
加入的频道也是7d72365eb983485397e3e3f9d460bdda 吗?
from tools.
是的,临时的token可以。
from tools.
@plutoless 是否有实时交流反馈的群或者账号?
from tools.
@Leo-LiJun 你可以找一下客户支持,可以的话初始化sdk和加入频道的代码也发一下
from tools.
@plutoless 这边使用的都是直接从官网下载的例子,H5是之前官网下载的没改过,生成token是直接用github上下载的,然后修改appId和appCertificate进行生成token.
from tools.
@Leo-LiJun 能不能用java算个token发我下?
from tools.
@plutoless 006bc7e6869bc2d4381aaa07aab711f123dIADpI6sjb9fqRfBwESh3HOMC9qgPWg0qIGRXbAOK61X7F7dIfRBPAoleIgD8vemj23mmXQQAAQBrNqVdAgBrNqVdAwBrNqVdBABrNqVd
from tools.
@Leo-LiJun 不好意思回复晚了,我们尽快调查一下,尽快给您结论
from tools.
from tools.
Related Issues (20)
- issue with RTC token on the web HOT 10
- 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.