This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.
Stable transports in the browser #1088
Closed
Description
- Version: 0.26.0
- Platform: Firefox Quantum / Chromium
- Subsystem: swarm, pubsub, transports
Type: Bug / Enhancement
Severity: High
Description:
There's a good amount of pitfalls with the js-ipfs transports in the browser today.
Bundled with 0.26.0 are:
libp2p-websockets
libp2p-webrtc-star
libp2p-railing
libp2p-webrtc-star
As in #950, today libp2p-webrtc-star
is crashing the browser.
Possible solutions:
- Connection Closing Connection Closing #962
Would be good to have, but has no implementation yet. libp2p-websocket-star
Bring libp2p-websocket-star to the Transports family! 🌟 libp2p/js-libp2p#122
Has seen a fair amount of work, but has open issues before it can be released.- Not using
libp2p-webrtc-star
.
This will mean you lose pubsub capabilities and run exclusively off of the bootstrap servers or manual connections to an IPFS daemon.