js-libp2p
js-libp2p copied to clipboard
WebRTC streaming performance
The performance dashboard shows that the median streaming performance of WebRTC in Node.js is an order of magnitude slower than TCP.
We should look into why this is.
Support for WebRTC is provided by node-datachannel (we are using a temporary fork at https://github.com/ipshipyard/js-node-datachannel until https://github.com/murat-dogan/node-datachannel/pull/256 is merged).
node-datachannel uses libdatachannel which then uses libjuice so the bottleneck is in there somewhere.
Hey @achingbrain I am new to libp2p but want to learn and contribute to this issue can you please assign me this issue
Thanks for your interest. Please experiment locally and open a PR with your solution. I do not wish to put other people off tackling this issue so I will not assign anyone.
@achingbrain i would like to start working on this issue. If this issue is still valid, I can have a pr ready to review in the coming days