Skip to content

NAT traversal: Support for WebRTC transport in libp2p #1018

@aarshkshah1992

Description

@aarshkshah1992

Please see #188 for some historical discussions and motivations for this issue.

  • A WebRTC transport will enable better connectivity between js-libp2p and go- libp2p peers as the ONLY way to accomplish that right now is through websockets.
  • WebRTC also has some NAT traversal mechanisms built in (albeit, not as strong as what we can accomplish ourselves with QUIC hole punching)
  • We need to review https://github.com/mtojek/go-libp2p-webrtc-star and take it to completion.
  • We will have to change the use of “centralized” STAR signaling servers in the above to use relays instead for signalling. It will be something similar to relay/DCUtR: Add Direct Connection Upgrade through Relay protocol specs#173.

Some design notes on using relays instead of STAR signalling servers can be found at:
libp2p/js-libp2p#385 (comment)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions