ipfs / in-web-browsers

Tracking the endeavor towards getting web browsers to natively support IPFS and content-addressing
https://docs.ipfs.tech/how-to/address-ipfs-on-web/
MIT License
349 stars 29 forks source link

Enabling WebRTC Transport in Browser #153

Open lidel opened 5 years ago

lidel commented 5 years ago

This issue tracks what needs to happen before we enable WebRTC transport in JS-IPFS by default. It also acts as an entry point to existing resources in other repos.

Current Status

Goals

Historical IPFS Work

External Work

References

mitra42 commented 5 years ago

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.

lidel commented 5 years ago

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.

backkem commented 4 years ago

Why do you need getRemoteCertificates? Can't PeerConnection handle both stream muxing and encryption:

lidel commented 1 year ago

Work towards enabling WebRTC transport in Kubo is planned/tracked in https://github.com/ipfs/kubo/issues/9724