webRTC in node.js webRTC in node.js node.js node.js

webRTC in node.js


  1. NodeJs a simple mesh type media network.

    express module - web server to serve your html client

    socket.io - Signalling server to exchange SDP and ICE candidates

    Refer WebRTC-Example, webrtc-group-chat-example to write your own client and server model


  1. Kurento standalone server (MCU media network) not in Node but has an npm module for client side

    Refer Kurento


  1. NodeJS MediaSoup SFU media network

    Not sure of client model but refer MediaSoup API


I discovered wrtc version 0.0.60 it's ok, so just use that version and webRTC on node.js works


A lot of nodejs libs exists for webrtc. but they share one problem ... webrtc.node sometimes does not work on your machine and you have to recompile one for yourself to use.

I made a module that is a compination of other modules. The module is mainly the code of webrtc-native but the webrtc.node binary is built using script used in node-webrtc. That was useful to be as node-webrtc uses build-webrtc to compile the code and extract headers, and I find this handy.

It compiles and builds straight forward.... make sure you check the readme to find the tricks.