Giter Site home page Giter Site logo

Comments (6)

plutoless avatar plutoless commented on July 16, 2024

token是没有空格或者换行的,试试去掉换行或者空格看看

from tools.

dio17337548611 avatar dio17337548611 commented on July 16, 2024

token是没有空格或者换行的,试试去掉换行或者空格看看
我这边后台坚持说这是他们生成的原始token,这个是他们的代码 箭头中的常量 值是1
image
下边是他们生成的原始token:
image
第一token 可以正常使用
第二个token就不行了 感觉像是有了个回车 换行一样。
大神 我们这个要怎么拯救啊。。。

from tools.

plutoless avatar plutoless commented on July 16, 2024

image
我用 https://github.com/AgoraIO/Tools/tree/master/DynamicKey/AgoraDynamicKey/go/sample/RtcTokenBuilder 的示例代码跑,并没有空格

from tools.

dio17337548611 avatar dio17337548611 commented on July 16, 2024

image
我用 https://github.com/AgoraIO/Tools/tree/master/DynamicKey/AgoraDynamicKey/go/sample/RtcTokenBuilder 的示例代码跑,并没有空格

好的 我让他们试下

from tools.

dio17337548611 avatar dio17337548611 commented on July 16, 2024

image
我用 https://github.com/AgoraIO/Tools/tree/master/DynamicKey/AgoraDynamicKey/go/sample/RtcTokenBuilder 的示例代码跑,并没有空格

大神 这个uid可以是5位的随机数么
image
他这个方法:
AgoraRtcEngine.joinChannel(token, bean.channel.trim(), null, 2882341273);

from tools.

plutoless avatar plutoless commented on July 16, 2024

uid可以是uint32范围内的任意数,但算token的时候要确保token的channel和uid和实际加入的一致

from tools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.