Skip to content

Conversation

@lat-murmeldjur
Copy link

This PR has two parts:

  • WebRTC addresses added in libp2p node setup
  • go-libp2p related dependencies' versions bumped to newer versions that make WebRTC connections work

WebRTC advantages:

  • Zero configuration needed for security, works from secure browser contexts even on android chrome
  • Functioning transport alternative for browser based nodes

WebRTC disadvantages:

  • 6-7 seconds before connections become usable (need to wait this much in browser node after dial but before initiating handshake towards the bee node)
  • Random limitations such as only available from browser tab but not from browser shared web worker

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

Successfully merging this pull request may close these issues.

1 participant