I am looking for a webrtc implementation for node.js
to transmit data from a nodeJS client to another webRTC peer.
So in my case the nodejs application is not the server but a client.
Does such a node module exist?
It's a WebRTC server implemented in NodeJS. You can install it just like any npm package and use along with rest of your implementation.
WebRTC, which stands for Web Real-Time Communication, is a protocol that provides a set of rules for bidirectional and secure real-time, peer-to-peer communication for the web.
Node. js is a serverside application where you run javascript on the server. What you want to do is use the require function on the client. Your best bet is to just write the require method yourself or use any of the other implementations that use a different syntax like requireJS.
You can use WebRTC with a node server, but WebRTC is really a protocol for persistent communication between two clients. Using socketIO will set up a persistent connection between a client and your server.
I came along the same problem and stumbled upon these two gems:
https://github.com/helloIAmPau/node-rtc Sadly it is lacking any documentation.
However https://github.com/js-platform/node-webrtc seems more reliable to me.
How about simple-peer
and rtc-everywhere
?
https://github.com/feross/simple-peer
https://github.com/contra/rtc-everywhere
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With