Build folder contains the node-webrtc binaries compiled for (on) armv71 architechture.
To use:
- place the
build
folder from this repo into thenode-webrtc
folder, i.e.:
cd ~
mkdir node-webrtc
wget https://github.com/js-platform/node-webrtc/archive/v0.0.59.tar.gz
tar -xzvf v0.0.59.tar.gz -C node-webrtc/ --strip-components=1
wget https://github.com/bfishman/node-webrtc-rpi-binaries/archive/1.0.tar.gz
cd node-webrtc/
tar -xvf ./../1.0.tar.gz --strip-components=1
- Now you can copy the
node-webrtc
folder and paste it under thenode_modules
folder of a node.js project. - From wihtin your node code simply call
require('node-webrtc')
and you're set.