Coder Social home page Coder Social logo

webrtc transport about jschan HOT 6 OPEN

graftjs avatar graftjs commented on August 31, 2024
webrtc transport

from jschan.

Comments (6)

AdrianRossouw avatar AdrianRossouw commented on August 31, 2024

Raynos has a data-channel module which seems to do some of what we need : https://github.com/Raynos/data-channel

Ampersand.js guys have a bunch of relevant modules/experience :
https://www.npmjs.org/package/rtcpeerconnection
https://www.npmjs.org/package/webrtc
https://www.npmjs.org/package/simplewebrtc

from jschan.

AdrianRossouw avatar AdrianRossouw commented on August 31, 2024

And there's all @feross' excellent work over on webtorrent :
https://github.com/feross/webtorrent

The most relevant of those would seem to be simple-peer:
https://github.com/feross/simple-peer

from jschan.

mcollina avatar mcollina commented on August 31, 2024

It should be easy to wire Graft services through https://github.com/feross/simple-peer#stream--peergetdatastream and https://github.com/GraftJS/jschan/tree/master/lib/stream (it's what we use for websockets anyway).

from jschan.

feross avatar feross commented on August 31, 2024

@mcollina yep, that should work! but let me know if you run into any issues and i'll do my best to help debug :)

from jschan.

mcollina avatar mcollina commented on August 31, 2024

@feross thanks! :). Just one question: that stream is binary by default, right?

from jschan.

feross avatar feross commented on August 31, 2024

yep!

from jschan.

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.