libp2p / js-libp2p

The JavaScript Implementation of libp2p networking stack.
https://libp2p.io
Other
2.26k stars 436 forks source link

Tracking Issue - WebRTC direct in Node.js #2581

Open 2color opened 4 weeks ago

2color commented 4 weeks ago

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:

### Tasks
- [ ] https://github.com/paullouisageneau/libjuice/pull/243
- [ ] https://github.com/paullouisageneau/libdatachannel/pull/1172
- [ ] https://github.com/paullouisageneau/libdatachannel/pull/1201
- [ ] https://github.com/paullouisageneau/libdatachannel/pull/1204
- [ ] https://github.com/murat-dogan/node-datachannel/pull/257
- [ ] https://github.com/murat-dogan/node-datachannel/pull/256
- [ ] https://github.com/libp2p/go-libp2p/issues/2827
achingbrain commented 4 weeks ago

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

image