Skip to content

Enable WebRTC Transport #9724

Closed
Closed
@BigLep

Description

@BigLep

Done criteria

  1. libp2p's WebRTC transport is enabled by default.
  2. There are corresponding docs that describe how/why to use this.

Background

WebRTC provides another way for browsers to connect with the rest of the libp2p network (beyond WebTransport which is Chromium only at least as of 2023-03-14). We want to enable browser nodes to be able to communicate easily with other nodes in the network. To accomplish this we need a good amount of nodes in the network to have webtransport/webrtc listen addresses. Getting Kubo nodes having WebTransport listening by default is a good way to increase the number of nodes that browser nodes can connect to.

Preconditions

  1. go-libp2p WebRTC transport (WebRTC Direct transport implementation libp2p/go-libp2p#2337 ) is merged and released.

Notes about the work involved

  1. Documenting the browser/Kubo communication story is covered Document how to connect browser nodes with Kubo nodes using WebTransport ipfs-docs#1286
  2. Similar issues from when we did this for WebTransport:
  1. With WebTransport we first had this as experimental. This may change, but my current proposal is that we enable it by default from the start

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High: Likely tackled by core team if no one steps updif/hardeffort/weeksEstimated to take multiple weeks

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions