Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

webrtc transport #27

Open
AdrianRossouw opened this issue Sep 14, 2014 · 6 comments
Open

webrtc transport #27

AdrianRossouw opened this issue Sep 14, 2014 · 6 comments

Comments

@AdrianRossouw
Copy link
Contributor

we discussed wanting to enable graft/jschan over webrtc data channels too. this issue is to collect some of the related concepts.

@AdrianRossouw
Copy link
Contributor Author

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

@AdrianRossouw
Copy link
Contributor Author

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

@mcollina
Copy link
Contributor

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).

@feross
Copy link

feross commented Sep 15, 2014

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

@mcollina
Copy link
Contributor

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

@feross
Copy link

feross commented Sep 15, 2014

yep!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants