WebRTC for NodeJS
Chromium
webrtc-native is using WebRTC from chromium project. code is compiled with branch master.
Install
npm install webrtc-native --save
Compatibility x64
NodeJS / Io.JS | Windows 8.1 | OSX | Ubuntu 14.04 |
---|
IoJS-v2.3.2 | Old Release | x | x |
IoJS-v3.3.1 | Old Release | x | x |
NodeJS-v0.10.38 | Old Release | x | - |
NodeJS-v0.12.5 | Old Release | x | - |
NodeJS-v4.2.1 | - | x | x |
NodeJS-v4.3.2 | - | x | x |
NodeJS-v4.4.0 | - | x | x |
NodeJS-v5.0.0 | - | x | x |
NodeJS-v5.1.1 | - | x | x |
NodeJS-v5.2.0 | - | x | x |
NodeJS-v5.3.0 | - | x | x |
NodeJS-v5.4.1 | - | x | x |
NodeJS-v5.5.0 | - | x | x |
NodeJS-v5.6.0 | - | x | x |
NodeJS-v5.7.1 | - | x | x |
NodeJS-v5.8.0 | - | x | x |
Features | Windows 8.1 | OSX | Ubuntu 14.04 |
---|
Audio Capture | Untested | x | Untested |
Camera Capture | Untested | - | Untested |
Dtls-Srtp DataChannels | Untested | x | x |
RTP DataChannels | Untested | x | x |
Video Streaming | Untested | - | Untested |
Audio Streaming | Untested | x | Untested |
Video Recording from MediaStream | Unimplemented | Unimplemented | Unimplemented |
Audio Recording from MediaStream | Unimplemented | Unimplemented | Unimplemented |
TODO
- Add ARM support (BeagleBone, Raspberry Pi)
API
Usage
var WebRTC = require('webrtc-native');
- Returns array of available device inputs
WebRTC.RTCGarbageCollect()
- Notify V8 Engine to attempt to free memory.
WebRTC.setDebug(boolean)
- Enable / Disable WebRTC log messages
Build from source
git clone https://github.com/vmolsa/webrtc-native
cd webrtc-native
export BUILD_WEBRTC=true
npm install
Prerequisite software
Windows
You must build with Visual Studio 2013 Update 4, no other versions are supported.
You must have Windows 7 x64 or later. x86 OSs are unsupported.
You must run "npm install" with administrator privileges.
OS X
XCode 3.0 or higher
Linux (Ubuntu, Fedora, ...)
Checkout prerequisites