You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Richard Cartwright 685aa43362
Ensure it is possible to create a debug build for Windows (#691)
2 years ago
.circleci Test with Node 14 (#617) 3 years ago
docs Ensure it is possible to create a debug build for Windows (#691) 2 years ago
karma Try fixing Karma server another way 3 years ago
lib iceevent target element forgotten events (#649) 2 years ago
npm Separate develop/publish package.json files 4 years ago
scripts Updates to M87 (#661) 2 years ago
src Updates to M87 (#661) 2 years ago
test Updates to M87 (#661) 2 years ago
.clang-tidy Fix more things 4 years ago
.eslintrc Add RTCIceTransport tests 4 years ago
.gitignore Extract example app (#500) 4 years ago
.gitmodules More fixes 4 years ago
.iwyu.imp Broken: Remove all nan, v8, and uv 4 years ago
AUTHORS This commit resolves #354 5 years ago
CHANGELOG.md [publish binary] wrtc@0.4.6 3 years ago
CMakeLists.txt Ensure it is possible to create a debug build for Windows (#691) 2 years ago
LICENSE.md Appease IWYU 4 years ago
NodeJS.cmake Enable electron build. Fix windows webrtc download (#473) 4 years ago
README.md Updates to M87 (#661) 2 years ago
THIRD_PARTY_LICENSES.md Prepare for v0.3.0 (#445) 4 years ago
appveyor.yml Updates to M87 (#661) 2 years ago
package.json Replace node-pre-gyp with supported version (#694) 2 years ago

README.md

    

NPM macOS/Linux Build Status Windows Build status

node-webrtc is a Node.js Native Addon that provides bindings to WebRTC M87. This project aims for spec-compliance and is tested using the W3C's web-platform-tests project. A number of nonstandard APIs for testing are also included.

Install

npm install wrtc

Installing from NPM downloads a prebuilt binary for your operating system × architecture. Set the TARGET_ARCH environment variable to "arm" or "arm64" to download for armv7l or arm64, respectively. Linux and macOS users can also set the DEBUG environment variable to download debug builds.

You can also build from source.

Supported Platforms

The following platforms are confirmed to work with node-webrtc and have prebuilt binaries available. Since node-webrtc targets N-API version 3, there may be additional platforms supported that are not listed here. If your platform is not supported, you may still be able to build from source.

Linux macOS Windows
armv7l arm64 x64 x64 x64
Node 8
10
11
12
13
14
Electron 4
5

Examples

See node-webrtc/node-webrtc-examples.

Contributing

Contributions welcome! Please refer to the wiki.