PubSub between Kubo and js-ipfs in the browser with WebRTC and WSS/WebTransport

Assuming that I’m building an app that relies on PubSub and I roughly have the following topology:

  • Assuming that the chrome browsers are behind NAT, will they still be able to establish a WebRTC connection with one another?
  • Assuming that all the WebRTC and WSS/WebTransport connections were established, can they all read and write to the same PubSub topic?
2 Likes
  1. Star relay at least doesn’t do TURN, from my experience sometimes it’ll work behind a NAT, but can’t be relied on.
  2. Yes, that’d be the expected behaviour from my understanding.
1 Like