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 DHT support #2

Closed
dave-hansen opened this issue Oct 21, 2013 · 4 comments
Closed

WebRTC DHT support #2

dave-hansen opened this issue Oct 21, 2013 · 4 comments

Comments

@dave-hansen
Copy link

Lets discuss the potential of DHT support. WebRTC has some pretty serious restrictions on data transferred and a bit of de-risking should be taken when planning.

How would the DHT features be delivered without UDP or some sort of hand-rolled proprietary, routing outside of the protocol spec?

@diffalot
Copy link

i believe we can change the specs, but implementation first. i suspect making WebSockets work over UDP is going to be a harder sell to W3C and partners, but it's still possible.

so, which would be best: adapting DHT to work over TCP, adapting WebSockets to work over UDP, or building an open source UDP <--> TCP proxy service?

@feross
Copy link
Member

feross commented Oct 25, 2013

The current plan is to run the DHT protocol over WebRTC, minus the UDP requirement. We'll just keep open connections to every peer in the DHT routing table. So, hopefully we can keep the modifications minor. Eventually, we hope that we can extend the spec to bridge the gap between normal and web clients.

@feross
Copy link
Member

feross commented Oct 27, 2013

Updated the readme file with more details on how we're doing DHT over WebRTC: eed07d7

@feross feross closed this as completed Oct 29, 2013
@feross feross changed the title DHT support and WebRTC restrictions WebRTC DHT support Dec 2, 2014
@feross
Copy link
Member

feross commented Dec 2, 2014

Let's use this issue for tracking WebRTC DHT support.

@lock lock bot locked as resolved and limited conversation to collaborators May 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants