Giter Site home page Giter Site logo

Comments (3)

plutoless avatar plutoless commented on June 22, 2024

-7 means the sdk has not been initialized properly. could you pls show us your minimal reproducible project or relevant source code?

from agora-unity-quickstart.

Nelsonlala avatar Nelsonlala commented on June 22, 2024

hi, I redownload the SDK and it seems fine now.

But I am following the website: https://www.agora.io/en/blog/connecting-to-agora-with-tokens-using-unity/

to use the dynamic fetch token. however, I would like to use this feature in the WebGL platform.following this sdk: https://github.com/AgoraIO-Community/Agora_Unity_WebGL

and i try the dynamic token example scene there and it's not working (token client that one ). then i try to implement the script in this sdk to the WebGL sdk but now it's become so messy.

and facing two errors:

  1. Assets\API-Example\tokenchannel\TokenChannel.cs(67,13): error CS7036: There is no argument given that corresponds to the required formal parameter 'newToken' of 'TokenChannel.FetchToken(string)'

  2. Assets\API-Example\tokenchannel\TokenChannel.cs(126,20): error CS7036: There is no argument given that corresponds to the required formal parameter 'options' of 'IRtcEngine.JoinChannel(string, string, string, uint, ChannelMediaOptions)'

ANY suggestion to solve the problem!!

from agora-unity-quickstart.

icywind avatar icywind commented on June 22, 2024

@Nelsonlala I didn't notice your issue until today. Hope this can still help. For any WebGL issue you should go to the WebGL repo to post there. We have built an example on how to use token in its included API-Examples. Please take a look.

from agora-unity-quickstart.

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.