Git Product home page Git Product logo

Comments (13)

AnupamKris avatar AnupamKris commented on May 18, 2024 1

It works! Everything works as expected.. I'll try to create something with this as soon as I get home, or probably put an article on building a VC app with artico..

from artico.

matallui avatar matallui commented on May 18, 2024

Hey @AnupamKris! Thanks for trying out this project and reporting the issue.
Let me take a look and see if I can figure out how to fix it.

from artico.

matallui avatar matallui commented on May 18, 2024

@AnupamKris Try the latest packages v0.1.22 and let me know if that worked for you. Feel free to open issues for any other things you may find.

I'm actively working on this now, so any help testing is much appreciated.

from artico.

AnupamKris avatar AnupamKris commented on May 18, 2024

Yes, now it's installed! I'll try to test this very soon. Also, the call demo page is working now, it wasn't when I tried.

from artico.

AnupamKris avatar AnupamKris commented on May 18, 2024

I am not able to initialize the Artico class
index.mjs:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'signaling')
I see that it's not connecting to the signalling server. Does this library provide a default server like peerjs or should I host one?
Also the server example is a 404 🙃

from artico.

matallui avatar matallui commented on May 18, 2024

@AnupamKris I'm not seeing that specific error, but I do see it's failing to connect to the signaling server. That's because I had it setup to connect to localhost when NODE_ENV=development, which I realize is not good since most people will have that set during development. I do provide a public signaling server by default, just like PeerJS.

As for https://demo.artico.dev , I'm currently doing work there, so things are still pretty unstable as I'm actively working on this. I'm hoping to stabilize things in the next couple of weeks, as I get more time to work on the project.

Try v0.1.25 and let me know if it works now. Thank you for your patience!

from artico.

matallui avatar matallui commented on May 18, 2024

On a different note, if you find this project useful, please consider giving it a star. That will help getting visibility and possibly growing the project faster. Thank you!!

from artico.

matallui avatar matallui commented on May 18, 2024

@AnupamKris Awesome! Thanks again for the support.

The latest version should have the Room functionality as well. The demo seems to be working okay now, so give that a try as well if you're interested. Would love to get more feedback when you have some!

from artico.

AnupamKris avatar AnupamKris commented on May 18, 2024

Yup.. I saw the demo.. Imma try it right now.. Just to be clear, the room works like a mesh network right? can you explain how to setup the server, I want to create a uid for each user and don't want clashing ids. I tried running the server/index.ts it said listening but idk what to do next.

from artico.

matallui avatar matallui commented on May 18, 2024

@AnupamKris I intend to have a whole documentation website soon that should explain all the pieces and how it all works. Right now it's a little too soon for that, as I working at a fast pace to get the core implementation done.

But you are correct, right now a Room is a mesh between all its peers. As for peer IDs, when Artico connects to the signaling server, it generates a random ID (or you can pass one if you want) and tells the Server "this is the ID I'd like to use". If the ID is available, the server emits the open event with the assigned peer ID. If not, the server emits an error saying the ID is not available.

from artico.

matallui avatar matallui commented on May 18, 2024

If you want to setup your own server, just take a look at Artico's server app

from artico.

AnupamKris avatar AnupamKris commented on May 18, 2024

Hi, I don't know whether this is a temporary issue, so I am putting it here. The calls are not getting connected over the network, the on("call") is getting triggered but the on("open") is not working. I created a temporary application and still the same and condition is the same in the demo site too..

from artico.

matallui avatar matallui commented on May 18, 2024

This should be fixed on v0.1.29. Please give that a try and let me know!

Also, whenever you find new issues, feel free to create new issues, so we can keep track of them in here. Thanks again for reporting this @AnupamKris !

from artico.

Related Issues (2)

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.