Code Monkey home page Code Monkey logo

Comments (14)

meimosor avatar meimosor commented on September 28, 2024

image
image

from flat.

hyrious avatar hyrious commented on September 28, 2024

It seems rtcEngine is not defined on desktop app when join the room.

this.rtcEngine = window.rtcEngine;
this.rtcEngine.on("tokenPrivilegeWillExpire", this.renewToken);

I didn't reproduce this error on my machine. @BlackHole1 can you investigate it?

from flat.

BlackHole1 avatar BlackHole1 commented on September 28, 2024

@meimosor Have you refreshed your classroom page?

from flat.

meimosor avatar meimosor commented on September 28, 2024

@meimosor Have you refreshed your classroom page?

No, as long as you click to join the room, this error will be reported immediately

from flat.

BlackHole1 avatar BlackHole1 commented on September 28, 2024

did you launch it in a development environment, or did you use our built application?

from flat.

meimosor avatar meimosor commented on September 28, 2024

did you launch it in a development environment, or did you use our built application?

I pulled the main branch source code directly to run, launch it in a development environment.

from flat.

BlackHole1 avatar BlackHole1 commented on September 28, 2024

I think I know the problem, under windows we can only use 32-bit nodejs, because agora-electron-sdk doesn't support 64-bit nodejs

Please try using:

nvm install 16.4.1 32
nvm use 16.4.1 32
yarn run bootstrap

When running these commands, remember to synchronize the most recent code

from flat.

hyrious avatar hyrious commented on September 28, 2024

because agora-electron-sdk doesn't support 64-bit nodejs

Not exactly, currently it uses the latest agora sdk and x64 for both macos and windows OS.

from flat.

BlackHole1 avatar BlackHole1 commented on September 28, 2024

We are still using 32-bit instead of 64-bit in our project. Because I have not received any news that it supports 64-bit

see:

arch: process.platform === "win32" ? "ia32" : "x64",

from flat.

meimosor avatar meimosor commented on September 28, 2024

Well, I run it in a 64-bit environment. Another question is, where is the document address of the project? If I want to run on the web, which project should I pull and what are the steps?

from flat.

BlackHole1 avatar BlackHole1 commented on September 28, 2024

we are still in the stage of refining the project and do not have particularly much time to write the documentation.

The backend currently used in this project is also open source: https://github.com/netless-io/flat-server

as long as you can deploy the server, you can basically distribute your application to the Internet.

of course you can also use our server, because we have already prepared the configuration file for you: https://github.com/netless-io/flat/tree/main/config

from flat.

meimosor avatar meimosor commented on September 28, 2024

Thank you, I have run the backend and electron client. But how does the web end run, and which branch is it?

from flat.

hyrious avatar hyrious commented on September 28, 2024

The web part is in the web/flat-web folder, to run it from the root folder:

yarn workspace flat-web start

from flat.

meimosor avatar meimosor commented on September 28, 2024

alright, thank you very much

from flat.

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.