GithubHelp home page GithubHelp logo

Comments (8)

Chaphasilor avatar Chaphasilor commented on June 3, 2024 1

It uses socket.io as well, which might be useful. I'm not sure however if this will work nicely with the zipcall server.

Also, this doesn't seem to be decentralized, so implementing this would prevent zipcall from being fully dezentralized as well.

Maybe, depending on the license, we can take the whiteboard code and make the synchronization happen ourselves, peer-to-peer?
We could use WebRTC data streams for that, like the ones we use for live captions and chat and such...

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 3, 2024

That sounds really interesting but I guess it will require some time to implement that.

Currently we don't have that much time, but if you feel like implementing this, feel free to open a PR!

Or you could try looking for ready-made JavaScript Canvas libraries for that?

from decentralized-video-chat.

EddiesTech avatar EddiesTech commented on June 3, 2024

I found this: https://github.com/lovasoa/whitebophir
It's under GPL so I assume if I can find a way to implement it, it would work?

from decentralized-video-chat.

ianramzy avatar ianramzy commented on June 3, 2024

Yeah we could send data over a webRTC stream, I also don't love the UI of the repo you linked, I am sure we can find something better

from decentralized-video-chat.

hialvaro avatar hialvaro commented on June 3, 2024

Maybe this one can help. It's using WebRTC: https://github.com/feross/whiteboard

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 3, 2024

it's not being maintained any more :/

from decentralized-video-chat.

holtwick avatar holtwick commented on June 3, 2024

Maybe you find this example useful: https://github.com/holtwick/peer2school/blob/master/src/components/app-whiteboard.vue

It uses https://yjs.dev/ which is an amazing real time framework which will turn out being useful when tying to implement a whiteboard.

Also take a look at https://bigbluebutton.org/developers/ as an example for a whteboard that is quite mature.

And probably https://miro.com/ as the high-end ;)

from decentralized-video-chat.

Chaphasilor avatar Chaphasilor commented on June 3, 2024

Maybe you find this example useful: https://github.com/holtwick/peer2school/blob/master/src/components/app-whiteboard.vue

It uses https://yjs.dev/ which is an amazing real time framework which will turn out being useful when tying to implement a whiteboard.

Also take a look at https://bigbluebutton.org/developers/ as an example for a whteboard that is quite mature.

And probably https://miro.com/ as the high-end ;)

I think the first two are the most interesting, although I think yjs.dev won't integrate well with Zipcall, because there would be two parallel connection, and I don't know how easy it would be to send yjs.dev's traffic over Zipcall's WebRTC connection. It might be possible though.

The Vue component you've linked also looks promising, it also seems to be relatively dependency-free, so we might be able to reverse-engineer it to use vanilla JS or jQuery. Synching the canvas shouldn't be too problematic either, we could write any changes the user makes into an outgoing buffer that is emptied and transmitted every couple milliseconds. I might play around with this a bit later...

from decentralized-video-chat.

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.