Gun: Integrate WebRTC

Created on 29 May 2015  路  10Comments  路  Source: amark/gun

new

Most helpful comment

Currently under active development. You can find it here. So far, it's automatically connecting RTC peers with and without ICE trickle, but the get/put drivers haven't been hooked up yet. There is also usability and configuration work to be done.

All 10 comments

Potentially we could look at webrtc-swarm for inspiration on how to add this. Or maybe even use it for establishing the initial p2p connections

@PsychoLlama has been working on learning WebRTC to add it to gun. Jesse, you should check out what ^ @RangerMauve just mentioned.

Thanks for the reference @RangerMauve! I'll check out...

I use WebRTC regularly for my job so if you have any questions feel free to ping me on the Gitter chat.

@RangerMauve there's a lot out there to learn. I might take you up on that :)

Due to changes between 0.2.x and 0.3.0 this has been temporarily put on hold.

Currently under active development. You can find it here. So far, it's automatically connecting RTC peers with and without ICE trickle, but the get/put drivers haven't been hooked up yet. There is also usability and configuration work to be done.

WebRTC isn't finished yet, but all issues relating to it should be moved to ^ its corresponding repos, not gun core. So that way each adapter can track its own bugs. So gonna close here. Thanks!

Any news on this? Repo from @PsychoLlama seems abbandoned. Did somebody else tried it with newer version or gun?

All WebRTC libraries we've used are inconsistent, fail frequently, and don't work very well.

However, somebody recently showed us EasyRTC (https://github.com/priologic/easyrtc) which so far I've had good/reliable experience with.

Here is an example transport adapter, very small, only ~100LOC: https://github.com/amark/gun/blob/master/src/adapters/websocket.js

@iBobik we'd love it if you could help contribute a WebRTC adapter!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

viet picture viet  路  7Comments

nolotus picture nolotus  路  3Comments

bugs181 picture bugs181  路  3Comments

TimeTravelersHackedMe picture TimeTravelersHackedMe  路  6Comments

ivkan picture ivkan  路  6Comments