libp2p/js-libp2p

Tracking Issue - WebRTC direct in Node.js

2color opened this issue · 2 comments

Background

WebRTC-direct is currently only supported in browsers as mentioned in package.

This is a tracking issue for adding support for WebRTC-direct in Node.js, which would allow browsers to dial Node.js directly (without circuit relay and signalling) without needing for a TLS certificate as in the case of WebSockets.

Dependencies

This require changes to both https://github.com/murat-dogan/node-datachannel and https://github.com/paullouisageneau/libdatachannel to allow SDP Munging.

Related PRs/issues:

There is good news when all of the above PRs are applied:

image

I am trying to use webRTC in an exclusive node.js environment (no browser nodes). I created issue #2702 and wanted to link to it here, as it might be relevant to this discussion.