-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enabling WebRTC Transport in Browser #153
Comments
Maybe I missed it, but did you fix the problems that made webRTC not work before - if I remember correctly (and its possible I don't) it was a problem with JS-IPFS needing lots of connections and webRTC having very high per-connection overhead. |
I believe it should be partially addressed: js-ipfs added support for libp2p's ConnectionManager, which enables us to set limits on the number of connections maintained by js-ipfs. AFAIK we are still lacking primitives for controlling the number of connections per transport. |
Why do you need getRemoteCertificates? Can't PeerConnection handle both stream muxing and encryption:
|
Work towards enabling WebRTC transport in Kubo is planned/tracked in ipfs/kubo#9724 |
Current Status
Goals
Transport that does not require hardcoding centralized signaling server to work and is stable enough to be enabled by default in JS IPFS.
RTCDtlsTransport API: getRemoteCertificates could in theory let webrtc handle encryption & stream muxing in the browser. Unfortunately it is not supported by Firefox.. yet.
Historical IPFS Work
js-libp2p-webrtc-star - libp2p WebRTC transport that includes a discovery mechanism provided by the signalling-starExternal Work
transfer-datachannel-service-worker.https.html
https://wpt.fyi/results/webrtc-extensions?label=experimental&label=master&alignedReferences
The text was updated successfully, but these errors were encountered: